Motion Snooze #425
Replies: 7 comments 5 replies
-
It could also be accomplished by using HA for notifications instead of the Ring app, which is what a lot of people seem to do, since that gives you complete control of notifications however you want. I believe it should also be possible by using the modes function, which is already supported in ring-mqtt, since it allows you to control notifications for different cameras based on the set mode (Home mode vs Away Mode for example), although there is a current report that this isn't working right now for some unknown reason (it's been supported for over 2 years, so not sure why it would be suddenly not working, but who knows, it's not a feature that I actually use). Unfortunately, toggling these other advanced motion options are not currently available via native ring-client-api functions, and, while it's completely possible to call custom functions, someone has to do the API exploration/reverse engineering work to figure out the specific API calls required and it's not something I have the time to dig into at this point. If someone else wants to dig into these options to determine the required API calls, I'm certainly open to adding these types of functions. |
Beta Was this translation helpful? Give feedback.
-
I tried working with modes, but that seems to toggle “motion detection” not “motion alerts”. But maybe I am misunderstanding the setting or it has something to do with the current problem? |
Beta Was this translation helpful? Give feedback.
-
Maybe here: python-ring-doorbell/python-ring-doorbell#126 |
Beta Was this translation helpful? Give feedback.
-
Completely understand. Hopefully it can go on the roadmap! My suggestion would be to toggle a schedule named “24-7” with a 12:00am-12:59pm or have the user make their own schedule in the app and then allow the user to define an attribute with the name to be published via mqtt as part of the toggle. I’m happy to test whenever you get around to it, thanks for the quick responses! |
Beta Was this translation helpful? Give feedback.
-
Or if users make their own schedules in app, you pull the ruleId list for each camera at startup and then have HA create a binary_sensor for each ruleId |
Beta Was this translation helpful? Give feedback.
-
Yeah, I'm not too crazy about either of those approaches honestly. Creating a schedule feels too intrusive as I wouldn't like the behavior if I ran some script from the internet one time and it just made a bunch of schedules for each of my cameras, even if they were turned off by default, but perhaps a more palatable option is to create the schedule automatically only once the feature is ever toggled on the first time. Using the existing schedules seems OK, but they can be created and removed at any time which means I'd really need to enhance the dynamic nature of the script, something I've often wanted to do, but haven't really had time to do to this point (the framework is there, and it wouldn't be THAT hard, but it's the testing of all of the cases that really scares me). It would also be difficult to maintain sync between HA and the Ring app because, for example, if ring-mqtt wasn't running at the time, and a schedule was removed using the Ring app, this schedule wouldn't be discovered by ring-mqtt during the next run but it would just hang around as a ghost in HA since it was previously discovered. Of course I could store such schedules in the state file and use that to clean up, but it's just more complication. I'm not sure what the right answer is here, maybe I can come to terms with the idea of automatically creating a snooze schedule, but my initial thought was that, if a user wants this specific feature, they would have to manually create a schedule with a specific name (perhaps "Automated Snooze" or something like that) and, if ring-mqtt found that specific schedule for a camera, it would create the binary sensor. |
Beta Was this translation helpful? Give feedback.
-
You can simply include switches in your dashboard to enable or disable whatever funtionality you want, and in the code wherever that functionality is handled, simply add a check on whether or not the appropriate switch is enabled or disabled (and such items can then be ignored if disabled). I have started adding this kind of functionality to my dashbopards for enabling and disabling a variery of processes. Although this has in the beginning of my automation journey started to make things increasingly complicated, I have also reduced that issue by replacing sets of redundant code I had to reuse in different automations - with calls in each case to a generic script (with in some cases a large number of parameters). This has made the entire situation much more elegant (and easier to maintain). Make sure the scripts are always set to be able to run in parallel with a large limit of instances. In some cases I now have dozens of automations all calling one script for a bunch of the logic. Hope that helps! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be nice to be able to snooze motion notifications (globally or at device level). For example, when I'm home I would like motion events to still record, I just don't want to keep receiving the alerts on my phone. This could be accomplished by creating a switch that enables/disables a Device Schedule (Motion Schedule) from 12am-12:59pm. It looks like their is some variables related to motion_snooze and schedule_settings in the data dump. Maybe this is possible?
Beta Was this translation helpful? Give feedback.
All reactions