It is currently April 19th, 2024, 4:22 pm

UPS monitor

Share and get help with Plugins and Addons
51don
Posts: 2
Joined: December 2nd, 2009, 5:20 am

UPS monitor

Post by 51don »

I have a UPS built by OptiUPS. It has software called Sentinel Web for monitoring its status (input/output voltage/freq, battery level, temp, load level) and scheduling shutdowns and stuff. I'd love to get this functionality (the monitor, not the controls) into a Rainmeter plugin. How would I go about doing this? Does a program need something special in order to be accessible by a Rainmeter plugin? I'm not a programmer but I could work off existing examples (I have the source code for Rainmeter) and probably figure out what to do.

I think reading log files is out of the question as they are not in English, and are just a bunch of weird symbols. There is a remote access over http function, but it's unstable and crashed on me after about 10 minutes. It also requires you to login, even if you remove the password. The data is also not presented in text, but in images with Javascript.

I'm going to look into 3rd party UPS monitors which may be better suited for what I want.


Thanks for any tips/advice/help you can give.:)
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: UPS monitor

Post by Chewtoy »

Do you have a link to the software in question?
A google search for Sentinel Web gave a LOT of results... And to look for the one that's your software is, to put it real word, more timeconsuming than I have time for. :/

But a link to would be appreciated. :)
And don't dismiss the log-file just yet. There might be something in it that can be parsed, even though it all looks wierd.
Could you attach an example (a copy of it) ?
I don't think, therefore I'm not.
51don
Posts: 2
Joined: December 2nd, 2009, 5:20 am

Re: UPS monitor

Post by 51don »

http://www.opti-ups.com/Download/Software.aspx
It's the bottom one.

Well the log files can't be opened when the program is running. I guess a copy could be made every time Rainmeter wanted an update, but that'd involve writing to the disk every x seconds.

Here's the log from yesterday.
http://quitirl.com/0.pal
fdarty
Posts: 1
Joined: April 15th, 2010, 7:57 pm

Re: UPS monitor

Post by fdarty »

Hi,
I also use an UPS and would like monitoring it with Rainmeter.
It's an APC UPS and I actually monitoring it with APCUPSD (licensed under the GPL version 2).

The doc adress is :
http://www.apcupsd.com/manual/manual.html

I've seen that we can use an option CGI :
"building of the CGI programs that permit Web browser access to apcupsd data"

We can also use the command :
C:\apcupsd\bin\apcaccess status

but I don't know how to connect it to Rainmeter.

I didn't find any existing plugin yet.
Thx for your help.