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

Hi Guys 

Just wanted to share my latest video on installation and connecting your inverter to Home Assistant using the new RS485 shield and ESP32C board. 

Makes life much easier to set the thing up, no soldering and you only need to connect the power up inside the inverter to a 12V power supply and the RS485 cables so dead easy. 

You can get the board and an ESP32 from https://smarthomeintegrations.co.za/ for R400 and get delivery in a day or so. 

Slipx06 (Paul) has also included some cool new YAML code to calculate Daily energy production and consumption in the ESP32 and send that info to HA as well. 

Let me know what you guys think of the video please

 

 

Edited by Sc00bs

  • Replies 171
  • Views 53.2k
  • 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

  • Sc00bs changed the title to A much better way of connecting Home Assistant to your DEYE/Sunsynk inverter

Great video, thank you! 

Do I understand correctly that this can communicate on the rs485 port while the Sunsynk dongle is still connected and have both working simultaneously? 

Having 2 x 5kW Sunsynk inverters installed in parallel as a master and a slave, do you only need to connect to the master, or loop the same connection to the slave, or have a seperated ESP32 board connected to each? 

 

Thank you for the great content and for sharing and making it availible! 

  • Author
6 hours ago, Bushbaby said:

Great video, thank you! 

Do I understand correctly that this can communicate on the rs485 port while the Sunsynk dongle is still connected and have both working simultaneously? 

Having 2 x 5kW Sunsynk inverters installed in parallel as a master and a slave, do you only need to connect to the master, or loop the same connection to the slave, or have a seperated ESP32 board connected to each? 

Thank you for the great content and for sharing and making it availible! 

Hi @Bushbaby

That is correct, you can run both the Sunsynk dongle and the ESP32 at the same time. 

You will need a separate ESP for your master and slave. 

I am not sure how the code will be different on the master vs slave and would need to do some more investigation.  

 

  • Author

Smarthomeintegrations.co.za has an option to buy a Master/Slave combo on his website with his firmware on it so there is always that option as well

1 hour ago, Sc00bs said:

Thanks @Yuri, that makes a lot of sense. 

I am assuming that you can then run it all from one ESP32, is that correct? 

I just got a second 8KW inverter and will install it next week and test everything. 

Yes, I think it will work with 1x ESP32

Edited by Yuri

  • Author
On 2023/12/11 at 11:45 AM, Yuri said:

I just got a second 8KW inverter and will install it next week and test everything. 

Yes, I think it will work with 1x ESP32

Awesome, let me know if it works please. Maybe we can get @slipx to include a dual inverter file on his GitHub as well 🙂

  • 2 weeks later...
  • 2 weeks later...
  • Author

That's awesome @Yuri , will update my repo and try send it back to Slipx 🙂 

The other thing which you can do is create sensors using the value of sensors over time to calculate them . 

So things like, kw/hr per day per MPPT controller for example, which isn't info you can poll from the inverter. 

You need to have the timer enabled so that the counters reset at 00:00 every night. 

  • Author
Just now, lenox said:

Hi All

The code is not reading my slave is there anything you need in order to be able to help?

Using two 5kw Sunsynk Inverters

Thank you

What modbus address is your slave set to? 

1 hour ago, lenox said:

Hi All

The code is not reading my slave is there anything you need in order to be able to help?

Using two 5kw Sunsynk Inverters

Thank you

Have you made a daisy chain link from the master to the slave rs485 ports?

28 minutes ago, Yuri said:

Have you made a daisy chain link from the master to the slave rs485 ports?

Hi

They are linked with parallel cable should I also link them with the RS port aswell.

 

Thank you

  • Author
1 hour ago, lenox said:

Hi

They are linked with parallel cable should I also link them with the RS port aswell.

 

Thank you

If you plug the ESP32 into the Slave inverter do you get the Slave readings in Home Assistant? 

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.