Real time data pull from classics

Started by Nashville, June 26, 2016, 11:11:16 AM

Previous topic - Next topic

Nashville

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

TomW

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
Do NOT mistake me for any kind of "expert".

( ͡° ͜ʖ ͡°)


24 Trina 310 watt modules, SMA SunnyBoy 7.7 KW Grid Tie inverter.

I thought that they were angels, but much to my surprise, We climbed aboard their starship and headed for the skies

Syonyk

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.