November 24, 20205 yr 8 minutes ago, Bloubul7 said: Unfortunately I didn't save my yaml layout when I tried out this method. OK Thanks, I got the Node red working, and the HA poller working, Just busy Deciding what route is the better one. Feels like i would have more control in Node, with error handling and so. HA for Ref: config.yaml modbus: - type: tcp host: 172.16.193.189 port: 8899 name: Sunsynk Sensor.yaml - platform: modbus scan_interval: 20 registers: - name: Serial Number hub: Sunsynk slave: 1 register: 3 count: 5 data_type: string
November 24, 20205 yr Here is my Node Layout for ref, Still busy playing, but seems to be working ok as well. I think the HA direct is going to be a pain with all the restarts that would be required to test.
December 20, 20205 yr I have emoncms already existing and using it with solpi for my current MPP, solpi pulls information from the inverter to the emoncms. Is there a solpiplog like way to pull information from the deye inverter to emoncms? Edited December 20, 20205 yr by ojeysky
January 9, 20215 yr 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
January 9, 20215 yr How are you sending modbus requests? If the TX light is not blinking, then the request is not being sent.
January 9, 20215 yr 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 Edited January 9, 20215 yr by innesleroux
January 9, 20215 yr I uploaded the modbus protocol document here: You will need to find a suitable modbus library for your platform to send the requests, and process the responses.
January 11, 20215 yr 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
January 15, 20215 yr On 2020/11/24 at 10:37 PM, Cybertza said: Here is my Node Layout for ref, Still busy playing, but seems to be working ok as well. I think the HA direct is going to be a pain with all the restarts that would be required to test. Hi All Really good thread thanks for sharing all the insight, @Cybertzawould you mind sharing the above node red flow as a JSON export to help us get started ? Cliff
January 16, 20215 yr 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
January 16, 20215 yr 16 minutes ago, innesleroux said: 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 Can you get the grid frequency? It drops during load shedding.
January 16, 20215 yr I used 192 "load frequency" and it seems to work. Thanks for pointing me in the right direction @Achmat
January 16, 20215 yr 7 hours ago, Achmat said: Can you get the grid frequency? It drops during load shedding. Interesting, my grid frequency actually goes up to 51.9 Hz during load shedding, and I get 4.8 to 5.2 VAC.
January 16, 20215 yr 4 hours ago, innesleroux said: I used 192 "load frequency" and it seems to work. Thanks for pointing me in the right direction @Achmat Surely Load frequency is not the same as grid frequency? Load frequency suggests that it is the frequency of the UPS AC output.
January 19, 20215 yr I have just installed Deye 8kw, but the fan makes significant noise, much more than the MPP GK that was was using before. I am thinking a firmware update might help, please how do I do update on this thing?
January 20, 20215 yr 12 hours ago, ojeysky said: I have just installed Deye 8kw, but the fan makes significant noise, much more than the MPP GK that was was using before. I am thinking a firmware update might help, please how do I do update on this thing? You will need to contact deye and give them the inverter serial number and you must have the WiFi data logger. They will push through the update.
January 20, 20215 yr 4 hours ago, Achmat said: You will need to contact deye and give them the inverter serial number and you must have the WiFi data logger. They will push through the update. Done thanks. I am using s generic lifepo4 cells with the inverter, when I selected the lithium charging profile I was not able to find where to set the charge voltage. Looks like the profile meant for littium with compatible BMS which mine does not have as am ANT BMS. I then used the lead acid profile but the charge voltage stays at 54v which is the float voltage that I set...it does not get to absorption which is 55.2. Any suggestion on how to address this? Thanks
January 20, 20215 yr On 2020/11/06 at 8:52 AM, Halcyon said: Hi Bluobul A fellow Sunsynk owner managed to log into the Sunsynk supplied WIFI logger. I pasted his feedback posted on the Sunsynk forum below. Would this assist in anyway for your custom monitoring project? Does it indicate that one may be able to do away with having to use a Raspberry Pi to manage the data/transfer? "Hi folks, somewhat related, I noticed the data logger listens on port 80/http, and has a web UI, and allows doing config for the data logger. First, it has default password of admin:admin. Hehe, um, this is exactly why I have proper wifi setup with my IoT stuff on a seperate VLAN and wifi SSID. IoT things aren't that secure. Anyhow, noticed you can at least change the admin console HTTP password for it to something a little less guessable than admin:admin. There does seem to be a feature to cater for 2 servers, so if we get to know what protocol to use, we could possibly setup our own data logging receiver server. I am also stuck at this point, did you make progress beyond this? I am trying to get the data to mqtt or directly to my emoncms instance
January 22, 20215 yr On 2021/01/20 at 7:47 PM, ojeysky said: I am also stuck at this point, did you make progress beyond this? I am trying to get the data to mqtt or directly to my emoncms instance @Halcyonor anyone extracting data from sunsynk/Deye should kindly share
January 27, 20215 yr On 2020/10/06 at 7:15 AM, Bloubul7 said: You can check Github, there are a couple of webscrapers available for Solarman https://github.com/tonsnoei/SolarmanWifiApi https://github.com/XtheOne/Inverter-Data-Logger Has anyone been able to get either of the webscraper above to work with deye/sunsynk wifi module adaptor? tried with no luck yet Edited January 27, 20215 yr by ojeysky
February 5, 20215 yr On 28/09/2020 at 11:28 AM, Bloubul7 said: Awesome thanks, couldn't find it in the PDF manual. My inverter monitoring is atleast now up and running. Still need to add the rest of the strings that would be useful, format the values, clean up the interface and create some nice graphs Could you share pics of what your connection cable looks like? I am planning to get the attached USB rs485 converter as well, will it work?
February 7, 20215 yr On 2020/09/28 at 9:56 AM, JustinSchoeman said: It is in the manual (just note that the table is incorrect - the trace labeling in the diagram below is correct): I made a cable using this diagram but am not getting any feedback
February 8, 20215 yr 10 hours ago, ojeysky said: I made a cable using this diagram but am not getting any feedback Use the bottom diagram, the table is incorrect.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.