Alert notification

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
sarakha63
Posts: 3
Joined: Saturday 27 September 2014 15:22
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: France
Contact:

Alert notification

Post by sarakha63 »

It could be good to have some native notification system for the new alert sensor. I know we can handle that by script. But this will be more intuitive for lambda users ti have it natively in domoticz.

LEt's say options like minimum level of alert to fire the notification . And the notification will give the alert level and it's message.


By the way taht makes me think of something, we don't have the capability to customize those notifications message. The template seems harcoded in the code and is not multilangugae. I'm french and i would be grateful to help and give the translations for all notifications in domoticz. (Are you ok with tha gizmocuz ?)

An other possibility (and by far the best and unfortunately longest to code) would be to customize the notifications integrated in domotociz:

I mean for example i have a temp humdity sensor on which i added a notification for temps lower than 19:

I could write something like : Temperature in bedroom Alert (title)
The temperature in the bedroom is lower than 19°. It is actually $(currentvaluesensor).

This is only an example.


This feature would be great. But at least if you don't want to implement such a feature or while waiting the implementation, i would like to receive my notification in french (actually i bypassed that by not using the integrated sensor/switch notification system, and using lua script instead), but ii would be better to use the integrated system. So i'm really grateful to help if you want me to give you all the translations ;). As all the gui is really really nicely translated, only the notification aren't (i know it is surely because it is not I18n)
My domoticz : DS 412+ synology/ Domoticz beta/AEON stick 2/Rfxtrx433E/Harmony Hub/Fibaro motions/Fibaro RGBs/Oregon sensors/Withings board/Fibaro Dimmers/Philio 3in1/Chacon Plugs/Phenix Plugs/Netatmo Thermostat/Xbmc/lg LM55860V/Yamaha rxv/ SARAH
nmaster
Posts: 54
Joined: Saturday 16 August 2014 17:17
Target OS: Linux
Domoticz version: 3.6304
Contact:

Re: Alert notification

Post by nmaster »

I just added an alert sensor on my system. I agree, it would be usefull to be able to add notification for alert sensor.

I also agree for notification customization.

It would be great to avoid develop too much lua scripts so that domoticz could be configured by users that don't want to cod or don't know how to do.
bernabauer
Posts: 3
Joined: Sunday 06 December 2015 19:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Alert notification

Post by bernabauer »

Notification for alert sensors would be great!
mKotek
Posts: 68
Joined: Wednesday 30 December 2015 23:54
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Poland
Contact:

Re: Alert notification

Post by mKotek »

+1 on notifications on alerts. I am using alerts for QNAP monitoring and I would like to be notified, when drive condition changes or when RAID status changes.
Michal 'Kotek', greetings from Poland. Zapraszam na mój blog o automatyce domowej po polsku: http://www.ukotka.com.
nmaster
Posts: 54
Joined: Saturday 16 August 2014 17:17
Target OS: Linux
Domoticz version: 3.6304
Contact:

Re: Alert notification

Post by nmaster »

Hi,

Is there any update about this feature ?

I tried to add a notification on an alert sensor with no luck.
Condition was: value < 2.

I never get mail notification.
brucemiranda
Posts: 26
Joined: Tuesday 08 August 2017 21:16
Target OS: -
Domoticz version:
Contact:

Re: Alert notification

Post by brucemiranda »

I realise this is an old topic but how do I get Notifications to work on an Alert Sensor?

I'd like to get an email whenever a sensor has a value of more than 0 I.e. No alert.

I can get notifications to work on a Custom Sensor based on the Value of the Custom Sensor. But that same technique isn't working for the Alert Sensor.

I am trying to trigger the Notification using Type Usage, When Greater 0.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Alert notification

Post by waaren »

brucemiranda wrote: Wednesday 05 February 2020 14:09 I'd like to get an email whenever a sensor has a value of more than 0 I.e. No alert.
I can get notifications to work on a Custom Sensor based on the Value of the Custom Sensor. But that same technique isn't working for the Alert Sensor.
What do you mean by 'the same technique' ?
How do you update the alert sensor ?
What is your domoticz version ?


Just tested this on V4.11671 and I receive an Email when
alertDevice is set to notify via Email on greater 1

and after I sent
json.htm?type=command&param=udevice&idx=1016&nvalue=2&svalue=Test
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
brucemiranda
Posts: 26
Joined: Tuesday 08 August 2017 21:16
Target OS: -
Domoticz version:
Contact:

Re: Alert notification

Post by brucemiranda »

My device is being updated within the Domoticz code (SendAlertSensor) and not via a json call.

I've seen that message notification processing was added whenever the AlertSensor is updated via a json call. So does that mean that notifications don't work for devices updated via code?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests