Temp sensor widget background change color by temp?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
silliman
Posts: 1
Joined: Wednesday 17 August 2022 11:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Temp sensor widget background change color by temp?

Post by silliman »

Hi everybody.

Is it possible to make temperature sensor's widget background color change when temperature changes above or below certain threshold? For an example, background goes red when sensor's temperature exceeds certain value.

I would like to know if it can be added and in the case if it could be added, then how? I ain't much of a coder, so examples are very appreciated.

Thanks in advance for all answers!


P.S. I have put an image with an red arrow in it as additional information, just in case.
widgetbox.png
widgetbox.png (7.94 KiB) Viewed 207 times
User avatar
waltervl
Posts: 5909
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Temp sensor widget background change color by temp?

Post by waltervl »

This is not possible. There is no function in Domoticz to set a background for a specific device nor on specific values.
You can send (popup/email/telegram/sms etc) notifications on specific values/thresholds with the notify button See wiki https://www.domoticz.com/wiki/Managing_ ... ifications

To add a function for changing background color will have to be a major change as it also needs to have to store the threshold values.
Perhaps it could be an addition to the notification functionality to change the widget background color?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest