Skip to content
View in the app

A better way to browse. Learn more.

Power Forum - Renewable Energy Discussion

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SunSynk - Inverter Monitoring

Featured Replies

Not sure Node-Red give you that much from a dashboarding and UI perspective. You have a UI to modify some system settings on Node-Red, which can just as easily be done on Home Assistant these days.

For everything else, Node-Red simply feeds the information via MQTT to Home Assistant. Home Assistant is where the dashboards, energy management UI, and even automation in many cases lives. It's all on an app and integrates with a 1000+ services devices.

There is even ESPHome (once again a Home Assistant project) code that could probably read these register values into Home Assistant with your existing hardware.

Node-Red might be somewhat more flexible for automations, but for everything else and 98.5% of automations you have Home Assistant. But I admit I might be biased, in the past I've built my own hardware - based on ATmegas and electric Imps ;-), UIs and eventually settled on HASS in 2016. Today it is one of the most active opensource projects out there, which obviously serves as some nice confirmation bias 😉  

  • Replies 734
  • Views 205.8k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Thanks to @Bloubul7and all the other contributors. This is my HA dashboard. It has all I need to view at a glance. (PS: really impressed with the Sunsynk)  

  • Thanks for sharing. Did not know about the horseshoe or plotly cards. Added to Dashboard  

  • Think I figured it out. Copied the Raw Config file. EDIT: Open the file at the bottom with notepad or Text Editor. Copy and paste in Dashboard "Raw configuration editor" You need to install

Posted Images

  • 1 month later...
  • 1 month later...

Hi All
I'm needing some assistance please...
At the beginning on Feb my inverter failed and had to go in for repairs...
I received a replacement unit on Thursday last week and installed it on Friday.
It came with firmware version COMM:E426 - MCU:3382-1515
All is working fine except I'm not getting the data via the RS485 connection from my Home Assistant any more. I can see the tx LED light whenever HA send a request but the rx LED never lights.

I have the cable connected into the "RS485/METER" port (green LAN cable boot in the pic here)
RS485RJ45.jpg.944302336308687a6302db1929f6593c.jpg
I have checked, multiple times, that the Modbus SN setting on the inverter is set to 1
invertermodbussn.thumb.jpg.1a73619144de99eb03ce1e1cf49c02d5.jpg

I believe my cable is fine, it is about 15m long, as I attached a second USB-RS485 adapter with an in-line RJ45 connector to the end of the cable at the inverter. I plugged this into my laptop and ran a PuTTY session on the COM port. Every time HA sent a request, you can see the tx LED briefly light on the adapter connected to HA, the rx LED briefly lights on the adapter connected to my laptop and I got some character displayed in my PuTTY window. I then swapped the USB-RS485 adapters around with the same results and I also swapped the A/B cables on both ends, to check that both sets of cables are working, and got the same results, thereby showing the cable seems fine. This is the same cable I used with the inverter that dies in Feb.
PuTTYdisplay.png.81d9e1c9e6ad7c42d7705607061c8fd2.png

If I connect the USB-RS485 to my laptop (Windows 10) and the inverter, is there a way to provoke a response from the inverter to see if there is anything coming from the RS485 port?

56 minutes ago, RhysMcW said:

Hi All
I'm needing some assistance please...
At the beginning on Feb my inverter failed and had to go in for repairs...
I received a replacement unit on Thursday last week and installed it on Friday.
It came with firmware version COMM:E426 - MCU:3382-1515
All is working fine except I'm not getting the data via the RS485 connection from my Home Assistant any more. I can see the tx LED light whenever HA send a request but the rx LED never lights.

I have the cable connected into the "RS485/METER" port (green LAN cable boot in the pic here)
RS485RJ45.jpg.944302336308687a6302db1929f6593c.jpg
I have checked, multiple times, that the Modbus SN setting on the inverter is set to 1
invertermodbussn.thumb.jpg.1a73619144de99eb03ce1e1cf49c02d5.jpg

