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.

A much better way of connecting Home Assistant to your DEYE/Sunsynk inverter

Featured Replies

Thanks, I can't recall if that is in my inverter, I didn't have the cover off that long. It's just the 5KW Deye 1P inverter. Deye Inverter SUN5L-5K-SG03LP1-EU the same one sold in SA.

I'm currently experiencing battery recognition issues as my batteries don't have dipswitches. 

Screenshot_20240917_182351_Deye Cloud.jpg

Edited by shaun99
Add info

  • Replies 171
  • Views 53.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • daisy chain RS485 think of the RS-485 Master as the esp32 device 1= master sunsynk  device 2 = slave sunsynk 

  • @Yuri thanks for sharing this. I've included some additional sensors and changed some of the friendly names for consistency with the latest Dashboard and other configs. @Sc00bs I've uploaded to Github

  • I have just completed it8KW Sunsynk Master-Slave .txt

Posted Images

Hi,

I want to create an EMS with a PLC and connect to my DEYE sunsynk inverter. From your experiences, I can see that it is possible to read the registers from the inverter. But is it also possible to write to the inverter and tell it what to do. For instance, charge or discharge the battery and regulate the solar output. 

Thanks in advance

  • 3 weeks later...
On 2024/09/12 at 6:10 AM, apdcentral said:

Hi, I love it, I have 2x Luxtek 5kw inverters in parallel, connected to 4 batteries with 24 Solar Panels. Took me a while to get all the sensors connected over time and into HAimage.thumb.png.6f9cdf6d8cdc87d40eae862372c86409.png

image.png

Can you share me your project ? I'm using Luxpower 

  • 4 weeks later...

Hi all

Since Deye 12k HV inverter firmware update my ESP32 is reading battery SOC 100% instead of 0%.

No battery configured and connected to my inverter. Please see my post in Power Flow card thread.

Any ideas? Thanks in advance.

Regards

Iggy

  • 4 weeks later...
On 2024/08/07 at 10:36 PM, Gambit said:

You want this one without firmware https://smarthomeintegrations.co.za/product/smartdeyedonglev4-intl-shipment/ . I use this shield and it works great with my Sunsynk 8kW.

How did you get this working? I bought the same kit (ESP32 and shield), followed the video to the letter but the installation keeps failing with the memory error (upload is greater than available space) using OTA. I even tried uploading using the USB connection direct - same issue. I've reset/erased the ESP32 and still no joy.

On 2024/05/15 at 6:16 PM, IggyP said:

Hi Killaz1980

I had the same issue as I builded the first time. Did alot of things to get it solved but nothing helped.

The only thing what was solving my problem was to add the device in a different way to home assistant.

Step 1: I clicked continue instead of open ESPHome web

Step 2: added a name and clicked next

Step 3:  chosed the first device type in the list: ESP32

Step 4: clicked Install

Device was build sucessfully.

Step 6: adjusted the code like in the video description saved it and installed the new config

Hope this will do the trick for you as well. 

 

ESP_1.JPG

ESP_2.JPG

ESP_3.JPG

ESP_4.JPG

ESP_5.JPG

Hi MornéM

Please have a look at my post. Had also an issue with memory an those steps solved my problem. 

Regards

IggyP

  • Author
6 hours ago, MornéM said:

How did you get this working? I bought the same kit (ESP32 and shield), followed the video to the letter but the installation keeps failing with the memory error (upload is greater than available space) using OTA. I even tried uploading using the USB connection direct - same issue. I've reset/erased the ESP32 and still no joy.

Hi @MornéM

Have you tried using a different computer/usb port/cable? 

I had the same problem and it started working when I tried a different cable.

Thanks @IggyP and @Sc00bs. After a lot of back and forth, I got the code loaded and the device connected to the inverter. At the moment I'm figuring out which port to use on the Deye 8kw but I think its somewhere in this thread. Thanks again for your help.

Edited by MornéM

  • Author
4 hours ago, MornéM said:

Thanks @IggyP and @Sc00bs. After a lot of back and forth, I got the code loaded and the device connected to the inverter. At the moment I'm figuring out which port to use on the Deye 8kw but I think its somewhere in this thread. Thanks again for your help.

