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.

My Sunsynk 8Kw & data collection setup

Featured Replies

On 2023/05/12 at 9:44 AM, sgs said:

1. Correct - there is no other component required as you are reading the modbus registers directly into HA.

2. Correct.

3. The inverters have a 12V output labelled "RDS" (rapid shutdown) which isn't in use in South Africa.  It is powered as long as the inverter is on.  I was contemplating running that through a 5V buck converter for the module.  (At least my Deye has that - not sure about the Sunsynk - might be model specific.)

However, I had more to run off 5V including a couple of fans, so would have exceeded the output limit of this port.  I rather opted for an external USB supply plugged into a socket next to my inverter's DB board.  Less neat, but requires no hacking.

Thank you so much for the input!

Looking forward to this project :)

  • 2 weeks later...
  • Replies 657
  • Views 178.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • If you want to try this card in home assistant follow these steps. 1. Create a new directory under www/community/ and name it sunsynk-card. If you don't have HACS installed you can create directo

  • Hi all. Here is my version to get Sunsynk 8.8 Modbus metrics in Home Assistant: Required Hardware: ESP32 Development Board @R149.95 https://www.diyelectronics.co.za/store/espressif-iot/1495-

  • Thought I would also contribute with something small. Not as impressive as what some of the others here but a contribution nonetheless. The GUI for Sunsynk System Mode, or lack thereof, has reall

Posted Images

On 2023/05/12 at 12:05 AM, Muttley said:

Hi guys,

Thanks for the awesome thread!

I'm in the process of purchasing all the components to integrate my soon to be installed Sunsynk 8kw Inverter into HA via an ESP32.

3 Quick q's in this regard:

  1. I'm planning on using @sjlouw's guide, found on page 3 - thanks for this!
    1. By going this route, I'm assuming that I won't need to setup any MQTT brokers or make use of @Klatremis's Sunsynk HA Addon. Is this correct that the ESP32 will send the sensor data via Wi-Fi to my HA instance?
  2. Slightly related to the above but trying to keep this simple, again, by using @sjlouw's guide, I don't need to purchase Solarassistant. Is this correct?
  3. Lastly, How are you guys powering your ESP32's?
    1. Is there a module that I can purchase to tap off USB power from the inverter itself?

Thanks once again :)

Hi 

Did you manage to figure this out? I'm looking for exactly the same thing. 

I'm using home assistant with a Deye 8KW inverter 10 x 545w panels

On 2023/03/14 at 9:47 PM, slipx said:

@JDSym The battery image now changes based on SOC. There are four possible states; empty, low, medium, high. You can adjust the thresholds in the bindings.

image.png.158d521124813a26faa7030a1ce34f34.png

Hi @slipx being the legend that you are. Would you consider making one with a Deye logo for us okies who bought Deye's. one without the non-essentials. Please Please Please you will literally make my DEYE!!!!!(also solar-assistant)

50 minutes ago, McAllstar said:

Hi 

Did you manage to figure this out? I'm looking for exactly the same thing. 

I'm using home assistant with a Deye 8KW inverter 10 x 545w panels

Hi @slipx being the legend that you are. Would you consider making one with a Deye logo for us okies who bought Deye's. one without the non-essentials. Please Please Please you will literally make my DEYE!!!!!(also solar-assistant)

:) Have you had a look at the latest version. There is an option to use a "modern" inverter image as well as toggle non-essential off. 

6 minutes ago, slipx said:

:) Have you had a look at the latest version. There is an option to use a "modern" inverter image as well as toggle non-essential off. 

thanks, I haven't but I'll take a look I was still going through the setup videos. 

21 hours ago, slipx said:

:) Have you had a look at the latest version. There is an option to use a "modern" inverter image as well as toggle non-essential off. 

I managed to install the dashboard and play with the changing of the image but it doesn't seem to have the images for a Deye inverter. 

2 hours ago, slipx said:

Yes you need to use the modern inverter image.  It's not brand specific. 

Thanks again for the response.that was my whole point was to please add an image of the Deye inverter just like the Sunsync Modern no gives you the Sunsynk inverter pic and then if you set it to yes it just gives a generic pic. 

Pic 1

image.thumb.png.23b261141f41f8e662965cb719602af4.png

image.thumb.png.6d58167b254ba44d5aef333145c50f35.png

what i was hoping for is this, a pic of the Deye inverter. 

image.thumb.png.ced40d272bbc3574b869e7e3b796d8c3.png

Hi. The modern inverter image is more in line with how the card is intended to look. The old Sunsynk image was kept as it was already part of the code. Right now I don't have any plans to add individual images for different inverters but you can still fork the repo and replace the Sunsynk image with your own.

Edited by slipx

15 hours ago, slipx said:

Hi. The modern inverter image is more in line with how the card is intended to look. The old Sunsynk image was kept as it was already part of the code. Right now I don't have any plans to add individual images for different inverters but you can still fork the repo and replace the Sunsynk image with your own.

no problem, thanks anyway I appreciate it. I'll stick with the modern image. I know fork all about forking code. 

On 2023/05/23 at 10:21 AM, McAllstar said:

Hi 

Did you manage to figure this out? I'm looking for exactly the same thing. 

I'm using home assistant with a Deye 8KW inverter 10 x 545w panels

Hi @slipx being the legend that you are. Would you consider making one with a Deye logo for us okies who bought Deye's. one without the non-essentials. Please Please Please you will literally make my DEYE!!!!!(also solar-assistant)

Installed happened yesterday so finally managed to plug in and test the ESP32.

Had to do what @Sc00bs suggested: remove the R7 Resistor & join 2 & 7 -> A; 1 & 8 -> B

Now I just need to tinker with nice images etc etc etc

Thanks once again to all involved - super chuffed!

  • Author
23 minutes ago, Muttley said:

Installed happened yesterday so finally managed to plug in and test the ESP32.

Had to do what @Sc00bs suggested: remove the R7 Resistor & join 2 & 7 -> A; 1 & 8 -> B

Now I just need to tinker with nice images etc etc etc

Thanks once again to all involved - super chuffed!

Going to do a video on the ESP32 connection in the next week or so. 

  • Author
16 hours ago, Muttley said:

Installed happened yesterday so finally managed to plug in and test the ESP32.

Had to do what @Sc00bs suggested: remove the R7 Resistor & join 2 & 7 -> A; 1 & 8 -> B

Now I just need to tinker with nice images etc etc etc

Thanks once again to all involved - super chuffed!

I think it was @jacauc who suggested removing the resistor, I just follow instructions 🙂 

I also like the ESphome solution a lot for getting data from my inverter.

On 2023/05/25 at 4:17 PM, Sc00bs said:

Going to do a video on the ESP32 connection in the next week or so. 

Hey,

Been watching your vids and thanks for doing this but I'm a bit confused....

I've got the Sunsynk Dongle (currently waiting for installer to come back here on Monday to add me to region 2 as he had me setup in region 1). So my weekend tinkering is limited to the ESP32 at the moment :)

My Q's are:

  1. Is there a point in having both the dongle and an ESP32 running simultaneously?
  2. Am I correct in assuming that the your current videos rely on having the dongle installed and that the planned ESP32 video mentioned above will include a config etc so that the data from the ESP32 will display in the awesome power card mentioned in your vids?

Just wanna make sure I'm going down the right rabbit hole here 😜

  • Author

Hi Muttley, 

The refresh rate from the dongles are slower than the ESP32 option, with the Sunsynk one being the slowest as it comes via the cloud server and not directly from the dongle.  I don't think that there would be much point in having both of them installed.

The entities in Home Assistant which are created by the different platforms integrations are different which does mean that you sometimes need to change the entity values for the dashboards depending on which integration they were made for. Not a complicated process but does take a little bit of time. Maybe something we could standardise on to make things easier for the guys putting together the dashboards. 

PV1 pm the Sunsynk integration is sensor.sunsynk_pv1  , on the Solarman integration  sensor.solarman_pv1_power and on the ESP32 integration is sensor.ss_pv1_power 

I will have the ESP32 video out in the next week or so. Just need to work out the filming for putting together the board which I don't think should be too difficult.

Edited by Sc00bs

8 hours ago, Sc00bs said:

Hi Muttley, 

The refresh rate from the dongles are slower than the ESP32 option, with the Sunsynk one being the slowest as it comes via the cloud server and not directly from the dongle.  I don't think that there would be much point in having both of them installed.

The entities in Home Assistant which are created by the different platforms integrations are different which does mean that you sometimes need to change the entity values for the dashboards depending on which integration they were made for. Not a complicated process but does take a little bit of time. Maybe something we could standardise on to make things easier for the guys putting together the dashboards. 

PV1 pm the Sunsynk integration is sensor.sunsynk_pv1  , on the Solarman integration sensor.solarman_pv1_power and on the ESP32 integration is sensor.ss_pv1_power 

I will have the ESP32 video out in the next week or so. Just need to work out the filming for putting together the board which I don't think should be too difficult.

Thanks for the feedback and assistance as always - it's greatly appreciated!
 

It appears that the URL's provided are for your local machine 😜

If you wouldn't mind sharing the public integration, that would be awesome- also hoping your ESP32 vid will be a start -> finish (ESP32 code + all the other goodies needed to get the Power Flow dashboard in place). Trying to sift though all the previous posts and trying to match what's relevant is making my brain 🤯

 

Thanks once again!

  • Author
1 hour ago, Muttley said:

Thanks for the feedback and assistance as always - it's greatly appreciated!
 

It appears that the URL's provided are for your local machine 😜

If you wouldn't mind sharing the public integration, that would be awesome- also hoping your ESP32 vid will be a start -> finish (ESP32 code + all the other goodies needed to get the Power Flow dashboard in place). Trying to sift though all the previous posts and trying to match what's relevant is making my brain 🤯

 

Thanks once again!

Thanks for pointing that out 🤯

On 2023/05/23 at 10:52 AM, Sc00bs said:

Have uploaded my video on Slipx's card install on the Sunsynk integration, is a piece of cake for those of you who haven't done it yet. You will need to have the integration from  @Gary Waterworth installed first, so if you don't, watch that install video first. 

 

Hi @Sc00bs I like your videos , not that I understand everything. But the way you and others are supporting our community is outstanding .

Wish I could create such videos myself for some walkthru's I have in mind for hardware . Will need to get in contact with you sometime in future to get some pointers.

  • Author
38 minutes ago, BritishRacingGreen said:

Hi @Sc00bs I like your videos , not that I understand everything. But the way you and others are supporting our community is outstanding .

Wish I could create such videos myself for some walkthru's I have in mind for hardware . Will need to get in contact with you sometime in future to get some pointers.

Thanks @BritishRacingGreen,

I am definitely no expert with the video's and only just getting going, is fun though. 

Happy to get together for a JV if you like 🙂 

Hi guys,

Wondering if anyone can point me as to which entities I need to use for:

1. Daily load

2. A on the inverter

3. Non Essential load

I've kindly used @jacauc's code from here

image.png.5d81406bb128fb44d2c34982be8976ec.png

Lastly but not a major one: I don't seem to have any entities for PV1 & 2's Voltage & Amps.

Removing this from the card config seems to break everything.

 

5 hours ago, Sc00bs said:

Thanks @BritishRacingGreen,

I am definitely no expert with the video's and only just getting going, is fun though. 

Happy to get together for a JV if you like 🙂 

Hey @Sc00bs I've also been watching your vids. Very very cool. They are very relevant and I'm sure they are helping. I see there are one's on geyser automations around load-shedding. I've been looking for something like that, I will check it out and see how I go. 

Edited by McAllstar

1 hour ago, Muttley said:

Hi guys,

Wondering if anyone can point me as to which entities I need to use for:

1. Daily load

2. A on the inverter

3. Non Essential load

I've kindly used @jacauc's code from here

image.png.5d81406bb128fb44d2c34982be8976ec.png

Lastly but not a major one: I don't seem to have any entities for PV1 & 2's Voltage & Amps.

Removing this from the card config seems to break everything.

 

Have a look here https://github.com/slipx06/Sunsynk-Home-Assistant-Dash/blob/main/ESPHome.yaml I think I might have most of those defined but I know I've also made some updates to that config. You should also consider rounding some of your sensors to 0 decimal places.

You don't need to provide the non-essential sensor. The card will calculate this for you

 

  • Author
1 hour ago, slipx said:

Have a look here https://github.com/slipx06/Sunsynk-Home-Assistant-Dash/blob/main/ESPHome.yaml I think I might have most of those defined but I know I've also made some updates to that config. You should also consider rounding some of your sensors to 0 decimal places.

You don't need to provide the non-essential sensor. The card will calculate this for you

 

We just need to get all the inverter integration authors to standardise the naming of the entities, would make life so much easier.

9 minutes ago, Sc00bs said:

We just need to get all the inverter integration authors to standardise the naming of the entities, would make life so much easier.

I agree with you.

Something I also changed in my own integration was to change all measurements with a kWh unit to include the word "energy" instead of "power".

 

For example, instead of naming the entity "Day_GridSell_Power Wh" as in the official documents, or "grid_export_day" as in some integrations, I named it grid_energy_export_day which I think makes a lot more sense. 

 

 

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.