Can this API Silence/Unsilence motion events? #1346
Replies: 2 comments 13 replies
-
Yes and no. The challenge with phone alerts is that those settings are stored per device. Another device (in this case the ring-client-api) cannot directly control the notifications on another device (your phone). That said, this api can control the Location Mode settings. You might be able to get creative with the "Home"/"Away"/"Disarmed" settings so that they send the alerts in Home/Away mode, but not in Disarmed. Then you could use this API to temporarily enter Disarmed mode when the door opens. It's not a perfect solution, but might work better than your packet blocking at the network layer 😄 |
Beta Was this translation helpful? Give feedback.
-
Another alternative, if you don't want to use Modes, you can completely enable/disable motion detection while the door is open. In ring-mqtt I implemented this as a per-camera switch visible in Home Assistant to toggle motion detection on/off, same as the switch in the Ring app. This is probably a cleaner solution than blocking network traffic as it will also appear clearly in the Ring app that motion detection is enabled/disabled. You can see the code to do this in setMotionDetectionState() function in ring-mqtt. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to make my ring doorbell suck less.
I live in a house with multiple adults and multiple dogs. None of us need our phones to beep any time one of us walks one of the dogs.
So I put a hall-effect sensor in the door frame on an RPI. And I was about to us that to DROP/ACCEPT the ring's traffic in the home firewall. But I came across this API and I thought maybe it would be cleaner to use an API to adjust notification settings in realtime than to block traffic.
My goal is that if the door has been opened, motion alerts stop. It should still serve the purpose of alerting me to visitors. But if someone inside goes outside first, then no alerts.
Beta Was this translation helpful? Give feedback.
All reactions