I believe my cable is fine, it is about 15m long, as I attached a second USB-RS485 adapter with an in-line RJ45 connector to the end of the cable at the inverter. I plugged this into my laptop and ran a PuTTY session on the COM port. Every time HA sent a request, you can see the tx LED briefly light on the adapter connected to HA, the rx LED briefly lights on the adapter connected to my laptop and I got some character displayed in my PuTTY window. I then swapped the USB-RS485 adapters around with the same results and I also swapped the A/B cables on both ends, to check that both sets of cables are working, and got the same results, thereby showing the cable seems fine. This is the same cable I used with the inverter that dies in Feb.
PuTTYdisplay.png.81d9e1c9e6ad7c42d7705607061c8fd2.png

If I connect the USB-RS485 to my laptop (Windows 10) and the inverter, is there a way to provoke a response from the inverter to see if there is anything coming from the RS485 port?

See this :

https://solar-assistant.io/help/deye/2_in_1_bms_port

1 hour ago, abd7 said:

This ^

The newer Deye / Sunsynks use a single comm (CAN) port and your battery BMS (CAN) cable AND Solar Assistant cable need to plug into that one port. You need a splitter of sorts to enable the one port to be for both Battery BMS and Solar Assistant

Edited by mzezman

Yay, getting data again😀

Thank you @abd7 and @mzezman, I just happened to have a splitter in a drawer (finally justified in keeping all that "junk").
For anyone looking for those splitters, I see Takealot as a 2-pack (also a single but for more money).

https://www.takealot.com/techme-rj45-2x-female-to-female-splitter-adapter-pack-of-2/PLID72195763

  • 2 weeks later...

Hi all

 

Just installed CAN HAT on a Pi Zero W and managed to get communication working via MQTT and sensors showing in HA, however it just stopped updating after a few hours and when I checked Node-red, I see the Inverter Node timesout and I cant get it to read again on the ModBusRead flow. See screenshot.

Any ideas?

Tried rebooting, nothing changed on cabling. No luck.

 

Attached my serial settings which were working too.

 

Would someone mind sharing their latest flows? Has anything changed since this version https://github.com/jacauc/SunSynk-NodeRed/blob/master/flow.json ?

 

On a side note:

I installed InfluxDB on the Pi Zero and got it working, but do you think it's too much for the Pi Zero to handle the constant writes?

Thanks

 

 

Screenshot 2023-04-20 at 09.31.35.png

Screenshot 2023-04-19 at 23.38.56.png

Edited by aaelex

6 minutes ago, kellerza said:

@aaelex do you share the CAN bus with the battery?

If you have constant writes you will likely shorten your SD card's lifetime. On my Home Assistant I use a USB SSD.

No. I tried it on the CAN port on the inverter when I couldn't get it connected as I thought it might be that, eventually tried the original RS485 port again and managed to get it connected in the early hours of the morning... Then woke up this morning a few hours later and there was no data coming through again and it was showing timeout on the ModBudRead flow above.

However the Pi0 was still accessible via IP and I could access the Node-red.

I have a SSD on my Pi4 running HA, but on the Pi0 running my CAN Hat connected to the Inverter, it is just an SD card.

Edited by aaelex

56 minutes ago, aaelex said:

I have a SSD on my Pi4 running HA, but on the Pi0 running my CAN Hat connected to the Inverter, it is just an SD card.

Why not just run InfluxDB on the HA Pi? 

You should probably have a look at Node-RED's logs. Can't help much more than that as I don't use Node-RED at all. 

HA on it's own can do some pretty neat automations and between native integrations & addons there is very little you cannot do. You could always try running mbusd on the Pi0 and the addon on you HA Pi. 

 

 

Just now, kellerza said:

Why not just run InfluxDB on the HA Pi? 

You should probably have a look at Node-RED's logs. Can't help much more than that as I don't use Node-RED at all. 

HA on it's own can do some pretty neat automations and between native integrations & addons there is very little you cannot do. You could always try running mbusd on the Pi0 and the addon on you HA Pi. 

 

 

Good point! Will run it on the HA Pi4.

No worries thanks. Will tinker around.

I actually want to migrate to a more streamlined setup as I described in this post, maybe you can help me use the Pi0 as a Modbus over TCP and integrate it with your integration if that is even possible with your integration?

 

