Skip to content
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

New watchdog limits break device reconnects #109

Open
deviantintegral opened this issue Sep 3, 2022 · 1 comment
Open

New watchdog limits break device reconnects #109

deviantintegral opened this issue Sep 3, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@deviantintegral
Copy link
Collaborator

rtl_433 exits if a device fails. For example, a remote rtl_tcp device could be restarting, or a USB radio could have been unplugged.

HA's supervisor has changed so that if 10 restarts happen in 30 minutes, it will no longer restart the addon. That happens pretty quickly in my testing, and the addon ends up being shut down until it's manually started or Home Assistant OS restarts.

home-assistant/supervisor#3779

I've asked for suggestions at https://discord.com/channels/330944238910963714/673545314900377620/1015432911039770774, but I think we may need to wrap our commands in a retry loop instead of relying on the watchdog.

@deviantintegral deviantintegral added this to the Next Release milestone Sep 3, 2022
@deviantintegral
Copy link
Collaborator Author

I'm thinking the best way to solve this is to switch to using s6 dynamic services: https://skarnet.org/software/s6/instances.html

For now, this automation is a good workaround: https://community.home-assistant.io/t/tenacious-watchdog-for-add-ons-example-for-zigbee2mqtt/521888

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant