Clock plugin to display time in control page

Forum rules

This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo

Posted on
Mon Oct 08, 2012 7:57 pm
davvi offline
User avatar
Posts: 110
Joined: Sep 27, 2011
Location: Austin, TX

Clock plugin to display time in control page

What's the best way to display a clock on a control page? Is there a plugin that happens to have the time as one of it's variables?

Posted on
Tue Oct 09, 2012 7:58 am
jay (support) offline
Site Admin
User avatar
Posts: 18260
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Clock plugin to display time in control page

Just create a variable to hold the time, then create a schedule that repeats as frequently as you want, and use the "Insert Timestamp into Variable" action in the Action Collection to update it. Then just display that variable on your control page. No extra plugin required.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Oct 09, 2012 10:54 am
davvi offline
User avatar
Posts: 110
Joined: Sep 27, 2011
Location: Austin, TX

Re: Clock plugin to display time in control page

Thanks Jay!

I know it's not the most processor intensive task, but will updating that variable every minute not burden Indigo too much?

Posted on
Tue Oct 09, 2012 11:02 am
jay (support) offline
Site Admin
User avatar
Posts: 18260
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Clock plugin to display time in control page

Once a minute? Nah. We have some plugins that are updating device states every couple of seconds. The processing from the Indigo server side is pretty much identical for a variable update and a device state update.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Oct 09, 2012 7:14 pm
davvi offline
User avatar
Posts: 110
Joined: Sep 27, 2011
Location: Austin, TX

Re: Clock plugin to display time in control page

Fantastic. Thank you Jay

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 4 guests