-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Addon reading incorrect data after connection is lost #271
Comments
@jacekowski Could you please send me your configuration in VirCOM? I have similar device RS485 TO POE ETH (B) (Din mounted). But no luck with configurations. Addon can't get any data 😢 nvm fixed. I connected wire to the meter port instead of BMS |
Can you upload a screenshot of your RS485 Gateway web config? Are you using Modbus TCP to RTU? |
What protocol options do you have under the multi-host options? |
Modbus TCP to RTU and None |
An option is to use "serial-tcp://" instead of "tcp://". It will allow you to send RTU-over-TCP from the addon. Then you likely need the protocol set to None. |
Issue related to
Sunsynk / mbusd Home Assistant Add-On
Describe the issue/bug
After addon has been running for a while, i get an error in the logs and garbage data starts appearing in HA.
Your environment
My current configuration uses https://www.waveshare.com/wiki/RS232/485/422_TO_POE_ETH_(B) in TCP server mode (UDP mode in it is useless).
It works fine for hours/days and then it doesn't, it looks like it is cause by buffers not being properly flushed
Logs
The text was updated successfully, but these errors were encountered: