Selective Notifications from Lua

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.
Post Reply
Bikey
Posts: 423
Joined: Sunday 22 February 2015 13:19
Target OS: Raspberry Pi
Domoticz version: 3.xxx
Location: Netherlands
Contact:

Selective Notifications from Lua

Post by Bikey » Thursday 21 April 2016 12:04

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.

Number8
Posts: 261
Joined: Friday 23 May 2014 7:55
Target OS: Raspberry Pi
Domoticz version: 3.5103
Location: Saint Pierre de Jards
Contact:

Re: Selective Notifications from Lua

Post by Number8 » Thursday 21 April 2016 12:07

I support this idea

seansco
Posts: 10
Joined: Tuesday 01 March 2016 21:51
Target OS: Linux
Domoticz version:
Contact:

Re: Selective Notifications from Lua

Post by seansco » Wednesday 27 April 2016 22:57

me too

User avatar
papoo
Posts: 52
Joined: Friday 22 January 2016 23:14
Target OS: Raspberry Pi
Domoticz version: beta
Location: France
Contact:

Re: Selective Notifications from Lua

Post by papoo » Saturday 07 May 2016 10:40

Nice idea

dhanjel
Posts: 132
Joined: Tuesday 05 August 2014 22:16
Target OS: Linux
Domoticz version: 3.5146
Location: Sweden
Contact:

Re: Selective Notifications from Lua

Post by dhanjel » Saturday 28 May 2016 20:25

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.

Yann
Posts: 7
Joined: Tuesday 17 May 2016 14:42
Target OS: Windows
Domoticz version: 3.5143
Location: France
Contact:

Re: Selective Notifications from Lua

Post by Yann » Wednesday 01 June 2016 19:14

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

RoyT
Posts: 26
Joined: Wednesday 02 December 2015 20:30
Target OS: Raspberry Pi
Domoticz version: beta
Contact:

Re: Selective Notifications from Lua

Post by RoyT » Friday 08 July 2016 21:56

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 :)

trixwood
Posts: 510
Joined: Friday 18 March 2016 8:20
Target OS: -
Domoticz version: Offline
Contact:

Re: Selective Notifications from Lua

Post by trixwood » Friday 08 July 2016 22:04

Would like to see that.
See: viewtopic.php?f=23&t=12617#p90473

bickel
Posts: 19
Joined: Wednesday 14 January 2015 23:16
Target OS: Raspberry Pi
Domoticz version:
Location: Sirjansland, Netherlands
Contact:

Re: Selective Notifications from Lua

Post by bickel » Friday 11 November 2016 21:35

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

User avatar
BazsoDombiAndras
Posts: 87
Joined: Thursday 08 January 2015 10:52
Target OS: Raspberry Pi
Domoticz version:
Location: Cluj-Napoca, Romania
Contact:

Re: Selective Notifications from Lua

Post by BazsoDombiAndras » Wednesday 04 January 2017 13:37

Yes, I also wish this was possible.

squandor
Posts: 200
Joined: Saturday 19 December 2015 23:34
Target OS: Raspberry Pi
Domoticz version: 3.5837
Contact:

Re: Selective Notifications from Lua

Post by squandor » Friday 24 February 2017 14:06

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 :)

dutchdevil83
Posts: 150
Joined: Monday 31 October 2016 20:34
Target OS: Raspberry Pi
Domoticz version: latest
Location: Netherlands
Contact:

Re: Selective Notifications from Lua

Post by dutchdevil83 » Wednesday 08 March 2017 20:43

+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

User avatar
constapel
Posts: 16
Joined: Friday 30 December 2016 22:43
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Selective Notifications from Lua

Post by constapel » Wednesday 08 March 2017 21:44

Yes that would be very nice!

chatainsim
Posts: 79
Joined: Wednesday 25 March 2015 11:46
Target OS: Linux
Domoticz version: v3.8153
Location: France
Contact:

Re: Selective Notifications from Lua

Post by chatainsim » Friday 28 July 2017 14:13

+1 too !

dannybloe
Posts: 1017
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi
Domoticz version:
Location: Ermelo
Contact:

Re: Selective Notifications from Lua

Post by dannybloe » Friday 28 July 2017 14:39

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.

User avatar
G3rard
Posts: 825
Joined: Wednesday 04 March 2015 23:15
Target OS: Linux
Domoticz version: V3.8153
Location: The Netherlands
Contact:

Re: Selective Notifications from Lua

Post by G3rard » Saturday 29 July 2017 10:25

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.
Ubuntu Server 14.04 | Domoticz v3.8153 | RFXtrx433E | Z-Wave Aeotec Z-Stick S2
Frontpage | Sonos PHP | Dark th3me | Sony Bravia Python plugin | Sonos Python plugin

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests