Jump to content
  • 1

software for sunsynk + pylontech combo


Question

  • Answers 153
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

Web interface sorted.  I can now remotely alter my inverter settings. Next I want to integrate the settings into my automation flows.  This would essentially allow me to run two seperate sets of

As a side project, I developed a semi-realtime dashboard using some open source components and some custom software that I wrote. My current setup is the following: I have a 8kW sunsynk inve

Ok I am going to say it, this is VERY impressive. Hat off to your technical abilities Boubul. Now if one of you can package this in a consumer friendly way which us non-geeks can understand and u

Posted Images

Recommended Posts

  • 0

Hi everyone, I still have not figuered out how to write (change) addresses using Node Red - I.e. enable / disable time of use etc.

Reading info from inverter using @Vassen info works great but even after looking up the relevant protocols I am still missing something.

Anyone able to post the flow?

 

Thanks

Link to post
Share on other sites
  • 0

Hi everyone,

 

Thank you for a great thread so far. I have a Sunsynk 8kw inverter with 4.8kwh First National Li-ion Battery Module. The inverter and battery is connected using the RS485 port. I bought a USB/RS485 dongle and want to know if I can plug it into the batteries Rs485 Port as it has two.

Will I still be able to talk to the inverter or will the fact that it is connected to the batteries not work?

 

Thank you in advance

 

Link to post
Share on other sites
  • 0
On 2021/02/09 at 4:28 PM, GMeiburg said:

Hi everyone,

 

Thank you for a great thread so far. I have a Sunsynk 8kw inverter with 4.8kwh First National Li-ion Battery Module. The inverter and battery is connected using the RS485 port. I bought a USB/RS485 dongle and want to know if I can plug it into the batteries Rs485 Port as it has two.

Will I still be able to talk to the inverter or will the fact that it is connected to the batteries not work?

 

Thank you in advance

 

@GMeiburg I doubt you will be able to read inverter values when you are plugged into the battery.  Everyone here is reading via the inverter RS485 port, but according to the documentation you should be able to read the data from the Wifi/RS232 port.  So you probably want one of these (there are cheaper options):

https://www.takealot.com/ugreen-usb2-0-m-to-db9-rs232-2m-cab-bk/PLID40361956

Or is your inverter Wifi and RS485 port already occupied?

Link to post
Share on other sites
  • 0

This has been a great thread and big learning curve. Big thanks for all the input from everyone, I have also been able to extract the data via rs485 and build first draft dashboard for my Sunsynk 5.5kw. (The data will still smooth out 😀)

Doing this via below path with 1 min update:

1) Synsync-> Rs485 -> RPi4 -> Node Red(on RPi) -> InfluxDB (On Rpi) -> Grafana(on Rpi)

2) AGM Battery -> BMV -> RPi4 -> Node Red -> InfluxDB -> Grafana

image.thumb.png.3e4dbca7c2a1d46d879f8e8218dc5cf5.png

 

I have also tried to map the Modbus registers to the  values on the Sunsync display that could assist. (might be room for improvement or corrections)

image.png.583ca2cb5d8e015801c355e844ff6124.png

 

Link to post
Share on other sites
  • 0
5 minutes ago, Ryeman said:

This has been a great thread and big learning curve. Big thanks for all the input from everyone, I have also been able to extract the data via rs485 and build first draft dashboard for my Sunsynk 5.5kw. (The data will still smooth out 😀)

Doing this via below path with 1 min update:

1) Synsync-> Rs485 -> RPi4 -> Node Red(on RPi) -> InfluxDB (On Rpi) -> Grafana(on Rpi)

2) AGM Battery -> BMV -> RPi4 -> Node Red -> InfluxDB -> Grafana

image.thumb.png.3e4dbca7c2a1d46d879f8e8218dc5cf5.png

 

I have also tried to map the Modbus registers to the  values on the Sunsync display that could assist. (might be room for improvement or corrections)

image.png.583ca2cb5d8e015801c355e844ff6124.png

 

Are you getting you data to mqtt using node-red? Could share the node-red flow?

Link to post
Share on other sites
  • 0
On 2020/11/24 at 9:37 PM, Cybertza said:

Here is my Node Layout for ref, Still busy playing, but seems to be working ok as well.

 

I think the HA direct is going to be a pain with all the restarts that would be required to test.

image.thumb.png.bf55066ebd839ded9fd4eb47d663b75d.png

