Disable notifications

Moderator: leecollings

Post Reply
User avatar
Teknor
Posts: 30
Joined: Monday 08 February 2016 13:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.48
Location: Norway
Contact:

Disable notifications

Post 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 1684 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.
Raspberry Pi 3 | EasyESP NodeMCU v3 | RFXTRX433e | Mysensors NRF24L01 | MotionEYE | PikrellCam
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Disable notifications

Post by Egregius »

Create a dummy switch 'notifications' and use that in an IF statement of any scripting language (blockly, lua, php,...)
User avatar
Teknor
Posts: 30
Joined: Monday 08 February 2016 13:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.48
Location: Norway
Contact:

Re: Disable notifications

Post 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).
Raspberry Pi 3 | EasyESP NodeMCU v3 | RFXTRX433e | Mysensors NRF24L01 | MotionEYE | PikrellCam
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest