Ring Alarm Set Mode


#1

1) Give a description of the problem
I wrote a simple Piston to address out Ring Security System. I’m basing it off my cell phones presence. When my presence changes to not present I want to set our Ring Alarm to Away. When my presence changes to present I want to set our Ring Alarm to Home. So far it work not 100% of the time. It may set the alarm to away, but when I return home it never set’s it to Home.

BTW, I’m using Life360 with Life360+ in Hubitat.

2) What is the expected behaviour?
When I leave set the alarm to Away. When I return set the Alarm to hime.

3) What is happening/not happening?
It sometimes set’s it to Away but It never changes it back to home when I come home

4) Post a Green Snapshot of the pistonimage

5) Attach logs after turning logging level to Full
9/30/2023, 2:38:06 PM +298ms
+9ms ╔Received event [Home Sweet Home].test = 1696099086298 with a delay of 1ms, canQueue: true, calledMyself: false
+110ms ║RunTime initialize > 108 LockT > 1ms > r9T > 84ms > pistonT > 81ms (first state access 13 m:23 11 97)
+123ms ║Runtime (8720 bytes) initialized in 84ms (v0.3.114.20230809_HE)
+127ms ║╔Execution stage started
+147ms ║║Comparison changes_to = false (event device/attr eXcluded)
+150ms ║║Condition #2 evaluated false (14ms)
+151ms ║║Condition group #1 evaluated false (condition did not change) (16ms)
+157ms ║║Comparison changes_to = false (event device/attr eXcluded)
+161ms ║║Condition #6 evaluated false (8ms)
+165ms ║║Condition group #5 evaluated false (condition changed) (10ms)
+170ms ║╚Execution stage complete. (43ms)
+179ms ╚Event processed successfully (171ms)
9/30/2023, 2:14:30 PM +732ms
+7ms ╔Received event [Wayne].presence = present with a delay of 383ms, canQueue: true, calledMyself: false
+25ms ║RunTime initialize > 23 LockT > 1ms > r9T > 4ms > pistonT > 0ms (first state access 11 m:18 8 15)
+41ms ║Runtime (6486 bytes) initialized in 4ms (v0.3.114.20230809_HE)
+45ms ║╔Execution stage started
+60ms ║║Comparison (enum) present changes_to (string) not present = false (1ms)
+63ms ║║Condition #2 evaluated false (12ms)
+67ms ║║Condition group #1 evaluated false (condition changed) (16ms)
+74ms ║║Comparison (enum) present changes_to (string) present = true (1ms)
+77ms ║║Condition #6 evaluated true (7ms)
+80ms ║║Condition group #5 evaluated true (condition changed) (11ms)
+285ms ║║Executed device command [Ring Virtual Alarm Hub].setMode(Home) (198ms)
+295ms ║╚Execution stage complete. (250ms)
+308ms ╚Event processed successfully (302ms)

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

The WC code seems ok, and from the logs it seems be doing what you want. Could it be an issue with the ring integration? i.e the WC command to set the mode to home is not working.


#3

Well since Life360 integration stopped working and seems like it never coming back I changed over to a simple Alexa geofence location using a virtual switch. If I run the Alexa routine that say I left home my Ring Security system gets set to Away and Armed. But doing the same for when I arrive back home the command to set the Ring Security Alarm to Disarmed is executed but does not get set in Ring.

I really wish the developer would step in and see if he can resolve the issue.


#4

You can always look at


#5

Or HD+


#6

Just a little update, I have switched over to GEOFency and it is working perfectly. I have it on both my phone and my wife’s. So far so good.

As far as the Ring alarm setting it to home that still is not working for me.

What is HD+?


#7

HD+ is an android dashboard app for Hubitat that allows geofencing. I don’t use the geofencing part of it, so you may have to scan the user group to see if it fits your needs.