-
Hi there, firstly thank you for this integration. I was using it over the LAN connection to my H1. As I want to control the BMS, I purchased the Waveshare POE server and followed the directions precisely to set it up. I have wired 485A to pin 4 and 485B to pin3 in the inverter. Also used a multi meter to ensure I had a good connection. When setting up the modes in HA, using the correct IP address and the port, I am getting: Error connecting to your adapter or inverter. Ensure the adapter is properly configured and is correctly wired to your inverter (see the setup link above), then try again. Details: Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 4 bytes (0 received). I think I'm getting a TCP connection to the Waveshare but may not be getting any data from the inverter. Any ideas? Thank you! Daz. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
That's what it looks like to me as well. What you've described looks correct also. Check the slave ID on the inverter is correct (Settings -> Communication -> RS485 -> Device ID) -- it should be 247. Other than that I'm not sure I've got anything to suggest apart from the obvious: make sure that all of the settings are correct, that you've definitely got the IP of the waveshare, that you didn't break a connection or wire when you plugged the connector back into the inverter, etc. Most of these sorts of questions seem to be resolved with "A wire fell out" or similar. |
Beta Was this translation helpful? Give feedback.
-
If you were using the LAN connection, you need to disable the ethernet on your inverter before the RS485 will work. Common mistakes are the RS485A(4) must be wired to A of the device, and RS485B(3) to B and also with the Waveshare there are often settings errors, always double check them, particularly those which relate to TCP_Server, Transfer protocol being Modbus_TCP to RTP, and the device port being 502. It is best to test using modpoll first from a laptop or desktop connected the the same subnet, You can download that from here if you don’t have it - Then issue this command at the command prompt - And hopefully you should get a response |
Beta Was this translation helpful? Give feedback.
-
Ok, I found the issue. I have two Waveshares - the other is for my other property subject to this solution working. I swapped them out and it's working. Thank you very much both Antony and Dave. I am now able to control my BMS settings - I really didn't want to plug in the WiFi adapter again! So the bit we learned in addition to the solution is that the H1 6.0 E version 0.59 does not have a LAN port enable/disable and does affect the Waveshare integration using 485A and 485B. |
Beta Was this translation helpful? Give feedback.
-
It was a fault Waveshare - all of the settings were correct and I had reset to default to check before configuring again. I'll return the bad one. Reference to the LAN port to discussion with Dave as he had suggested that the LAN port had to be disabled before using the 485 pins - but in my case there wasn't a setting and the 485 pins worked regardless. |
Beta Was this translation helpful? Give feedback.
Great, glad you’ve got it working ok 👍
Before you send the faulty one back, if you have updated the firmware it has been known to scramble it’s config - if you put a link across then NC pins for more than 5 seconds, it will factory default and ‘usually’ it works afterwards 😃