Page 1 of 1

any virtual clock device?

Posted: Sunday 22 January 2017 22:12
by giova
Hi all !

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
does this exists somewhere?

thanks for your lightnings.

Image
img1
Image
img2

Re: any virtual clock device?

Posted: Sunday 22 January 2017 23:30
by pvm
You can do this in timers for your device, that's not too far hidden right?

Re: any virtual clock device?

Posted: Sunday 22 January 2017 23:43
by giova
this is what i use for the moment, but it is really not confortable.

Re: any virtual clock device?

Posted: Monday 17 July 2017 20:13
by HomeAutomation
Giova,

I'm also looking for a 'Clock Device'. I currently change te setting of my WakeUp alarm in the Events groep.

Did you find allready another way changing time settings?

Jan Droog