Thanks!

  • 1 month later...
  • 2 weeks later...
On 2021/11/18 at 6:19 AM, KempM said:

Then in Node-Red the automation.

@KempM Whilst checking out your flow I noticed an option in the call service node that I don't have in my setup, it's really neat:

image.png.ee2c72bd27a43b0ad2417754acdd0923.png

And this would enable me to remove 2 extra nodes from all my automations such as this:

image.png.ca222bfced0bf9e1e11b299c43fcf0f9.png
I've googled it but can't find how to get the turn_{{payload}} into the dropdown.

  • 1 month later...

Hi All,

I need some assistance. If setup the sunsynk-multi-addon in HA for a Sunsynk 8 kW inverter. I cannot seem to get a serial connection going. I've tested the cable with a SolarAssistant setup and it works there so the cable should be fine. I've also tried moving it over to the CAN port just in case it is a 2-in-1 port but no luck.

Please see the link to the Github issue comment here: Github Issue

I also worked through the fault finding page but have no success. 

Hopefully someone here might have some ideas as to what to do next?

Thanks in advance.

 

 

Hi @kellerza, in the latest update, is there any reason I would lose some of the sensors? All the kWh, Amp and volt ones are gone, grid hz and battery SOC also gone. But all the Watt ones are still working.

I thought it was because I had :now next to some sensors in the YAML but I removed all those and still not working. Saw a few errors in the logs and cleared all of those as well where _power changed to _energy.

Any pointers?

33 minutes ago, Robbo said:

Hi @kellerza, in the latest update, is there any reason I would lose some of the sensors? All the kWh, Amp and volt ones are gone, grid hz and battery SOC also gone. But all the Watt ones are still working.

I thought it was because I had :now next to some sensors in the YAML but I removed all those and still not working. Saw a few errors in the logs and cleared all of those as well where _power changed to _energy.

Any pointers?

_power changed to _energy a looong time ago. But it might be that the previous version of the addon still substituted all those deprecated sensors. Now it will just raise a warning

If you fixed it, the entity_ids will be different in HA and you need to update your Energy settings and UI elements to use the new sensor entity_ids (or rename the entities, but I won't advise that)

Look at Settings -> Devices & Services -> Devices and you can open the device and see all it's associated sensors.

image.thumb.png.3ecc7ff998750824f590d85a85c63b40.png

If still not working, open an Issue on github with more detail

 

 

3 hours ago, kellerza said:

_power changed to _energy a looong time ago. But it might be that the previous version of the addon still substituted all those deprecated sensors. Now it will just raise a warning

Thanks!

Just strange that the Watts work. All other sensors in the MQQT are unavailable.

Looking at the config YAML there is this:

SCHEDULES:
  - KEY: w
    READ_EVERY: 5
    REPORT_EVERY: 60
    CHANGE_ANY: false
    CHANGE_BY: 80
    CHANGE_PERCENT: 0

Is that correct or should it be done for each key? Otherwise will raise in github as you suggest

EDIT: would you mind sharing a template YAML? I cant find it on your page.

Edited by Robbo

10 hours ago, Robbo said:

Thanks!

Just strange that the Watts work. All other sensors in the MQQT are unavailable.

This is not possible, as all sensors & all inverters use the same availability topic - the concept of availability is per addon, not inverter, not sensors.

 

So something else is wrong and won't be able to help without more details, which can be captured in the Issue

 

10 hours ago, Robbo said:

Looking at the config YAML there is this:

SCHEDULES:
  - KEY: w
    READ_EVERY: 5
    REPORT_EVERY: 60
    CHANGE_ANY: false
    CHANGE_BY: 80
    CHANGE_PERCENT: 0

Is that correct or should it be done for each key? Otherwise will raise in github as you suggest

https://kellerza.github.io/sunsynk/reference/schedules

 

10 hours ago, Robbo said:

EDIT: would you mind sharing a template YAML? I cant find it on your page.

You get the default/"template" if you reset your config. The quoted schedule is from the default.

Join the conversation

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

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.