Any way to detect when reauthentication is needed? #763
Replies: 1 comment 3 replies
-
In normal operation, it should pretty much never be required to manually re-authenticate. Tokens are long-lived, and refreshed every hour, using the same method used by the Ring app. I've found that about 99% of cases where people think they need to re-authenticate they really just need to restart ring-mqtt. Sometimes, for example, if Ring has an outage, the auth will get kicked out and the app will not be able to recover, even though it has code that attempts to do so. However, a re-start will almost always fix this, I'm not sure why people immediately jump to re-authenticating or restarting HA or other things and don't just restart ring-mqtt itself. I quite literally have only re-authenticated my production setup once in 3 years, and that was because I manually removed the auth from Ring Control Center. This closest you can get to what you want is monitoring if the device is offline or not as any time the websocket is disconnected all devices are set as offline, however, this could happen for many reasons, not just for authentication. |
Beta Was this translation helpful? Give feedback.
-
I have some automations that change the volume of a Ring Base Station, and this is only possible when the auth token is valid from what I've read. Is there a way to detect when reauth is necessary so I can send myself a notification to reauth manually to prevent these automations from not working unexpectedly?
Beta Was this translation helpful? Give feedback.
All reactions