Hi all,
When using the "Notification" feature of a temperature sensor, how do I include the device's temperature value in the message?
This doesn't work : "Temp : {{temperaturedevice[34287]}} "
Thanx
Device values in notification
Moderators: leecollings, remb0
- JeanBonnot
- Posts: 13
- Joined: Tuesday 22 October 2019 17:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.2
- Location: France
- Contact:
- waltervl
- Posts: 7021
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2026.3
- Location: NL
- Contact:
Re: Device values in notification
There is no way to program this from the default Edit Notifications dialog.
You cannot set a custom notification message with parameters. It can be done with for example dzvents scripting.
But the standard message contains already the temperature!
For example: If you set send notification when temperature is above 30 you will get the following notification message when temp is 32:
You cannot set a custom notification message with parameters. It can be done with for example dzvents scripting.
But the standard message contains already the temperature!
For example: If you set send notification when temperature is above 30 you will get the following notification message when temp is 32:
<Your tempdevicename> is 32.0 degrees > 30.0 degrees
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
gerardvs
- Posts: 98
- Joined: Sunday 04 January 2015 0:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest-1
- Location: /dev/null
- Contact:
Re: Device values in notification
You could use: Temp: $valueJeanBonnot wrote: Friday 26 June 2026 9:25 Hi all,
When using the "Notification" feature of a temperature sensor, how do I include the device's temperature value in the message?
This doesn't work : "Temp : {{temperaturedevice[34287]}} "
Thanx
- waltervl
- Posts: 7021
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2026.3
- Location: NL
- Contact:
Re: Device values in notification
Thanks I did not know this and added it to the wiki.
You can use paramerers $name and $value to create your own custom message.
You can use paramerers $name and $value to create your own custom message.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar