Selective Notifications from Lua
Moderators: leecollings, remb0
-
- Posts: 331
- Joined: Sunday 22 February 2015 12:19
- Target OS: Linux
- Domoticz version: 2020.x
- Location: Netherlands
- Contact:
Selective Notifications from Lua
In LUA we have the following command to send notifications:
commandArray['SendNotification']='subject#body#priority#sound'
What I would like to be able to select which notification-systems must be activated. Basically just like it is possible to configure this for switches/sensors in the GUI after choosing the "notification" button.
So the command would be:
commandArray['SendNotification']='subject#body#priority#sound#notificationsystems'
So an additional parameter, which then contains one or more systems from the list: clickatell, email, http, kodi, lms, nma, prowl, pushalot, pushbullet, pushover.
commandArray['SendNotification']='subject#body#priority#sound'
What I would like to be able to select which notification-systems must be activated. Basically just like it is possible to configure this for switches/sensors in the GUI after choosing the "notification" button.
So the command would be:
commandArray['SendNotification']='subject#body#priority#sound#notificationsystems'
So an additional parameter, which then contains one or more systems from the list: clickatell, email, http, kodi, lms, nma, prowl, pushalot, pushbullet, pushover.
-
- Posts: 374
- Joined: Friday 23 May 2014 7:55
- Target OS: Linux
- Domoticz version: 2022.1
- Location: Saint Pierre de Jards
- Contact:
Re: Selective Notifications from Lua
I support this idea
Debian buster on NUC and three RPi with buster.
-
- Posts: 102
- Joined: Tuesday 05 August 2014 22:16
- Target OS: Linux
- Domoticz version: 3.5146
- Location: Sweden
- Contact:
Re: Selective Notifications from Lua
Any updates on this? Would really like to send just to HTTP (Telegram) and not email when for instance the dishwasher is done, without having to do that with external scripts.
-
- Posts: 12
- Joined: Tuesday 17 May 2016 14:42
- Target OS: Windows
- Domoticz version: 2020.2
- Location: France
- Contact:
Re: Selective Notifications from Lua
Would love it - I had to use "functions library" to produce something similar, should be definitely something native
HP Microserver + Domoticz + Aeon Labs Z-Wave USB +RFX433
-
- Posts: 16
- Joined: Wednesday 02 December 2015 19:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Contact:
Re: Selective Notifications from Lua
This would be great. I use SMS for when the smoke detectors go off (so it also works without a data connection), but I'd rather not send other notifications to both my wife and I over SMS 

Re: Selective Notifications from Lua
Would like to see that.
See: viewtopic.php?f=23&t=12617#p90473
See: viewtopic.php?f=23&t=12617#p90473
-
- Posts: 12
- Joined: Wednesday 14 January 2015 22:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Sirjansland, Netherlands
- Contact:
Re: Selective Notifications from Lua
I Also support this idea. The purpose for me is that i'd like to send all alerts to myself, some alerts to my wife or kids so it would be great if i could make that difference.
Gr,
Ronald
Gr,
Ronald
- BazsoDombiAndras
- Posts: 56
- Joined: Thursday 08 January 2015 9:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version: v4.10717
- Location: Cluj-Napoca, Romania
- Contact:
Re: Selective Notifications from Lua
Yes, I also wish this was possible.
-
- Posts: 213
- Joined: Saturday 19 December 2015 22:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5837
- Contact:
Re: Selective Notifications from Lua
i was just looking for this function but sadly it doesn't exists already but i to support this idea.
Everytime someone pushes the doorbell it will send an notification to my telegram but now it will send it to all my notifications
So great idea and can't wait to test it
Everytime someone pushes the doorbell it will send an notification to my telegram but now it will send it to all my notifications

So great idea and can't wait to test it

-
- Posts: 130
- Joined: Monday 31 October 2016 19:34
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Netherlands
- Contact:
Re: Selective Notifications from Lua
+1 on this one
Hardware
1x Raspberry Pi
1x Razberry Z-Wave
1x RFXtrx433E
1x Toon
1x GoodWe Solarpanels
2x FGSD-002 Smoke Detector
1x FGBS-001 Binaire Sensor (RFID lezer)
7x FGMS-001 Motion Sensor
3x ZW089 Verzonken Deursensor
7x NC Wallplug
&lots of KaKu stuff
1x Raspberry Pi
1x Razberry Z-Wave
1x RFXtrx433E
1x Toon
1x GoodWe Solarpanels
2x FGSD-002 Smoke Detector
1x FGBS-001 Binaire Sensor (RFID lezer)
7x FGMS-001 Motion Sensor
3x ZW089 Verzonken Deursensor
7x NC Wallplug
&lots of KaKu stuff
- constapel
- Posts: 15
- Joined: Friday 30 December 2016 21:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Selective Notifications from Lua
Yes that would be very nice!
-
- Posts: 101
- Joined: Wednesday 25 March 2015 10:46
- Target OS: Linux
- Domoticz version: v4.11307
- Location: France
- Contact:
Re: Selective Notifications from Lua
+1 too !
-
- Posts: 1355
- Joined: Friday 29 August 2014 11:26
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Ermelo
- Contact:
Re: Selective Notifications from Lua
It's already in the latest beta. If you use dzVents you can use all these settings domoticz.notify()
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: Selective Notifications from Lua
That is indeed already possible (at least in beta). Check this viewtopic.php?t=14884#p116009.Bikey wrote:In LUA we have the following command to send notifications:
commandArray['SendNotification']='subject#body#priority#sound'
What I would like to be able to select which notification-systems must be activated. Basically just like it is possible to configure this for switches/sensors in the GUI after choosing the "notification" button.
So the command would be:
commandArray['SendNotification']='subject#body#priority#sound#notificationsystems'
So an additional parameter, which then contains one or more systems from the list: clickatell, email, http, kodi, lms, nma, prowl, pushalot, pushbullet, pushover.
Not using Domoticz anymore
Who is online
Users browsing this forum: No registered users and 1 guest