RFXTRX integration doesn't recover from a dropped network connection to an RFXTRX, requires HA restart
See original GitHub issueThe problem
I have an RFXTRX433 device, connected to Home Assistant via a tcp connection.
This works well in normal operation. However, if the TCP connection is interrupted due to a network issue (e.g. RFXTRX is at a remote location and broadband is interrupted), then Home Assistant loses connection to it. This state can’t currently be recovered from when the network connection is restored without restarting the whole of Home Assistant.
I suggest one of the following is considered:
- The RFXTRX integration with Home Assistant monitors the health of the TCP connection to the RFXTRX, and if it drops, attempts to restart it on a timer
- The RFXTRX integration exposes a
rfxtrx.reconnect
service which can be called by an automation (for example, one could detect a lack of rfxtrx events and use this to trigger the reconnect service)
Environment
- Home Assistant Core release with the issue: 0.114.1
- Last working Home Assistant Core release (if known): N/A
- Operating environment (OS/Container/Supervised/Core): HassOS 4.12
- Integration causing this issue: RFXTRX
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/rfxtrx/
Problem-relevant configuration.yaml
rfxtrx:
host: !secret rfxtrx_ip
port: 2167
automatic_add: true
Traceback/Error logs
Additional information
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:20 (6 by maintainers)
Top Results From Across the Web
RFXTRX Integration and HA reboot problem? - Configuration
I have noticed that my HA instance has started to restart fairly regularly after a few days of stability.
Read more >Help! Home Assistant Won't Restart! (7 Possible Solutions)
1. Check the address · 2. Power cycle your server · 3. Ping your Home Assistant server · 4. Check your configuration with...
Read more >0.113.0b3 New rfxtrx-integration restores switch state to last ...
The problem Trying the new rfxtrx integration with state restoration, at HA restart the switch state is always restored to last state ...
Read more >Home Assistant | I am trying to add 433 mhz switches through ...
Instructions on how to integrate RFXtrx switches into Home Assistant. ... to the previous working (for me) version doesn't help restore functionality.
Read more >MDM lost mode no wifi connection a… - Apple Developer
It looks like the device is in a special "Lost Mode". Is this normal? How can I disable the lost mode now, when...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Still a valid issue for me. Even reload does not work for me.
When sending a command to my cover:
Still valid