search for: utilitycolor

Displaying 2 results from an estimated 2 matches for "utilitycolor".

2008 Mar 04
1
battery.temperature vs ups.temperature
The (2.2.1) upshid-ups driver reports battery.temperature rather than ups.temperature. Here's a quick patch to have it show up in the status page... --- clients/upsstats.c.DIST 2008-03-04 09:15:40.000000000 +0000 +++ clients/upsstats.c 2008-03-04 09:16:20.000000000 +0000 @@ -787,6 +787,11 @@ return 1; } + if (!strcmp(cmd, "BATTTEMP")) { +
2006 Feb 06
1
upsimage/upsstats: 3phase support
...obvious 3phase variables: - upsstats: * Adds IF/ELSE-awareness, and since the parser logic is rather limited this means that we now have IF, ELSE IF etc since all statements are and:ed. Examples in upsstats.html. * Adds IFEQ (IF Equal) * Adds IFBETWEEN (if a value is within bounds) * Removes UTILITYCOLOR, since it's now possible to "script" that. * Adds possibility to give a full path to upsstats/upsimage. This comes in handy when you call the CGI stuff by SSI from a parsed HTML page and want links to go to that HTML page and not the CGI:s directly. And possibly other uses. -...