Hi, could you share the syntax you have in the switch node and function node (msg.topic...)?

Link to post
Share on other sites
  • 0
On 2021/02/11 at 10:06 AM, Denarius said:

@GMeiburg I doubt you will be able to read inverter values when you are plugged into the battery.  Everyone here is reading via the inverter RS485 port, but according to the documentation you should be able to read the data from the Wifi/RS232 port.  So you probably want one of these (there are cheaper options):

https://www.takealot.com/ugreen-usb2-0-m-to-db9-rs232-2m-cab-bk/PLID40361956

Or is your inverter Wifi and RS485 port already occupied?

@Denarius Thank you for the reply, Damn it's a shame that it would not work in that way then. Yes my Wifi/RS232 port is occupied with the Solarman wifi dongle but I hate that it takes so long to update(although 10 min is not so bad). I think I will remove the Wifi/Rs232 logger and get one of those cables you posted(Thank you for that 🙂) and go down that route

 

Once again thank you to you and the forum for the help!

Kind Regards 

Link to post
Share on other sites
  • 0

Did any one else get a new software update,  I did request an update for the Coms some time back (myne was on Ve.4.0.9).  Only realized the updated was sent after the inverter just suddenly shutdown leaving us in darkness and rushed to do some fault finding,  but only after switching everything off and running out of ideas did I realize it was the update that was applied. Just wish there was some form of warning  so a person could prep 🙂

However since everything powered down and then restarted once I switched back from grid, my Modbus logger stopped working most likely due to reboot of Rpi with some lost missing start-ups. 

Has anyone else received an update that has impacted their Modbus interface ?

 

For the Sunsynk 5.5kw unit  I am now on: Protocol: V0.2.0.1  Control: V2.1.5.4  Coms: VE.4.1.5

Link to post
Share on other sites
  • 0
On 2021/02/19 at 9:48 PM, Ryeman said:

Did any one else get a new software update,  I did request an update for the Coms some time back (myne was on Ve.4.0.9).  Only realized the updated was sent after the inverter just suddenly shutdown leaving us in darkness and rushed to do some fault finding,  but only after switching everything off and running out of ideas did I realize it was the update that was applied. Just wish there was some form of warning  so a person could prep 🙂

However since everything powered down and then restarted once I switched back from grid, my Modbus logger stopped working most likely due to reboot of Rpi with some lost missing start-ups. 

Has anyone else received an update that has impacted their Modbus interface ?

 

For the Sunsynk 5.5kw unit  I am now on: Protocol: V0.2.0.1  Control: V2.1.5.4  Coms: VE.4.1.5

Hi Ryeman,

 

I dont have my modbus running yet but I did also receive an update on Sunday morning @ 04:00 21/02/2021. I have noticed that my versions are as follow:

Version Information
Protocol Version:V0.2.0.1
Control Software Version 1:V3.8.7.6 
Communication CPU Software Version:VE.4.1.5
Does the Control version have an impact maybe?
Regards
Link to post
Share on other sites
  • 0

The original question of this thread is basically: give me something similar to ICC for SunSynk.

One potential solution is solar assistant which provides real time monitoring and remote access:

https://solar-assistant.io/

This is the options listed under the inverter:

image.png.af1509f56852d723c15329244eac3f75.png

If I select "Use inverter values" for the battery and don't have any PI to battery cable, it reads the SoC, volts, amps, watts and temperature from the inverter:

image.png.20de7a50ad851abd1476a3d7985558dc.png

Link to post
Share on other sites
  • 0

Hi All,

I am new to the form and am wanting to connect my smart system to my inverter, does anybody still have the modbus pdf as i cannot seem to download it . it says the file is no longer available. if anybody could assist with this it would help allot.

Thanks,

Dustin

 

Link to post
Share on other sites
  • 0

This has been quite an interesting thread that I have been following for a while now. I am finally at the point where I’m able to attempt what is been going on in this thread. I have a Sol-Ark 12 K inverter. My RS 485 port appears to be an ethernet connection port. The RS 485 connections on external devices, that I have seen, all have either two or three wire connections. Maybe I’ve missed it, but how do you go from my ethernet port that’s RS 485 down to a three wire terminal for a 485 connection point? I loaded two pictures, one of my RS 485 ethernet port connection of my Sol Ark. The other is a RS 485 to Ethernet converter? 
I am basically trying to get the information out of my Sol-Ark over to a raspberry pie. Maybe there’s an easier way? 

