Enable/Disable email notification
We have a vacation home and sometimes want to turn off email notifications while we are there. I have email set up with the relay system, and it works great. I am using IndigoDomo HA software and could easily set up an AppleScript (or python) to enable/disable email, but I just don't know where to begin, or if it is even possible. I'd like to avoid UI scripting if possible, but if needed I guess that could be done. Any advice?
Comments
-
One easy method is to simply manually set Actions mode for this camera to the "Unarmed 24/7" schedule while you are there. This can be done in the macOS interface (via any video windows, Cameras Info window, or Schedule Setter), or the iOS interface (click the "A" button while viewing the camera full screen), or the web interface (Live section while viewing the camera).
If you want an AppleScript to link to your home automation system, this one enables Actions:
tell application "SecuritySpy" set schedule "Armed 24/7" camera number 0 mode Actions end tell
And this one disables Actions:
tell application "SecuritySpy" set schedule "Unarmed 24/7" camera number 0 mode Actions end tell
Camera numbers can be obtained from the Camera Info window (click the header bar where you see the column names to add/remove columns).
-
Thanks for the reply. If I understand correctly, I would need to disarm the cameras to stop email notification. I was hoping to continue SS detections, just not get notifications. Is that possible? I suppose I could manually go into SS and delete the relay service.
-
My instructions above are for disarming Actions mode only, not recording. Actions are things like notifications, alarms, scripts and so on - basically everything under Settings > Cameras > Actions, plus iOS notifications.
For more information, see the Recording and Schedules section of the user manual.
