Page 1 of 1

Selective Notifications from Lua

Posted: Thursday 21 April 2016 12:04
by Bikey
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.

Re: Selective Notifications from Lua

Posted: Thursday 21 April 2016 12:07
by Number8
I support this idea

Re: Selective Notifications from Lua

Posted: Wednesday 27 April 2016 22:57
by seansco
me too

Re: Selective Notifications from Lua

Posted: Saturday 07 May 2016 10:40
by papoo
Nice idea

Re: Selective Notifications from Lua

Posted: Saturday 28 May 2016 20:25
by dhanjel
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.

Re: Selective Notifications from Lua

Posted: Wednesday 01 June 2016 19:14
by Yann
Would love it - I had to use "functions library" to produce something similar, should be definitely something native

Re: Selective Notifications from Lua

Posted: Friday 08 July 2016 21:56
by RoyT
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

Posted: Friday 08 July 2016 22:04
by trixwood
Would like to see that.
See: viewtopic.php?f=23&t=12617#p90473

Re: Selective Notifications from Lua

Posted: Friday 11 November 2016 20:35
by bickel
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

Re: Selective Notifications from Lua

Posted: Wednesday 04 January 2017 12:37
by BazsoDombiAndras
Yes, I also wish this was possible.

Re: Selective Notifications from Lua

Posted: Friday 24 February 2017 13:06
by squandor
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 :)

Re: Selective Notifications from Lua

Posted: Wednesday 08 March 2017 19:43
by dutchdevil83
+1 on this one

Re: Selective Notifications from Lua

Posted: Wednesday 08 March 2017 20:44
by constapel
Yes that would be very nice!

Re: Selective Notifications from Lua

Posted: Friday 28 July 2017 14:13
by chatainsim
+1 too !

Re: Selective Notifications from Lua

Posted: Friday 28 July 2017 14:39
by dannybloe
It's already in the latest beta. If you use dzVents you can use all these settings domoticz.notify()

Re: Selective Notifications from Lua

Posted: Saturday 29 July 2017 10:25
by G3rard
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.
That is indeed already possible (at least in beta). Check this viewtopic.php?t=14884#p116009.