Cybertza Posted November 24, 2020 Share Posted November 24, 2020 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 Quote Link to comment Share on other sites More sharing options...
Cybertza Posted November 24, 2020 Share Posted November 24, 2020 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. Quote Link to comment Share on other sites More sharing options...
ojeysky Posted December 20, 2020 Share Posted December 20, 2020 (edited) 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, 2020 by ojeysky Quote Link to comment Share on other sites More sharing options...
innesleroux Posted January 9, 2021 Share Posted January 9, 2021 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 Quote Link to comment Share on other sites More sharing options...
JustinSchoeman Posted January 9, 2021 Share Posted January 9, 2021 How are you sending modbus requests? If the TX light is not blinking, then the request is not being sent. Quote Link to comment Share on other sites More sharing options...
innesleroux Posted January 9, 2021 Share Posted January 9, 2021 (edited) 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, 2021 by innesleroux Quote Link to comment Share on other sites More sharing options...
JustinSchoeman Posted January 9, 2021 Share Posted January 9, 2021 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. Quote Link to comment Share on other sites More sharing options...
innesleroux Posted January 11, 2021 Share Posted January 11, 2021 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 Quote Link to comment Share on other sites More sharing options...
Cliff Posted January 15, 2021 Share Posted January 15, 2021 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 Quote Link to comment Share on other sites More sharing options...
innesleroux Posted January 16, 2021 Share Posted January 16, 2021 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 Quote Link to comment Share on other sites More sharing options...
Achmat Posted January 16, 2021 Share Posted January 16, 2021 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. Quote Link to comment Share on other sites More sharing options...
innesleroux Posted January 16, 2021 Share Posted January 16, 2021 I'll give it a go and revert. Thanks for quick response! Quote Link to comment Share on other sites More sharing options...
innesleroux Posted January 16, 2021 Share Posted January 16, 2021 I used 192 "load frequency" and it seems to work. Thanks for pointing me in the right direction @Achmat Quote Link to comment Share on other sites More sharing options...
Yellow Measure Posted January 16, 2021 Share Posted January 16, 2021 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. Quote Link to comment Share on other sites More sharing options...
Yellow Measure Posted January 16, 2021 Share Posted January 16, 2021 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. Quote Link to comment Share on other sites More sharing options...
TheoG Posted January 17, 2021 Share Posted January 17, 2021 Cool thread guys! Seems to me I'll have to start automating! Lol! Quote Link to comment Share on other sites More sharing options...
ojeysky Posted January 19, 2021 Share Posted January 19, 2021 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? Quote Link to comment Share on other sites More sharing options...
Achmat Posted January 20, 2021 Share Posted January 20, 2021 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. Quote Link to comment Share on other sites More sharing options...
ojeysky Posted January 20, 2021 Share Posted January 20, 2021 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 Quote Link to comment Share on other sites More sharing options...
ojeysky Posted January 20, 2021 Share Posted January 20, 2021 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 Quote Link to comment Share on other sites More sharing options...
ojeysky Posted January 22, 2021 Share Posted January 22, 2021 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 Quote Link to comment Share on other sites More sharing options...
ojeysky Posted January 27, 2021 Share Posted January 27, 2021 (edited) 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, 2021 by ojeysky Quote Link to comment Share on other sites More sharing options...
ojeysky Posted February 5, 2021 Share Posted February 5, 2021 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? Quote Link to comment Share on other sites More sharing options...
ojeysky Posted February 7, 2021 Share Posted February 7, 2021 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 Quote Link to comment Share on other sites More sharing options...
Bloubul7 Posted February 8, 2021 Share Posted February 8, 2021 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.