SNMP or XML feed from emonBase?

Hello,

I am considering setting up a emonBase, emonTX v3 setup to monitor energy usage in my house.  I have a portion of my house backed up with an inverter/charger battery backup system (http://www.kisaetechnology.com/products_swic_ic122055.php) and I intend to monitor the output of this system as well as overall power usage in the house.  I have a few computer systems attached to the inverter charger that I would like to be able to power off after a period of time running on battery, and I am investigating the network ups tools (NUT, http://www.networkupstools.org/) as a means of shutting items down when my house is running on battery.

NUT has the ability to communicate with an SNMP or XML enabled UPS.  So, my question is, how difficult would it be to write an SNMP or XML agent, which would run on the emonBase, to access the data that is being collected by the system?

Thank you,

Trevor

Hertog's picture

Re: SNMP or XML feed from emonBase?

SNMP can be quite easily expanded with shell scripts. see http://www.net-snmp.org/wiki/index.php/Tut:Extending_snmpd_using_shell_scripts

I guess it would be possible to use the API of emonCMS with a shell script triggered by a self defined MIB?

 

Regards,

GJR

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.