Did you figure out what the problem was? Maybe you can help out the next person who experiences it by telling us how you solved the problem.

So I used a combination of
@IggyP post from 15 May for the setup, together with your advice to try a different cable and port on my W10 laptop. Started out by resetting the device, then followed each step without touching the device. It worked!

  • 4 weeks later...
  • Author
On 2024/12/07 at 10:03 PM, MornéM said:

So I used a combination of
@IggyP post from 15 May for the setup, together with your advice to try a different cable and port on my W10 laptop. Started out by resetting the device, then followed each step without touching the device. It worked!

I suspect it was probably the cable, I had the same problem on one of my ESP32 installs, the cable seemed to work for everything else so have no idea what caused the problem. Glad it worked for you as well 🙂 

HI @kellerza and all

 

I am using the Deye/Sunsynk Home Assistant Addon

But I need to change the Grid-Peak shaving setting. I need to control this with an automation.

How can I do this... 

 

Support will be appreciated.

  • Author
1 hour ago, idb said:

HI @kellerza and all

 

I am using the Deye/Sunsynk Home Assistant Addon

But I need to change the Grid-Peak shaving setting. I need to control this with an automation.

How can I do this... 

 

Support will be appreciated.

Hi @idb

What do you need to do the automation based on? 

 

1 minute ago, Sc00bs said:

Hi @idb

What do you need to do the automation based on? 

 

when the SOC is below a certain % must switch on a relay and change the peak shaving and visa versa.

  • Author
6 minutes ago, idb said:

when the SOC is below a certain % must switch on a relay and change the peak shaving and visa versa.

Easiest is to just ask ChatGPT to write the automation for you, give it the name of the entities you want to do the automation on and then what you want it to do and it will write the YAML code for you. 

Just now, Sc00bs said:

Easiest is to just ask ChatGPT to write the automation for you, give it the name of the entities you want to do the automation on and then what you want it to do and it will write the YAML code for you. 

Yes I get that. buy I need to see the setting with in the sunsynk add on?

  • Author
33 minutes ago, idb said:

Yes I get that. buy I need to see the setting with in the sunsynk add on?

Which integration are you using to speak to the inverter? 

Go to the integration and you will see a list of the sensors it is getting from the device. 

Will probably be along the lines of number.inverter_grid_peak_shaving_power but it varies depending on which integration you are using. 

You battery SOC should be something along the lines of sensor.inverter_battery_soc 

You can also find the sensor names by going to Developer Tools/States and looking for the sensors names there. 

 

  • 1 year later...

Hello guys, really, you make a great work, i project to use a deye 8KW inverter with my enphase system iq7a and pylontec battery, for this i need to use the generator connector to wire my solar panels. I can't see in the modbus base : https://www.youtube.com/redirect?event=video_description&redir_token=QUFFLUhqbVNTcDEtSjVRZ2Y0U0IyWU9jX0ZmdDI0VlJrQXxBQ3Jtc0tuajlyUEkyU2hvOWhQMFdoeElrLUV4NkNROUNpN1piTVZTYzV0OGN3eUZzNzUtUUF5UXlGNzFTUUc2SWRfNVBtQ0t1MTJmMFFQMXlmTktjYzh1bjZhb3pjajVUUmtzeWphRmNUdEN3WndVeTdyYy1hbw&q=https%3A%2F%2Fdocs.google.com%2Fdocument%2Fd%2Fe%2F2PACX-1vT7CCprZ1Tb99RR1ShNH1nh0FgwlH8Ql2K1TDkBEasXeyGFVQtsZYwBwEufgvFGIgNhwoeK60OuI1R7%2Fpub&v=EN5GjEbM4fo any informations about the production for the pv generation from generator connector. Anyone from you find a solution? Thank you!

  • 3 months later...

Hi all

What is the best option these days for integrating Deye 8kw(new Gen) with home assistant?

Does this thread still apply? It seems like there is only 1 option available for local purchase now on Smart Home Integrations? Just plug and play? No more self loading of FW?

Any other suggestions/options available? Even if DIY?

Thanks

  • 3 weeks later...

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.