Everything posted by innesleroux
-
Sunsynk/Deye (SUN-5K-SG03LP1-EU) no output on RS485
Hi Saliegh, If you follow Bloubul's thread and download the flows from Github, it will be easier than trying to explain. His latest flows are awesome with examples on reading and writing to the Modbus registers. Let me know if you do not succeed.
-
SunSynk - Inverter Monitoring
My inverter also loses time - about 15 minutes every month. Not sure if there is a RTC or battery somewhere? (there is a huge array of batteries the inverter can use if it wanted to :)) Did you manage to figure out how to write to 2-byte registers? Thanks Innes
-
Sunsynk/Deye (SUN-5K-SG03LP1-EU) no output on RS485
I have a Deye, OEM Sunsynk. All the Sunsynk guides I followed worked 100% without needing to convert. The Modpus protocol sheet also 100% compatible. The only difference I know of is the physical enclosure and the menus / icons on the little lcd touchscreen... Innes
-
software for sunsynk + pylontech combo
Hi everyone, I still have not figuered out how to write (change) addresses using Node Red - I.e. enable / disable time of use etc. Reading info from inverter using @Vassen info works great but even after looking up the relevant protocols I am still missing something. Anyone able to post the flow? Thanks
-
Sunsynk/Deye (SUN-5K-SG03LP1-EU) no output on RS485
Thanks for the answer Bloubul. I understand how Modbus works now. I am able to get information on my queries and also push this info into Influxdb now. My only unanswered question is how to write to the inverter? I would like to monitor the load shedding schedules and enable / disable "time of use". I use Node Red and Modbus Write / Modbus Flex Writer but cannot seem to get all the info / syntax to the particular address correct. Thanks
-
software for sunsynk + pylontech combo
I used 192 "load frequency" and it seems to work. Thanks for pointing me in the right direction @Achmat
-
software for sunsynk + pylontech combo
I'll give it a go and revert. Thanks for quick response!
-
software for sunsynk + pylontech combo
How would you measure / report on power fails / load shedding? I can monitor "Grid side L1 power" (167) that reports correctly that there is a 0.00W supply. If however the PV panels supply more than needed this also goes to zero, really messing up automations as there is not a power failure but at a state that power from the grid is not needed. How would you monitor power fail (i.e. no incomming power from grid) vs "no supply needed as there is enough" ? Secondly: How would you write to the registers? I use node red and use to read: (example reads 248 "time of use" state i.e. on or off) 'function': 3, 'address': 248, 'quantity': 1 If I want to change / set the state what do I do? 'function': 10, (this is suppose to be write) 'address': 248, (the address that needs to change) 'number of registers': 1 (what is the syntax? Am I correct that it is only 1 register?) 'byte count': ? (what is the syntax? Is it one byte 0/1?) 'new value': 1, (can only be 1 or 0..) I get error "Error: Quantity should be less or equal to register payload array length: undefined Addr: 248 " Thanks
-
software for sunsynk + pylontech combo
Thanks for the response Justin, I managed (with lots of help from a friend) to get data flowing. Using a different Modbus reader (a PI Hat) and Node Red Flex Getter nodes. All starting to come together. Innes
-
software for sunsynk + pylontech combo
I am not sending anything - sorry I am a real noob on modbus. I sounds like I need to send a request and will then get an "answer"? Not sure how. I was under the impression that the inverter will "stream" info automatically and I wil then decode and use what is needed / useful. I can send text via nodered as a test - what do I send though? Please excuse my ignorance - I need advice. Innes
-
software for sunsynk + pylontech combo
Hi everyone, thanks for a very interesting thread. However I have tried everything but cannot get comms from the RS485 port. 1. I made a cable using Justin Schoeman's diagram (bottom picture) 2. I am using a RS485 to USB TTL (https://www.communica.co.za/products/bmt-usb-rs485-ttl-converter-ftdi) 3. Plugged into a RPI3 running the Modbus TCP Gateway (https://github.com/3cky/mbusd) I am not seeing any RX/TX leds flashing on the TTL converter so I am assuming it is not sending anything. The inverter is connected to a Pylontech 3000 on the CAN port and I have a Sofarsolar Solarman LSW-3 logger connected to the Wifi interface port. Questions: 1. Is there a hidden "enable RS485" setting anywhere? 2. Must a RS485 ID be set somewhere? 3. Must the inverter be rebooted to enable new connections? 4. Must the Wifi logger be diconnected? I am very comfortable with Home Assistant / Grafana / Influx etc but cannot get any data from the inverter! @Bloubul7 @JustinSchoeman @Cybertza
-
Sunsynk/Deye (SUN-5K-SG03LP1-EU) no output on RS485
Hi everyone, thanks for a very interesting thread. However I have tried everything but cannot get comms from the RS485 port. 1. I made a cable using Justin Schoeman's diagram (bottom picture) 2. I am using a RS485 to USB TTL (https://www.communica.co.za/products/bmt-usb-rs485-ttl-converter-ftdi) 3. Plugged into a RPI3 running the Modbus TCP Gateway (https://github.com/3cky/mbusd) I am not seeing any RX/TX leds flashing on the TTL converter so I am assuming it is not sending anything. The inverter is connected to a Pylontech 3000 on the CAN port and I have a Sofarsolar Solarman LSW-3 logger connected to the Wifi interface port. Questions: 1. Is there a hidden "enable RS485" setting anywhere? 2. Must a RS485 ID be set somewhere? 3. Must the inverter be rebooted to enable new connections? 4. Must the Wifi logger be diconnected? I am very comfortable with Home Assistant / Grafana / Influx etc but cannot get any data from the inverter! @Bloubul7 @JustinSchoeman @Cybertza
-
software for sunsynk + pylontech combo
Hi this is very interesting. Awesome work! @Bloubul7 can you possibly share your Node Red flows? Thanks a lot