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
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
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?
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
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.
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?
I know it's not the most processor intensive task, but will updating that variable every minute not burden Indigo too much?
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
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.
Re: Clock plugin to display time in control page
Fantastic. Thank you Jay