Navitron Renewable Energy and Sustainability Forum

Energy/Electricity Storage and Use/Grid Connection => Off-Grid, Batteries & Inverters => Topic started by: jhinshel on November 03, 2016, 09:29:55 PM



Title: sunny island diy data logger
Post by: jhinshel on November 03, 2016, 09:29:55 PM
I am keen to develop a low cost datalogger to interface to my sunny island 5048. There are a few posts here and there that touch on this but they do not seem to outline what hardware is required. Is it possible to interface an arduino or raspberry pi directly to the sunny island? If so, it would be great to have some clear instructions about how to access the SOC data.


Title: Re: sunny island diy data logger
Post by: bautsche on November 03, 2016, 09:53:51 PM
...been meaning to work on this myself for a while now. But alas, not been high enough on my priority list.
So far, I download the SD card on a monthly basis and feed the data into a database on which I can then run reports.
Dirty but fast to implement and quick to change.
Eric


Title: Re: sunny island diy data logger
Post by: jhinshel on November 03, 2016, 10:01:01 PM
I'm planning to write some code for an arduino or raspberry pi and send data to a phone app but I am not sure what the communications protocol is for the sunny island. Any advice would be useful ...


Title: Re: sunny island diy data logger
Post by: rogeriko on November 03, 2016, 10:38:45 PM
To communicate with the sunny island you need a (search for a better price)

https://www.cclcomponents.com/sma-speedwire-data-module-retrofit-kit-for-si3-0m-4-4m-6-0h-8-0h?gclid=CjwKEAjwwOvABRC08aedoZ_lnTMSJACs_cbu3kpIrZX0M2Vsb_by0eAYv-b7oYX32X4kT5-m87vdBxoCM2nw_wcB

and the instructions

https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjtjMj4zI3QAhUCD8AKHY5jBw4QFggdMAA&url=http%3A%2F%2Fwww.windandsun.co.uk%2Fmedia%2F292547%2FSISpeedwireDataModule-Installation-manual.pdf&usg=AFQjCNGMBVQOeLqc6CdhfdvoIWm0SOYS6g&sig2=58qYfbI5TMMRwX_Y0QWWJg

 then you can communicate with sunny explorer on your laptop.


Title: Re: sunny island diy data logger
Post by: jhinshel on November 03, 2016, 10:49:47 PM
I have the earlier 5048 sunny island. Can I use a RS485 Communication Interface retrofit kit for Sunny Island SI5048 and use sunny explorer?


Title: Re: sunny island diy data logger
Post by: Tinbum on November 03, 2016, 11:00:58 PM
485PB-G3 for the SI5048

Does this help?

http://www.sma.de/fileadmin/content/global/Products/Documents/Monitoring_Systems/YASDI-10NE1106.pdf


Title: Re: sunny island diy data logger
Post by: jhinshel on November 03, 2016, 11:07:56 PM
Thats put the cat amoungst the pigeons. Are you saying that I could use the 485PB-G3 card and use the api calls in the YASDI document? If so, would you have any sample code to demonstrate this?


Title: Re: sunny island diy data logger
Post by: rogeriko on November 03, 2016, 11:25:20 PM
http://www.off-grid-europe.com/sma-si-485pb-nr-rs485-interface-for-si-5048


http://www.ebay.co.uk/itm/SMA-Communication-Card-485pb-g3-Module-Interface-for-Sunny-Island-RS485-/272327532715

can be used with sunny data control


Title: Re: sunny island diy data logger
Post by: Mostie on November 04, 2016, 01:39:15 PM
would the 123solar logger not work then?

http://123solar.org/

or this

https://sourceforge.net/projects/solarget/


Title: Re: sunny island diy data logger
Post by: V on November 04, 2016, 06:32:03 PM
This has been on my list for ages - just not quite enough time yet.

Links:

https://openenergymonitor.org/emon/buildingblocks/interfacing-with-sma-sunnyboy-pv-inverters-bluetooth

https://code.google.com/archive/p/485solar-get/wikis

https://github.com/SolarNetwork/solarnetwork/wiki

And the YASDI stuff from SMA



Title: Re: sunny island diy data logger
Post by: jonesy on November 05, 2016, 01:35:47 PM
The rs485 or rs232 links hardware are basically identical on the sunnyboys - probably the same on the SI - that pic for the 485 isolator looks familiar; the difference is the headers onto the pcb.
The protocol 485/232 is the same 1200 baud no parity - it's just a different physical interface ie balanced (485) vs single ended. I initially used a couple of opto isolators.
I looked a Yasdi, plus the other documents sma publish, but I found most info by sniffing the RS232 signal when the SB was talking to sunny data control on a PC. You ask something and you get a response.


Title: Re: sunny island diy data logger
Post by: jhinshel on May 10, 2019, 09:07:09 PM
I'd like to re-invigorate this thread. I am keen to access data on a sunny island 5048. All i really want is the SoC. I'm guessing this would  be available via the rs485 port  but I really am not clear about how to connect to this. I would be grateful if someone could provide a step wise set of instructions with the hard ware required. Ideally I would interface an arduino, raspberry pi or pc to access the data.


Title: Re: sunny island diy data logger
Post by: dnesdlrow on August 13, 2019, 09:12:39 PM
I have the exact same issue. All I really want to do is get the battery SoC remotely. My SI5048 is about 9 years old. I'm not sure whether to use RS232 or 485,and whether I need to find a Sunny Webbox or if I can just connect straight to PC using Sunny explorer?
Anyone?!