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

 

1 hour ago, lenox said:

Hi

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

 

Thank you

Yes you need to parallel esp32, master and slave rs485 cables 

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

19 minutes ago, Sc00bs said:

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

Hi

 

Yes it does work

55 minutes ago, Yuri said:

daisy chain RS485

think of the RS-485 Master as the esp32

device 1= master sunsynk 

device 2 = slave sunsynk 

image.png.77e0dcb3738805856feba0287927510f.png

Hi 

I used a normal RJ45 cable seems to work fine.

Thank you

I am using the brown and white/brown for my RS485 network on my 485 RS-485 TO TTL CONVERTER MODULE 

Then I just joined(soldered) all the brown wires together 

next joined (soldered) all the brown/white wires together 

 

IMG_8464.jpeg
you can see the white ethernet cable is from my esp32(rs485 to ttl converter)

one of the black is for master rs485 and one of the black ethernet cables are for the slave rs485

Edited by Yuri

2 hours ago, Yuri said:

I am using the brown and white/brown for my RS485 network on my 485 RS-485 TO TTL CONVERTER MODULE 

Then I just joined(soldered) all the brown wires together 

next joined (soldered) all the brown/white wires together 

 

IMG_8464.jpeg
you can see the white ethernet cable is from my esp32(rs485 to ttl converter)

one of the black is for master rs485 and one of the black ethernet cables are for the slave rs485

Works like a charm Thanks Yuri

20240108_221535.jpg

Hello All, I am also interested in reading modbus data directly from my Sunsynk 5kW inverter. On the 5kW there is BMS485 port (top left), as well a dedicated RS485 port (bottom right). Which on should be used to read data from my master and slave?

 

22 minutes ago, hdupreez said:

Hello All, I am also interested in reading modbus data directly from my Sunsynk 5kW inverter. On the 5kW there is BMS485 port (top left), as well a dedicated RS485 port (bottom right). Which on should be used to read data from my master and slave?

Top left.

4 hours ago, Sc00bs said:

@lenox I have found Surface Mount Cat6 Double boxes great for this type of thing as you can just jumper the connections you want. 

Much neater as well 🙂 

 

Surface Mount Box Cat6 Port T568A T568B

Hi

Where can I purchase these.

Thank you

5 hours ago, hdupreez said:

Thank you. What is the bottom right RS485 used for then?

According to the manual, energy meter communication. I've never tried the bottom-right port since all the howto's I read indicated that the top-left one should be used.

 

MWSnap199.png

  • 2 weeks later...
On 2024/01/03 at 12:28 PM, Yuri said:

I have made a better YAML

8KW Sunsynk Master-Slave .txt 119.77 kB · 15 downloads

I have added lots of the power ,current and energy registers 

@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 for reference

  • 1 month later...
  • Author
44 minutes ago, Quinton Ollewagen said:

Hi, I am wanting to connect home assistant to control loads connected to a 8kw inverter in order to maximize the output, can you assist?

There are videos on my channel on how to do it using automations, works really well Quinton.

 

 

 

etc. etc.

Nice.

I'm going to check those vids out. Someone indicated that R7 must be removed on the RS485>TTL adapter and some resistors need to be changed for other values when connecting to the ESP32, but I can't find the post. ESP32 works on 3.3V. RS485>TTL works on 3.3V or 5V? I'm still figuring this out. I was planning on a 5V PSU but I'm concerned about the power requirements of both boards. I don't mind building or soldering as a learning solution.

How susceptible are these things to surges or spikes?

How much of the ESP's 4Mb flash is used? Would it be possible to add say, a local small display or other sensors to the same ESP32?

 I want to tinker and an extra ESP32 is not a waste. As long as I don't damage it. I have not tinkered with these things for ages and have some Esp8266's and Arduino Uno and other Arduino boards lying around in a box. I should unpack and see what there is actually.

Endless possibilities.

  • Author
8 hours ago, shaun99 said:

Nice.

I'm going to check those vids out. Someone indicated that R7 must be removed on the RS485>TTL adapter and some resistors need to be changed for other values when connecting to the ESP32, but I can't find the post. ESP32 works on 3.3V. RS485>TTL works on 3.3V or 5V? I'm still figuring this out. I was planning on a 5V PSU but I'm concerned about the power requirements of both boards. I don't mind building or soldering as a learning solution.

How susceptible are these things to surges or spikes?

How much of the ESP's 4Mb flash is used? Would it be possible to add say, a local small display or other sensors to the same ESP32?

 I want to tinker and an extra ESP32 is not a waste. As long as I don't damage it. I have not tinkered with these things for ages and have some Esp8266's and Arduino Uno and other Arduino boards lying around in a box. I should unpack and see what there is actually.

Endless possibilities.

I would suggest just buying the shield and ESP32 from https://smarthomeintegrations.co.za/ that I have in the video. It is way better than get a separate board, doesn't require any soldering, removal of resistors, has a 3.3v RS485 port  (the MAX485 is 5v) and a built in power supply for 12V supply from the inverter. 

You could import the shield from China but you will need to be careful which ESP32 you get for it as not all of them have the correct pinout for it and you would only be saving a few rands, so not really worth it in my opinion if you can just buy it locally. 

IMG_20230918_144834-e1695118145390-324x324.jpg

1 hour ago, Sc00bs said:

I would suggest just buying the shield and ESP32 from https://smarthomeintegrations.co.za/ that I have in the video. It is way better than get a separate board, doesn't require any soldering, removal of resistors, has a 3.3v RS485 port  (the MAX485 is 5v) and a built in power supply for 12V supply from the inverter. 

You could import the shield from China but you will need to be careful which ESP32 you get for it as not all of them have the correct pinout for it and you would only be saving a few rands, so not really worth it in my opinion if you can just buy it locally. 

IMG_20230918_144834-e1695118145390-324x324.jpg

Based on @Sc00bs recommendations I bought one of these esp32 rs485 shield combos from Smart Home Integrations and got the 3d printed case as well. It was a super simple and very neat installation on my Sunsynk 8Kw inverter, works incredibly well with ESPHome firmware and Home Assistant. The Sunsynk app has been down so often lately, this has turned out to be a great investment. I was thinking of buying some more to play with as the price is not bad as it combines the power supply, esp32 and rs485 transceiver requirements in 1 package for R400. The only issue is it appears that Smart Home Integrations has stopped shipping these firmware-free units locally for now. You might need to order from overseas https://www.electrodragon.com/product/esp32-can-rs-485-wire-interface-shield/. Will need the correct esp32 dev board that fits in the socket as @Sc00bs mentioned. The esp32 dev boards I got from https://www.robotics.org.za/ didn't fit.

Edited by Gambit

  • Author

I am disappointed that @iiznh isn't shipping any of the firmware free versions locally anymore, he probably doesn't want to eat into the custom firmware versions that he is making.

@Gambit  You need one of the DevkitC ESP32's or any one of the other models with a compatible pinout 

You must have bought an incompatible chip version, this one from Microrobotics works nicely as I have tried them out

https://www.robotics.org.za/ESP32-DEVKITC?search=esp32 

 image.png.85089634c5f5aa266ec599ddd3e593ea.png

 

I do have two spares if anyone would like one and they aren't available locally anymore. 

2 hours ago, Sc00bs said:

I am disappointed that @iiznh isn't shipping any of the firmware free versions locally anymore, he probably doesn't want to eat into the custom firmware versions that he is making.

@Gambit  You need one of the DevkitC ESP32's or any one of the other models with a compatible pinout 

You must have bought an incompatible chip version, this one from Microrobotics works nicely as I have tried them out

https://www.robotics.org.za/ESP32-DEVKITC?search=esp32 

 image.png.85089634c5f5aa266ec599ddd3e593ea.png

 

I do have two spares if anyone would like one and they aren't available locally anymore. 

Thanks for the link for the compatible esp32 dev board, this is good to know. The ones I have are these and they were too narrow for the shield. Luckily smart home integrations sent a compatible esp32 with the shield I ordered.

20 hours ago, Sc00bs said:

I am disappointed that @iiznh isn't shipping any of the firmware free versions locally

@Sc00bs why kick a man when he is down?

I do sell locally.

I have 2 dongles available that I sell with firmware at this stage (that is my only stock I have)

I do have about 40x Geniune ESP32 Microcontrollers that was delivered this week but those are useless on their own. 

I have a stack of dud circuits that never made it past testing. I do not sell those, I am not that kind of person.

 

Just currently out of stock and having the worst Feb.

R12K out of pocket waiting for my package and I have bills to pay.

My package has been stuck for more than 3 weeks and I sold out on 7Feb. Luckily the tracking shows it moved again, so I will have stock around then end of Feb if I judge by other shipments. 

 

 

Edited by iiznh

46 minutes ago, iiznh said:

@Sc00bs why kick a man when he is down?

I do sell locally.

I have 2 dongles available that I sell with firmware at this stage (that is my only stock I have)

I do have about 40x Geniune ESP32 Microcontrollers that was delivered this week but those are useless on their own. 

I have a stack of dud circuits that never made it past testing. I do not sell those, I am not that kind of person.

 

Just currently out of stock and having the worst Feb.

R12K out of pocket waiting for my package and I have bills to pay.

My package has been stuck for more than 3 weeks and I sold out on 7Feb. Luckily the tracking shows it moved again, so I will have stock around then end of Feb if I judge by other shipments. 

 

 

@iiznh While waiting for your stock to arrive, you consider upgrading smarthomeintegrations.co.za site to try upselling your own firmware and HA dashboards. I honestly went to your site to buy the non-firmware shield. Still, I might have been persuaded to buy the full product if there were some cool marketing visuals and bullet points about why your solution is superior/ easier and worth the extra bucks. I didn't see any reason to buy the full version anywhere

Has anyone tried to read BMS values from the Sunsynk 5.32 batteries rs-485 port? Wondering what info you can get that would be useful. I guess the number of cycles would be nice

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.