-
-
Notifications
You must be signed in to change notification settings - Fork 28.6k
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
Log flooded with "disconnected from Rflink, reconnecting", HA unresponsive. #16516
Comments
When the ser2net server is stopped, behaviour is as expected. DSMR starts giving connection errors also and rflink honours the Reconnect_interval of 30 seconds:
However, after starting ser2net service on the Pi, the flooding resumes and reconnect_interval seems to be ignored:
|
Ok - I found the cause. There was a problem with the ttyUSB1 permission on the ser2net Pi. DSMR was on ttyUSB0 and working fine, RFlink on ttyUSB1. Ser2net would close the connection immediately after HA opened it. Fixing the ttyUSB1 permissions also fixed the flooding. However, honouring the reconnect interval in these cases still might not be a bad idea to prevent flooding and hanging. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 |
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍 |
Home Assistant release with the issue:
0.77.3 (updated today, previous installed version (0.75.x) was the same.
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Ubuntu/venv.
Component/platform:
https://www.home-assistant.io/components/rflink/ . TCP mode.
Description of problem:
Yesterday I replaced a raspberry Pi 1 with a raspberry zero W. This raspberry acts as an serial gateway with ser2net for rflink, mysensors and P1. The log is flooded by rflink connection errors:
Homeassistant gets unresponsive and hangs. That's why I disabled the rflink compononent for now.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):reconnect_interval: and wait_for_ack: were added today. They do not seem to make any difference.
/etc/ser2net.conf:
The previous ser2net Pi had a wired connection. These "disconnected from Rflink, reconnecting" errors were showing frequently (like every 30 mins or so)., but not causing any serious effects.
The text was updated successfully, but these errors were encountered: