I'm a beginner with domoticz. I've read that we can create user variables of type TIME to manage some scripts, that is great.
Now i'm wondering if there is a way to create a virtual clock device.
Rather than going to sub-sub-sub menus to edit a variable, i'd like to have a nice widget with an icon displaying a cute clock showing setted time(see img1 as example), when we click on it we should be able to change its time thanks to a beautyfull interface (see img2 as example)... then i'll be able to build a script_time like this:
Code: Select all
tWakeup = otherdevices['My_clock'] // =='08:00'
tnow = os.time()
if(difference(tnow,tWakeup) == 0) blablabla
thanks for your lightnings.
img1
img2