Yesterday at 03:37 AM1 day @bmercier I had to authenticate recently and made a note to see if I can catch that condition via program. I already test the node server status for being offline. Is being offline also potentially an indication authenticate required? I don't think it does as I didn't get a notification in recent case. To that end, I wrote following 3 programs. Would they catch it at least within an hour? Also, is best practice to test each ring device for offline in addition to the node server (read other posts where they are not necessarily the same-- none of my Ring devices are battery powered)Ring:Ring Test Results_Run At Startup - [ID 014F][Parent 01F5][Run At Startup]If- No Conditions - (To add one, press 'Schedule' or 'Condition')ThenRun Program 'Ring:Ring Test Poll Results' (Then Path)Else- No Actions - (To add one, press 'Action')Ring:Ring Test Poll Results - [ID 0150][Parent 01F5]IfTime is Last Run Time for 'Ring:Ring Test Poll Results' + 1 hourThenSet 'Ring / Ring' Test RingElse- No Actions - (To add one, press 'Action')Ring:Ring Test Poll Results Evaluation - [ID 0152][Parent 01F5]If'Ring / Ring' Test result is Ring Auth. FailureOr 'Ring / Ring' Test result is TimeoutOr 'Ring / Ring' Test result is FailureThenSend Notification to 'JPaulText' content 'Ring NodeServer Failure'Else- No Actions - (To add one, press 'Action') Edited yesterday at 03:49 AM1 day by hart2hart
11 hours ago11 hr None of these will help.The connection status just means that the plugin is connected to MQTT or not - this basically tells you if the plugin is running or not.The test actually tests a few things, but it will not catch the case where authenticaton is required.The only ways I can think of at this time:Try to turn on/off a floodlight. It will fail if not authorized. But since floodlights don't have a status property, I don't know how you could catch that error programmatically.If acceptable, you could delete one of the device, then trigger a discovery on the controller. But I don't know how you could test for the presence or not of a device.That's an interesting case.
Create an account or sign in to comment