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.

Moderators: leecollings, remb0

Post Reply
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Selective Notifications from Lua

Post 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.
Number8
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

Post by Number8 »

I support this idea
Debian buster on NUC and three RPi with buster.
seansco
Posts: 19
Joined: Tuesday 01 March 2016 20:51
Target OS: Linux
Domoticz version:
Contact:

Re: Selective Notifications from Lua

Post by seansco »

me too
User avatar
papoo
Posts: 126
Joined: Friday 22 January 2016 22:14
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10
Location: France
Contact:

Re: Selective Notifications from Lua

Post by papoo »

Nice idea
dhanjel
Posts: 102
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 »

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: 12
Joined: Tuesday 17 May 2016 14:42
Target OS: Windows
Domoticz version: 2020.2
Location: France
Contact:

Re: Selective Notifications from Lua

Post by Yann »

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: 16
Joined: Wednesday 02 December 2015 19:30
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Selective Notifications from Lua

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

Re: Selective Notifications from Lua

Post by trixwood »

Would like to see that.
See: viewtopic.php?f=23&t=12617#p90473
bickel
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

Post 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
User avatar
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

Post by BazsoDombiAndras »

Yes, I also wish this was possible.
squandor
Posts: 213
Joined: Saturday 19 December 2015 22:34
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5837
Contact:

Re: Selective Notifications from Lua

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

Post by dutchdevil83 »

+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: 15
Joined: Friday 30 December 2016 21:43
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Selective Notifications from Lua

Post by constapel »

Yes that would be very nice!
chatainsim
Posts: 101
Joined: Wednesday 25 March 2015 10:46
Target OS: Linux
Domoticz version: v4.11307
Location: France
Contact:

Re: Selective Notifications from Lua

Post by chatainsim »

+1 too !
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: Selective Notifications from Lua

Post by dannybloe »

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: 669
Joined: Wednesday 04 March 2015 22:15
Target OS: -
Domoticz version: No
Location: The Netherlands
Contact:

Re: Selective Notifications from Lua

Post 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.
Not using Domoticz anymore
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest