February 16, 20242 yr Just use an ESP32, Home Assistant and the YAML code from Slipx06. You will be able to write settings back to the inverter. If that is too much for you then just get one of the dongles from Smart Home Integrations, he has one for the 3-phase inverters. https://smarthomeintegrations.co.za/product/smartdeyedonglev4/ I made a video on setting it up
February 17, 20242 yr On 2023/01/05 at 7:18 PM, shaulf said: Wow slipx! please can you share your dash with me- it's proper! That is a very good looking dashboard. Can you kindly share with me aswell please. Thank you
February 17, 20242 yr Hi. You can get it from here https://github.com/slipx06/Sunsynk-Home-Assistant-Dash
February 25, 20242 yr On 2024/02/16 at 4:23 PM, Sc00bs said: Just use an ESP32, Home Assistant and the YAML code from Slipx06. You will be able to write settings back to the inverter. If that is too much for you then just get one of the dongles from Smart Home Integrations, he has one for the 3-phase inverters. https://smarthomeintegrations.co.za/product/smartdeyedonglev4/ I made a video on setting it up Assuming this reply was for me - many thanks I actually got a USB to RS485 board working (ttyUSB0) but I tried to pass it through mbusd which ran fine for a while, but then stopped sending it's data, so I must have an issue with it's config in my docker-compose.yaml file. Any example of one for mbusd would be greatly appreciated
February 26, 20242 yr 8 hours ago, championc said: Assuming this reply was for me - many thanks I actually got a USB to RS485 board working (ttyUSB0) but I tried to pass it through mbusd which ran fine for a while, but then stopped sending it's data, so I must have an issue with it's config in my docker-compose.yaml file. Any example of one for mbusd would be greatly appreciated mbusd is lightweight with no dependencies on external libraries. Docker gives you very little/no benefits in this case. Trying to run a container built for HASS OS on another platform forces you to understand Docker, mbusd, and the way the HASS OS container was built to load your configuration etc. Which makes things more challenging. Just run mbusd natively, you will save yourself a lot of effort.
March 8, 20242 yr I have a custom Modbus RUT application and am seeing some trouble reading/writing the Deye/Sunsynk. Maybe someone can confirm and help. We are using the modbus port with cable not reading through the logger. When setting the TOU table, for instance setting all 6 SOC% values to 10%, they change (I can even see on LCD) but after a few seconds are changing some back to original values. Has someone seen this? We are writing the values 1 by 1 and quite slowly. Also a) is it possible to read multiple registry values at once? what function code? b) is it possible to write multiple registry values at once? what function code? c) what reading speed is recommended so to not get much errors?
March 8, 20242 yr 1 hour ago, xjan said: I have a custom Modbus RUT application and am seeing some trouble reading/writing the Deye/Sunsynk. Maybe someone can confirm and help. We are using the modbus port with cable not reading through the logger. When setting the TOU table, for instance setting all 6 SOC% values to 10%, they change (I can even see on LCD) but after a few seconds are changing some back to original values. Has someone seen this? We are writing the values 1 by 1 and quite slowly. Also a) is it possible to read multiple registry values at once? what function code? b) is it possible to write multiple registry values at once? what function code? c) what reading speed is recommended so to not get much errors? I've seen some weird results just reading the date & time from the inverters. It also doesn't match what's shown on the inverter screens. Anyway, your answers: a) Yes. fc=3; address=from-where-you-start-to-read; quantity=how-many-you-want-to-read b) Yes. fc=16; address=from-where-you-start-to-write; quantity=how-many-you-want-to-write c) I query about 30 single registers in a few seconds as part of my own "every 5 second" monitoring via node-red.
March 8, 20242 yr Hi all pls i need help.... I read modbus with esp8266 we have more instalation and now i connect inverter and failed crc check with connect can battery... i disconnect can and normal read no error crc .... pls help me with this thak you bms is seplos Edited March 8, 20242 yr by Josef Slambor
March 27, 20242 yr On 2024/03/08 at 2:29 PM, Josef Slambor said: Hi all pls i need help.... I read modbus with esp8266 we have more instalation and now i connect inverter and failed crc check with connect can battery... i disconnect can and normal read no error crc .... pls help me with this thak you bms is seplos I assume you're using the single port on the inverter for both modbus and CAN? Are you using a splitter? you may need to rewire the RJ45 connectors to use only the relevant pins, I had a similar issue with my new 5.5kW Sunsynk. See this page - https://solar-assistant.io/help/deye/2_in_1_bms_port after I wired each RJ45 to only use the pins needed I got CAN and modbus working normally again... Edited March 27, 20242 yr by RhysMcW
April 24, 20242 yr Hello, I am trying to get started on this but i'm kinda confused is there anyone that can help me get started? I want to make a controller using raspberry pi to monitor the inverter (read/write) . Thank you [email protected]
April 24, 20242 yr Hi @Ibrahim Azzam Firstly, I would suggest buying a second hand Intel NUC of Facebook market place instead of a Raspberry Pi. Works out about the same cost, you get something that has an SSD drive in it which are way more reliable with Home Assistant that a microsd that the RPi uses and is also a lot faster. Can be found on the marketplace for around R1500. Secondly, I would then suggest either getting a ESP32/RS485 shield onto which you can either load the code using ESPHome or if you want something that is plug and play just buy the one with Heinz's firmware on it. smarthomeintegrations.co.za has both options available. The other option is to use KellerZa's integration with a USB/RS485 adapter which will probably work out the cheapest. Only down side to this is that you will need to locate your Home Assistant box close to your inveter. I also have a Youtube Channel with loads of info in regards to the information you are looking for.
April 24, 20242 yr 4 hours ago, Sc00bs said: The other option is to use KellerZa's integration with a USB/RS485 adapter which will probably work out the cheapest. Only down side to this is that you will need to locate your Home Assistant box close to your inverter. Well not really. The mbusd gateway needs to be close to your inverter but you can run that on a cheap raspberry pi. I'm using this to monitor a remote (different province) inverter over tailscale. inverter<-->mbusd(running on raspberry pi with tailscale)<-->HA (kellarZa integration with tailscale)
April 24, 20242 yr 46 minutes ago, slipx said: Well not really. The mbusd gateway needs to be close to your inverter but you can run that on a cheap raspberry pi. I'm using this to monitor a remote (different province) inverter over tailscale. inverter<-->mbusd(running on raspberry pi with tailscale)<-->HA (kellarZa integration with tailscale) Do you have an SSD on your Raspberry Pi @slipx ? I have heard that the microsd's in the RPi's have very limited life expectancies when used with Home Assistant due to the large number of writes to the database that take place.
April 24, 20242 yr @Sc00bs I'm not running HA on the pi. It only runs the mbusd gateway. The HA server connects to the gateway over the tailscale vpn Edited April 24, 20242 yr by slipx
May 15, 20242 yr my inverter is in the garage and my HA (on a NUC) is in the house with an USB-RS845 adapter and about 18m of cat-5e LAN cable connecting them, working perfectly. The garage and house are connected so the cable just runs up through the ceilings, so no open air and definitely no underground (not that we get much lightning here in CPT). Apparently the distance limit for RS485 is 1200m, so my measly 18m is nothing...
June 20, 20241 yr Hi Guys Which entity do you use for Grid Connected Status on the Sunsynk 8KWA as I cannot find it in my available entities on HA. Thanks
June 20, 20241 yr 2 hours ago, Zeus-JKR said: Hi Guys Which entity do you use for Grid Connected Status on the Sunsynk 8KWA as I cannot find it in my available entities on HA. Thanks binary_sensor.inverter_grid_connected_status
January 11, 20251 yr Hi all Is there maybe someone that can help me. So I am able to read the data in NODERED. Grid Peak shaving But I am unable to change the watt value. Any assistance please.
January 12, 20251 yr 11 hours ago, idb said: So I am able to read the data in NODERED. Grid Peak shaving I assume this is 3ph with these reg numbers? 11 hours ago, idb said: But I am unable to change the watt value. Can you write other sensors? Have you considered using something else than nodered, like my HA addon or the ESP32? With your current hw, it should be a no brained to get my addon working
January 12, 20251 yr 10 hours ago, kellerza said: I assume this is 3ph with these reg numbers? Can you write other sensors? Have you considered using something else than nodered, like my HA addon or the ESP32? With your current hw, it should be a no brained to get my addon working I can change the value with my using the ESP32 ESPHome integration so it must be somethin in your node red setup. Not many people, that I know of, that are still using the NodeRed method for inverter queries so you may struggle to find someone able to assist. Easiest would probably be tro just switch to the Kellerza integration if you can.
February 11, 20251 yr Hi all So I have used grid-peak shaving alot with 8kw, this is my first 16kw. Please see the screenshots. I have tested a few different names. Not picking then up. Any help will be appriciated.
February 13, 20251 yr Hi all So I have used grid-peak shaving alot with 8kw, this is my first 16kw. Please see the screenshots. I have tested a few different names. Not picking then up. Any help will be appriciated.
February 13, 20251 yr On 2025/02/11 at 8:47 AM, idb said: So I have used grid-peak shaving alot with 8kw, this is my first 16kw. Please see the screenshots. I have tested a few different names. Not picking then up. Today this sensor only exists in the 3-phase definitions - https://github.com/search?q=repo%3Akellerza%2Fsunsynk shaving&type=code Do you know the register? Try a custom sensor, and feel free to create a PR to add missing ones
February 13, 20251 yr 25 minutes ago, idb said: Hi all So I have used grid-peak shaving alot with 8kw, this is my first 16kw. Please see the screenshots. I have tested a few different names. Not picking then up. Any help will be appriciated. As far as I am aware, it should be the same registry entry on the 8kw & 16kw.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.