Page 1 of 1

Disable notifications

Posted: Wednesday 09 March 2016 10:13
by Teknor
Dear Forum,
I have a few sensors which are configured to notify me (Pushbullit on iOS and email) and when certain things happen. I.e. PIR sensor notifies when motion is detected. This is currently configured under the Notification menu item on each PIR switch.
notification.png
notification.png (19.53 KiB) Viewed 1687 times
How can I easily disable the notifications, preferably with "one click"?

I have created a script which stops the MotionEye video surveillance software (sudo service motioneye stop) when I trigger a dummy switch, but have not figured out how to do this with notifications.

Any advise or guidance would be greatly appreciated.

Re: Disable notifications

Posted: Wednesday 09 March 2016 10:45
by Egregius
Create a dummy switch 'notifications' and use that in an IF statement of any scripting language (blockly, lua, php,...)

Re: Disable notifications

Posted: Wednesday 09 March 2016 12:55
by Teknor
Thanks, any idea where I can find a sample script I can modify to suit my needs? Unfortunately, I'm not good at programming scripts from scratch (yet).