Added new sensor - Battery Charge. Added discover and polling for APC UPSes.

This commit is contained in:
mchasteen
2015-02-26 19:30:49 +00:00
committed by laf
parent 9864df0ff6
commit c1c26bf831
14 changed files with 124 additions and 1 deletions
+2 -1
View File
@@ -20,7 +20,8 @@ $supported_sensors = array('current' => 'A',
'power' => 'W',
'voltage' => 'V',
'temperature' => 'C',
'dbm' => 'dBm');
'dbm' => 'dBm',
'charge' => '%');
foreach ($supported_sensors as $sensor_type => $sensor_unit)
{