This is an additional child app for the Super Tile Parent
You also need an additional driver
OK.. what does it do..
Super Tile Countdown has two functions.
- A countdown timer for a tile
- A countdown to a particular date & time
For example
You can use mode 1 for an entry display - counting down for 60 seconds
You can use mode 2 as a display countdown to a birthday or other event.
You need to create a virtual device using the driver "Super Tile Countdown" from here:
https://github.com/CobraVmax/Hubitat/tree/master/Drivers/Super%20Tile
Then install the app code "Super Tile Countdown" from here:
https://github.com/CobraVmax/Hubitat/tree/master/Apps/Super%20Tile
Once the code is installed you can create a new child app directly from the parent app
Next... select a function..
Then select the virtual device that you created earlier
(In this example, I'm creating a 30 second countdown tile)
Next...
Configure your start/stop triggers
In this example.. I want to start an HSM timer on arming away
You can also restrict this 'Start' my current location mode
Once this is complete..
Configure the 'Stop' in the same way
Once the start/stop has been configured..
There are a couple more options..
You have the option to 'superimpose' this countdown onto another super tile.
So.. for example, you could have a weather tile which changes to a countdown then reverts once the count has finished
You would just configure the super tile device you want to temporarily overwrite
Like this...
You have a further option to control a switch for the duration of the count...
Next.. is the logging level
After 30 mins 'Debug' logging automatically reduces to 'Info'
After a further 24hrs, 'Info' automatically changes to 'None'
Obviously the final config is the child app name.
Here is an example of both a stand alone tile and one superimposed upon a tile showing the current mode
OK... the second mode is for a date/time countdown..
You can set this as a one off (maybe a future holiday) or a recurring date like a birthday
You also have the option to display some text at the end of the countdown when using this mode
Like this...
In this example, 24hrs after the count has finished the count will start again for next year (because I enabled this switch..
Here is an example output for this type of super tile..
**Updated:** 16/06/2019 New driver (V1.1.0) and child app (V1.2.0) to GitHub This incorporates a 'Minutes' option which will display minutes until the last minute, whereby it will then countdown from 60 seconds.
Ok... that's about it!
My thanks, as always to @Royski for his usual beta testing patience and also this time to @dan.t for additional bug reports
Questions/comments as always are welcome.
Andy