display on/off Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

display on/off

Post by pvklink »

Hi,

I have a switch (regen) that turns on blue when it is (going) to rain. I use this switch for my irrigationsystem

The switch displays:
the name: regen
date: last updated
status: On/OFF

Is it possible to show the name, update_date but NOT the ON/OFF --> i can see that by the color blue that appears when it is on.
With the current block properties this combination is not possible...
when i set hide_data to true, the update_date also disappered, this date is important
Naamloos.png
Naamloos.png (4.68 KiB) Viewed 1072 times
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
pvklink
Posts: 822
Joined: Wednesday 12 November 2014 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: latest b
Contact:

Re: display on/off

Post by pvklink »

problem is solved
blocks[1423]['textOn'] = '';
blocks[1423]['textOff'] = '';
Raspberry (raspbian on rpi 3) , Domoticz Beta, dzVents , RFXtrx433e, P1, Hue, Yeelight, Zwave+, X10, ESP(easy), MQTT,Weather Underground, System Alive Checker, Domoticz Remote Server to RPI with Google Assistant,
Jablotron connection, Ikea
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest