A Forum run by Enthusiasts of MidNite Solar

The Open Source software/hardware corner => Raspberry PI => Topic started by: aviatordave on February 03, 2017, 03:39:53 PM

Title: MODDB for State of Charge
Post by: aviatordave on February 03, 2017, 03:39:53 PM
I am using a Raspberry PI to pull data off of my Midnite Classic. I am using the excellent Newmodbus. Is there a address to get the state of charge from the WhizBang JR?

Thanks,
David
Title: Re: MODDB for State of Charge
Post by: RossW on February 03, 2017, 05:42:18 PM
Which version of newmodbus (or from where?).
I think the last version I've released is 1.0.19

I believe 4373 is SoC and 4321 is the WBJR Current.
Title: Re: MODDB for State of Charge
Post by: TomW on February 04, 2017, 10:14:17 AM
Ross;

Speaking of Newodbus, any clues on modifying it to pull data from an SMA SunnyBoy Grid Tie inverter with it? Or any other method?  Most of their online docs are about their add on module but this inverter supposedly has it built in. SMA has not responded to my inquiries via email and phone support dropped my calls 3X times. Sadly, not all manufacturers are as responsive as The Midnite Solar team.

Thanks.

Tom
Title: Re: MODDB for State of Charge
Post by: aviatordave on February 11, 2017, 09:28:49 AM
Thanks for you help. That is indeed the correct address for SOC.

-David
Title: Re: MODDB for State of Charge
Post by: ClassicCrazy on February 23, 2017, 07:30:17 PM
Quote from: aviatordave on February 11, 2017, 09:28:49 AM
Thanks for you help. That is indeed the correct address for SOC.

-David

David
How do you make the connnection from the Pi to the Classic ?
thanks
Larry
Title: Re: MODDB for State of Charge
Post by: TomW on February 24, 2017, 09:28:06 AM
Quote from: ClassicCrazy on February 23, 2017, 07:30:17 PM

David
How do you make the connnection from the Pi to the Classic ?
thanks
Larry
I'm not David but;

Unless they changed it, newmodbus used ethernet.

You can read the raw data from the serial (USB) port once you tell The Classic to push the data out through it, as well.

Ethernet is much more elegant, however. And you don't need a USB cable to your device reading the registers, just the existing ethernet connection most have already.

Its been awhile but my feeble memory tells me that is how it worked.  ;)

Tom
Title: Re: MODDB for State of Charge
Post by: ClassicCrazy on February 24, 2017, 07:29:57 PM
Quote from: TomW on February 24, 2017, 09:28:06 AM
Quote from: ClassicCrazy on February 23, 2017, 07:30:17 PM

David
How do you make the connnection from the Pi to the Classic ?
thanks
Larry
I'm not David but;

Unless they changed it, newmodbus used ethernet.

You can read the raw data from the serial (USB) port once you tell The Classic to push the data out through it, as well.

Ethernet is much more elegant, however. And you don't need a USB cable to your device reading the registers, just the existing ethernet connection most have already.

Its been awhile but my feeble memory tells me that is how it worked.  ;)

Tom

I guess that makes sense  = modbus over IP  - that is how the Local Status app does it I suppose - and Grahams Classic Monitoring app. I know some people connect stuff up over the the serial port too - maybe just when they use Arduino's .

Larry