Hi Gu
I would like to pull the data from my classics into a home automation program. Is this possible? I have heard about Modbus. Is this how this is done?
Thanks!
:D
Modbus is one way.
You can actually pull the registers via serial port,, also in a continuous stream.
Check the "Black Box" project on the forum. A search for "blackbox" should kick up some info on using Raspberry Pi or Cubieboards to monitor Classics over ethernet. Code can probably be adapted for other devices.
Tom
The easiest way to get data off a Classic for your own consumption is Modbus.
There's code for newmodbus and newmodbusd here: https://github.com/zoneblue/theblackboxproject/tree/master/source
The list of registers for a Classic, somewhat out of date, is here: http://www.midnitesolar.com/pdfs/classic_register_map_Rev-C5-December-8-2013.pdf
You can either "single shot" gather data with newmodbus, or use newmodbusd to gather into text files you can parse for your purposes.