Replies: 3 comments 2 replies
-
To be honest, I never heard of that TCP gateway, could be interesting. |
Beta Was this translation helpful? Give feedback.
-
Well, most of users here and in discord seem to be from Europe, Australia or South Africa and brief googling did not lead to any easy source of those gadgets. |
Beta Was this translation helpful? Give feedback.
-
This appears to be an opportunity to sell a lot of 'specialist' RS485 MODBUS converter hardware, when in actual fact all that is needed is a standard $10 Chinese model. Documentation on where and how to physically connect the adapters are in the GoodWe installation manuals available on their website, which it appears many people have overlooked. The software on the PC/computer emulates a standard serial port to talk to the MODBUS interface. Make sure you match your MODBUS port on your software so both ends can actually talk to each other. This is separate from your serial port configuration (baud rate, stop bits, etc). The adapters usually have built in opto isolators and transient suppressors so no need to worry about frying your network equipment by sudden impulses. That is why the RS485 is used in so many industrial situations where the electrical environment is very harsh, and the signal has to travel long distances (up to 1.2 kilometers). Don't forget your terminating resistors need to be on both ends of the RS485 connections to prevent noise ringing of the signal. If you have more than two devices on your MODBUS network (the main reason people go MODBUS and daisy chain them, using the unique port number of each device to individually address them), then only the ones on each end need to be terminated. Try eBay if you are unsure, or if you are in Australia, Altronics have one for around $90 which seems a lot for a simple interface, but that one is very versatile, and probably overkill. See https://www.altronics.com.au/p/d4231-serial-to-ethernet-converter-rs232-422-485-modbus/ or if you understand that RS485 supports very long cable lengths (over a kilometer), use the https://www.altronics.com.au/p/d4231-serial-to-ethernet-converter-rs232-422-485-modbus/ (also found for around $7 on eBay with free postage) at your PC and chop off both ends of the cable to the inverter using the very same twisted pair you would use for Ethernet by adapting it for RS485 use, bypassing your network altogether. All the interfaces that GoodWe supplies are actually all emulating a serial port also, whether by TCP or UDP or MODBUS. Once you understand this, it all falls into place. Whether the physical connection is hard wired or across a local network or the internet, to the the higher software level it all appears as a serial connection. Both ends chat to each other using pre-defined codes to send the appropriate queries and appropriate responses. Death warning: Make sure all your equipment is fully disconnected, and no electricity is flowing. Check with a multimeter to make sure. Work with one hand in your pocket if possible so no possible way an electrical path across your heart will happen should you accidentally plug something in and everything springs into life. Remember that inverter is designed to deliver enough current to power your household, so imagine what it will do to your body. The smell of sizzled flesh when the coroner scrapes your body off the ceiling is not fun. You have been warned!!! I question why something that works needs to be fixed? If the SEMS portal is being updated then your equipment is fully functional - both ends are actually talking to each other - just send the right packets across your network and get the correct data back. Interpreting it is the tricky question. GoodWe have released a number of papers on their website - just a matter of correctly decoding it. Good luck! |
Beta Was this translation helpful? Give feedback.
-
I was wondering if it would be desirable to add communication via Modbus TCP to inverters.
AFAIK the ET supports Modbus/TCP with the LAN adapter and any inverter with RS-485 port can be connected with a Modbus RTU/TCP gateway.
I've added a Modbus RTU/TCP to my Inverter and can read the same registers now via Modbus TCP on port 502.
Might also be an option to add GoodWe Inverters which do not support/use port 8899 ot Home Assistant.
I would be happy to be testing site for that.
Beta Was this translation helpful? Give feedback.
All reactions