BDC8AC7D-1676-4579-B900-2F09CF8A8B2C.jpeg

7133A4CB-B834-4156-87E9-4043662853C9.jpeg

Link to post
Share on other sites
  • 0

Thanks Kalahari for the reply.

Yes, I've seen that in my manual. However, not sure how that translates? So using an Ethernet cable plugged into my RS485 inverter port, on the other end of my Ethernet cable, cutting open the Ethernet cable, taking the individual wire stand(s) 1 or 8 and wire it into the RS485-B and 2 or 7 into the RS485-A and so on as described?

Sorry but kind of new to this sort of DIY, but learning a lot from this forum.

Thanks again.

17 minutes ago, Kalahari Meerkat said:

from the manual

Screen Shot 2021-03-06 at 15.23.30.png

 

Link to post
Share on other sites
  • 0

This is what I'm using to get my RS485 from the inverter to Raspberry Pi4. That's why I'm looking for the correct wiring connection. So based on what I've read, once the RS485 is wired correctly, the data should flow to the through this, to the Raspberry Pi via the USB port.

Image for post

Link to post
Share on other sites
  • 0
30 minutes ago, ShawnHayes said:

This is what I'm using to get my RS485 from the inverter to Raspberry Pi4. That's why I'm looking for the correct wiring connection. So based on what I've read, once the RS485 is wired correctly, the data should flow to the through this, to the Raspberry Pi via the USB port.

Your unit with USB port would have a Data-, a Data+ and a ground connection, which would be pins 1,2 & 3 off the RJ45 on the inverter end. So if pin 1 on the inverter end is green-white, pin 2 is green and pin 3 is orange, just to pick some colours, then green-white would be connected to Data-, green would be connected to Data+ and orange would go to ground on the green connector of the external USB adapter/converter...

Link to post
Share on other sites
  • 0

Sorry that I sent that last post before I was finished typing. I have entered the first set of commands to get the RS-485 adapter connected. But once you connect the adapter via the instructions, the next command line once entered, takes me to a screen as if I should be seeing #DATA come in to where I can add info? 
but once in that screen I can’t do anything as instructed. Does this mean that I’m not receiving data therefore that screen isn’t operating correctly? Or am I missing something else?

Link to post
Share on other sites
  • 0

@ShawnHayes maybe someone else will get back to you with a better answer, but basically you need to send a modbus query and you should get an answer, but if your query is incorrectly expressed/formatted, you probably won't even get a ¿que¿ back, I presume, but I have 0 experience with this and will also still have to learn... need to organise an RS485 interface first...

Link to post
Share on other sites
  • 0
4 hours ago, ShawnHayes said:

Sorry that I sent that last post before I was finished typing. I have entered the first set of commands to get the RS-485 adapter connected. But once you connect the adapter via the instructions, the next command line once entered, takes me to a screen as if I should be seeing #DATA come in to where I can add info? 
but once in that screen I can’t do anything as instructed. Does this mean that I’m not receiving data therefore that screen isn’t operating correctly? Or am I missing something else?

you will basically need to read the different registers and you will then get a response. Each register corresponds to the different information in the inverter. 

 

To read, you will need to use something like node red to query the info. Once you get the info back, you need to format it an appropriate way that makes sense. 

Link to post
Share on other sites
  • 0
On 2021/02/22 at 12:53 PM, Denarius said:

The original question of this thread is basically: give me something similar to ICC for SunSynk.

One potential solution is solar assistant which provides real time monitoring and remote access:

https://solar-assistant.io/

@Denarius It is unclear from the website, what does this software offer me that the standard Sunsynk App does not, apart from running on a Raspberry Pi and perhaps being a bit more up to date, can't really  see anything? 

Link to post
Share on other sites
  • 0

So, my question is. 

 

Instead of querying for the data via the RS485/Modbus connection. 

The WIfi Adapter that is on the Sunsynk inverter is already sending most of the data that we want to the Solarman server via the internet so that we can view it on the app. 

If I go to the webpage for the adapter (very secure password admin/admin) it has a page with remote server settings that have the default settings in them and then space for a second servers settings that I can edit. I am assuming that it will then send the data to that server as well (guessing things well above my pay grade here 🙂 )

Any one of you clever people know how to catch the data and see what is being sent, Node-red/InfluxDb/Grafan perhaps? 

JohnB

 

 

Untitled.png

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...