November 9, 20223 yr 12 hours ago, kellerza said: If you are a tinkerer and know/want to learn NodeRed then it's a good project, but except for this forum you are mostly on your own. The Addon is tailored for Home Assistant. It's easier to use, quicker to setup and has additional functionality (filters, write UI elements in HA, full discovery/removal of entities). There have been some excellent contributions to the docs & code (like writable sensors). Today you cannot update the time, but the System Mode is probably the main use case for adding the capability to write. Hi @kellerza, I've installed the add ons whats the difference between standard and dev? I've decided to use a USR-W630 because my inverter is too far from the pi. Does anyone know what the configuration should look like for the Sunsynk add-on and the W630 interface?
November 10, 20223 yr @pedro54 The dev version has got all the latest features & it's been stable for a while DEVICE: "select anything as port will take preference" PORT: tcp://ipaddr_for_w630:502 DRIVER: umodbus READ_SENSORS_BATCH_SIZE: 8
November 10, 20223 yr 14 hours ago, kellerza said: @pedro54 The dev version has got all the latest features & it's been stable for a while DEVICE: "select anything as port will take preference" PORT: tcp://ipaddr_for_w630:502 DRIVER: umodbus READ_SENSORS_BATCH_SIZE: 8 @kellerzaThanks do I need to set anything on W630? I'm getting errors when I start. I've wired up as per diagram RJ45 Pin (inverter side) Wire Color (when using T568A) RS485 pins 1 Green-White B/D- 2 Green A/D+ 3 Orange-White GND 2022-11-10 14:10:45,570 DEBUG could not patch umodbus: numpy not found 2022-11-10 14:10:45,576 INFO ############################################################ 2022-11-10 14:10:45,576 INFO Sensor deprecated: total_pv_power -> total_pv_energy 2022-11-10 14:10:45,577 INFO ############################################################ 2022-11-10 14:10:45,577 INFO Filter *last used for battery_soc, total_battery_charge, total_battery_discharge, total_grid_export, total_grid_import, total_pv_power 2022-11-10 14:10:45,596 INFO Reading startup sensors serial, rated_power 2022-11-10 14:10:55,608 ERROR Timeout reading: 2022-11-10 14:10:55,608 INFO ############################################################ 2022-11-10 14:10:55,609 INFO No response on the Modbus interface, try checking the wiring to the Inverter, the USB-to-RS485 converter, etc It’s actually failing to connect. I have the W630 set in STA mode with a fixed ip. I can logon to the W630 web interface on the ip. Error: (1,3,5) [Errno 111] Connect call failed ('xxx.xxx.xxx.xxx', 502) Edited November 10, 20223 yr by pedro54
November 11, 20223 yr On 2022/11/10 at 2:21 PM, pedro54 said: Hi @kellerza, I've tried using your modbus add-on. I can see the Sunsynk add-on connecting then see this in the modbus logs [16:55:30] INFO: Starting mbusd -d -L - -v 2 -p /dev/ttyAMA0 -s 9600 -m 8N1 -P 502 11 Nov 2022 16:55:30 mbusd-0.5.1 started... 11 Nov 2022 16:55:30 tty: trying to open /dev/ttyAMA0 (speed 9600 mode 8N1) 11 Nov 2022 16:55:40 conn_open(): accepting connection from 172.30.33.4 11 Nov 2022 16:55:45 conn[172.30.33.4]: state CONN_TTY deadlock. 11 Nov 2022 16:55:45 tty: trying to open /dev/ttyAMA0 (speed 9600 mode 8N1) 11 Nov 2022 16:55:45 conn[172.30.33.4]: timeout, closing connection 11 Nov 2022 16:55:45 conn_close(): closing connection from 172.30.33.4
November 12, 20223 yr Hi all, It's been almost a year since I started using these NR flows, and had no issues to date. However, this week I had my installer update my Sunsynk firmware, and now the flows are no longer working. These are the errors I am getting. Any idea where to start troubleshooting, or what might have changed in the more recent inverter firmware?: 2022, 12:29:49 AMnode: d6b15ede.669a7 msg : string[60] "Modbus Failure On State sending Get More About It By Logging" 11/13/2022, 12:29:49 AMnode: Inverter msg : error "Error: Timed out" 11/13/2022, 12:29:49 AMnode: Inverter msg : error "Error: Client Not Ready To Read At State reconnecting" 11/13/2022, 12:29:49 AMnode: Inverter msg : error "Error: Client Not Ready To Read At State reconnecting" 11/13/2022, 12:29:49 AMnode: Inverter msg : error "Error: Client Not Ready To Read At State reconnecting" 11/13/2022, 12:29:50 AMnode: Inverter msg : error "Error: Client Not Ready To Read At State reconnecting" 11/13/2022, 12:29:50 AMnode: Inverter msg : error "Error: Client Not Ready To Read At State reconnecting" 11/13/2022, 12:29:50 AMnode: Inverter msg : error "Error: Client Not Ready To Read At State reconnecting" 11/13/2022, 12:29:51 AMnode: Inverter msg : error "Error: Client Not Ready To Read At State reconnecting" 11/13/2022, 12:29:51 AMnode: Inverter msg : error Below is the Modbus settings I've always used:
November 12, 20223 yr Author 12 minutes ago, JuanH said: Hi all, It's been almost a year since I started using these NR flows, and had no issues to date. However, this week I had my installer update my Sunsynk firmware, and now the flows are no longer working. These are the errors I am getting. Any idea where to start troubleshooting, or what might have changed in the more recent inverter firmware?: 2022, 12:29:49 AMnode: d6b15ede.669a7 msg : string[60] "Modbus Failure On State sending Get More About It By Logging" 11/13/2022, 12:29:49 AMnode: Inverter msg : error "Error: Timed out" 11/13/2022, 12:29:49 AMnode: Inverter msg : error "Error: Client Not Ready To Read At State reconnecting" 11/13/2022, 12:29:49 AMnode: Inverter msg : error "Error: Client Not Ready To Read At State reconnecting" 11/13/2022, 12:29:49 AMnode: Inverter msg : error "Error: Client Not Ready To Read At State reconnecting" 11/13/2022, 12:29:50 AMnode: Inverter msg : error "Error: Client Not Ready To Read At State reconnecting" 11/13/2022, 12:29:50 AMnode: Inverter msg : error "Error: Client Not Ready To Read At State reconnecting" 11/13/2022, 12:29:50 AMnode: Inverter msg : error "Error: Client Not Ready To Read At State reconnecting" 11/13/2022, 12:29:51 AMnode: Inverter msg : error "Error: Client Not Ready To Read At State reconnecting" 11/13/2022, 12:29:51 AMnode: Inverter msg : error Below is the Modbus settings I've always used: You need to change the device/ unit ID on the inverter to 1
November 12, 20223 yr 13 minutes ago, Bloubul7 said: You need to change the device/ unit ID on the inverter to 1 Awesome, that did it. Thank you. For future posterity, it is the "Modbus SN" setting in the advanced menu. Will require a restart of the inverter to take effect,
November 22, 20223 yr Hello all. How to convert the registers (103-106) "Fault information word 1, 2, 3, 4" to "Fxx" error? In the protocol document is only "See the fault information coding table", but I can't find this. Thank you
November 24, 20223 yr Hi all, Does anyone perhaps have the Modbus address and description list for the Sunsynk 12kW, 3-phase inverter? The addresses are definitely different to those in the @Bloubul7 "sunsynk_modbus" Word document. It seems like they might tie up with the registers for the Deye SUN-10K inverter. Thanks!
November 24, 20223 yr 3 minutes ago, AFTP said: Does anyone perhaps have the Modbus address and description list for the Sunsynk 12kW, 3-phase inverter? While it's not part of the addon at the moment, there are some users deciphering the 12kW inverter - Compatibility with Sunsynk 12kw 3-phase inverter? · Issue #63 · kellerza/sunsynk (github.com)
November 24, 20223 yr This is the latest version of the Modbus Doc, V118 It talks about the 3 phase inverters in the doc has values for A,B & C Grid voltages so am assuming it has the updates data for the 3 phase inverters. Modbus储能-组串-微逆宁波德业V118.pdf
November 24, 20223 yr Have a Google translated version as well, too big to upload as it is bigger than 3mb https://drive.google.com/file/d/1fB8bpUWB7uvNGnFkV3PnB6Rx30opiK1_/view?usp=sharing
November 25, 20223 yr 22 hours ago, kellerza said: While it's not part of the addon at the moment, there are some users deciphering the 12kW inverter - Compatibility with Sunsynk 12kw 3-phase inverter? · Issue #63 · kellerza/sunsynk (github.com) Thanks very much for the link. I managed to get comms to my 12 kW 3-phase inverter working. I had to use the "Meter-485" RJ45 port. There is another RJ45 that is labelled "ModeBUS", but according to the latest Sunsynk manual its use is reserved. The register addresses are definitely different to the inverters that you guys have done most of the development work on (except for the first few, so it is possible to get the serial number for example using the same registers). I did eventually stumble on the attached document on another forum that does seem to describe the 12 kW 3-phase inverter's Modbus register locations. I am still working through it to confirm everything. (I think this is the same document a poster mentioned on your github forum, but I'm attaching it here for anyone looking for it in the future.) Modbus amit posun.docx
November 25, 20223 yr 21 hours ago, Sc00bs said: This is the latest version of the Modbus Doc, V118 It talks about the 3 phase inverters in the doc has values for A,B & C Grid voltages so am assuming it has the updates data for the 3 phase inverters. Modbus储能-组串-微逆宁波德业V118.pdf 1.33 MB · 0 downloads Thanks very much, but these Modbus addresses don't seem to tie up with the Sunsynk 12 kW 3-phase inverter as per the document in my previous post.
November 26, 20223 yr On 2022/11/11 at 6:59 PM, pedro54 said: It’s actually failing to connect. I have the W630 set in STA mode with a fixed ip. I can logon to the W630 web interface on the ip. Error: (1,3,5) [Errno 111] Connect call failed ('xxx.xxx.xxx.xxx', 502) @pedro54 - did you figure this out in the end? I think I have a similar issue to you, although with a different setup. Edited November 26, 20223 yr by Drew_ZA
November 26, 20223 yr On 2022/11/25 at 8:26 AM, AFTP said: Thanks very much, but these Modbus addresses don't seem to tie up with the Sunsynk 12 kW 3-phase inverter as per the document in my previous post. So @AFTP, maybe an idea to query the unlisted addresses on the 12kw 3-phase and see what it values it comes back with, there are not a too many unlisted addresses to try and I wouldn't think that they would use ones that are already allocated on the 5/8kw inverters.
November 26, 20223 yr 5 hours ago, Drew_ZA said: @pedro54 - did you figure this out in the end? I think I have a similar issue to you, although with a different setup. Hi, no in the end I moved the pi next to the inverter and wired in directly to USB.
November 27, 20223 yr 13 hours ago, pedro54 said: Hi, no in the end I moved the pi next to the inverter and wired in directly to USB. Thanks. I figured my issue out as well. It turns out the cable length was causing too much resistance, so the voltage would drop from 4.5v to around 4v. I used 2 wires for B and 2 wires for the A connection and that seems to have solved the problem.
November 28, 20223 yr Hey guys, new to sunsynk (8kw inverter). Bought a RS485 to USB to setup the communication between inverter and my Pi powered Home Assistant. But I am struggeling to set up the MQTT plus the Sunsynk app doesn't start on it's own. Needless to say that in that way I couldn't figure out if the (expensive) RS485 cable works. Anyone got experiences with this unit to share? https://solar-assistant.io/shop/products/sunsynk_rs485 Thanks in advance Ben
December 16, 20223 yr Hi there everybody, I'm running a Deye sun 5kW hybrid inverter for a month. No batteries yet, but some loads are conected to the Load Output (essential loads). I'm trying to figure out where the sensors are located over the hardware because some measures obtained via modbus are confusing to me. I have drawn the following block diagram including the sensors where I think they should be placed. However, measures tell me I must be wrong (e.g., Inverter output total power and Load side total power always match, even when part of the pv power is been sent to the grid and the rest to the essential loads output). Furthermore, all power measurements drop to 0W when no PV power is available. The inverter goes OFF (running status goes "stand-by"), I supose this may be because I have no batteries installed yet. Loads remain grid connected, but no power measurements are obtained. The only measures available are Grid voltage and current, so I can compute the grid apparent power but not active (or real) power. Hope you will help me some how.
December 17, 20223 yr Two questions: are you 100% sure exporting to the grid is what you want to do (if not don't worry apparently you havnt done so yet), and is your CT coil correctly installed on the main incomer? Edited December 17, 20223 yr by Scubadude
December 17, 20223 yr 2 hours ago, Scubadude said: Two questions: are you 100% sure exporting to the grid is what you want to do (if not don't worry apparently you havnt done so yet), and is your CT coil correctly installed on the main incomer? Hi Scubadude, No batteries yet, so the system is running as on-grid inverter exporting power excedents to the grid (I do, not a problem at the moment). CT coil is not connected, I could install-it but think my problem is to figur out why the internal measurements (Grid and Load power measurements) are lost when PV Power goes 0W. It is normal because the inverter switches to OFF or could it be related to a config problem? and, are the sensors located as I think? Thanks a lot for your reply.
December 17, 20223 yr Hola sorts! I missed the Valencia bit earlier - of course export is much more feasible in Europe than it is in SA. The inverter cannot see your non-essential loads. So a CT coil is required to measure grid power consumption and selling to grid. Your inverter is not faulty - if it has nothing to do it records zero values. Edited December 17, 20223 yr by Scubadude
December 17, 20223 yr 7 hours ago, Scubadude said: Hola sorts! I missed the Valencia bit earlier - of course export is much more feasible in Europe than it is in SA. The inverter cannot see your non-essential loads. So a CT coil is required to measure grid power consumption and selling to grid. Your inverter is not faulty - if it has nothing to do it records zero values. Hola Scubadude, Think you are right, I have installed CT coil and the inverter has measured the External Grid Total Power (172) until the sunset. At the time PV power has droped to 0, the inverter goes to stand-by mode, "nothing to do". It no longer carries out math computations like powers. I have an Eastron metter at the grid input side but I expected the inverter continue measuring grid and load powers at night. Thanks a lot for your comments.
December 23, 20223 yr On 2022/11/13 at 12:57 AM, JuanH said: For future posterity, it is the "Modbus SN" setting in the advanced menu. Will require a restart of the inverter to take effect, had a firmware update today and I was no longer getting the data into HA, found this and made the change and now getting data again, yay... strange that the setting was the same on the previous firmware version so I guess they've update the firmware to actually check that now... Just for info, when I changed that Modbus SN setting to be "01" and pressed the OK button my inverter went into fault mode and it disconnected the power to the essential load and I had to do a complete power off and reset on to get it functioning again, but at least I'm getting the data again...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.