tgr
(Thomas Gregersen)
January 11, 2018, 11:27am
15
I know this thread is a few months old, but I just stumbled across this entry describing another way of changing icons dynamically if anyone should be interested:
For the one that serves him, I could solve it.
I made a major mistake in the item
Number FanWifiicon “Fan Icono [SCALE(wifilevel.scale):%s]” {mqtt="<[broker:tele/acuario/principal/temperatura/STATE:state:JSONPATH($.Wifi.RSSI)]"}
I assumed that the value of the item was between 0 and 4 since that was what it showed. But in reality it had the value that the mqtt delivered
Resolved:
Number FanWifiLevel "Fan Wifi Level: RSSI [%d %%]" {mqtt="<[broker:tele/acuario/principal/temperatura/STATE:stat…