Displaying 2 results from an estimated 2 matches for "apc_f_volt".
2010 Feb 02
1
Small patch to apcsmart driver
...#define APC_F_MINUTES 0x110000 /* Time in minutes */
#define APC_F_HOURS 0x120000 /* Time in hours */
+#define APC_F_REASON 0x130000 /* Reason of transfer */
#define APC_F_LEAVE 0 /* Just pass this through */
struct apc_vartab_t {
@@ -143,7 +144,7 @@
{ "input.transfer.high",
APC_F_VOLT, 'u' },
{ "input.transfer.reason",
- APC_POLL, 'G' },
+ APC_POLL|APC_F_REASON, 'G' },
{ "input.voltage.maximum",
APC_POLL|APC_F_VOLT, 'M' },
--- ./drivers/apcsmart.c.orig 2009-12-09 16:39:46.000000000 +0100
+++ ./drivers/apcsma...
2009 Jul 09
1
apcsmart and dual environmental sensors
...y adds a new ambient.temperature.dual reading (this applies to both
temperature and humidity):
--- nut-2.2.0/drivers/apcsmart.h.orig 2006-11-25 02:52:52.000000000
-0500
+++ nut-2.2.0/drivers/apcsmart.h 2009-06-10 09:54:18.000000000
-0400
@@ -156,6 +156,8 @@
APC_F_VOLT, 'o' },
{ "ambient.humidity", APC_POLL|APC_F_PERCENT, 'h' },
+ { "ambient.humidity.dual",
+ APC_POLL|APC_F_LEAVE, 'H' },
{ "ambient.humidity.alarm.maximum",...