Commit Graph
7 Commits
Author SHA1 Message Date
NerdBlenderandNeil Lathwood a368a73825 newdevice: Added 3 Phase APC UPS Support issue #2733 & #5504 (#5558)
* Added 3 Phase APC UPS Support issue #2733

* Added 3 Phase APC UPS Support issue #2733 - v2

* Added 3 Phase APC UPS Support issue #2733 - v3

* Added 3 Phase APC UPS Support issue #2733 - v3

* Added 3 Phase APC UPS Support issue #2733 - v3.1

* Added 3 Phase APC UPS Support issue #2733 - v3.2

* Added 3 Phase APC UPS Support issue #2733 - v3.3

* Added 3 Phase APC UPS Support issue #2733 - v3.4

* Added 3 Phase APC UPS Support issue #2733 - v4

* Added 3 Phase APC UPS Support issue #2733 - v4.1

* Update apc.yaml
2017-05-05 13:16:46 +01:00
Neil LathwoodandTony Murray d4e8c54516 refactor: Tidy up sensor discovery (#5550)
* refactor: Tidy up sensor discovery

* more files

* removed uneeded files

* updated array check

* updates for linux/supermicro

* small changes

* Update linux.inc.php

* Add supermicro temps back to linux.inc.php

* No need for is_file on rfc1628.inc.php, it exists

* Revert rfc1628 change

* Fix whitespace...

* rebased

* fixed $valid data not being passed to new sensors() function
2017-02-03 06:39:38 -06:00
crcroandSøren Rosiak b867d3dd05 fix: apc load, runtime and current sensors (#4780)
fix: APC load, runtime and current sensors
2016-10-13 19:03:46 +03:00
Neil LathwoodandSøren Rosiak 6c324cd03e refactor: Improve sensors polling for performance increase (#4725)
refactor: Improve sensors polling for performance increase
2016-10-11 19:34:09 +03:00
Tony MurrayandNeil Lathwood 9284bc60ff Update code in includes to be PSR-2 compliant (#4220)
refactor: Update code in /includes to be psr2 compliant #4220
2016-08-28 18:32:58 +01:00
Todd Eddy 83d739b5ae apc discovery: Get a count of banks before pulling info
* On my device (AP7901 / AOS v3.9.0 / App v3.7.4) discovery would keep
  clobbering the bank and current sensor.  Looking in to it the oid
  should be used for current and not bank.  To fix this now it pulls
  a count of banks using the `rPDULoadDevNumBanks.0` oid. Per MIB that
  will return 0 if no banks are found.  In which case skip the bank
  detection.

* Also update PowerNet-MIB to v4.1.7 released 2015-08-05
2016-02-20 19:37:59 -05:00
laf b5d1155006 Updated discovery sensors module directory structure 2016-01-17 20:47:47 +00:00