Page 1 of 1

Show user variable as virtual switch?

Posted: Sunday 23 April 2023 13:38
by Solderbro
Hope this is even possible, found no way to to do it.

My domoticz have user variables that change in dependency of illumination and temperatures. They only exist in much blockly and dzvent scripts, to change behavior. I would like to see these user variables on the for example counter page in the gui, to watch the internal status.

Any ideas how to solve that?

Re: Show user variable as virtual switch?

Posted: Sunday 23 April 2023 14:17
by JeroenG
Should not be that difficult I think:

1. Create a dummy sensor from type Text
2. Write the value of the variable to this sensor at the moment it's changed in your script
3. Add the sensor to your dashboard.