Does it have the timers as Global App Tags?
Because apps that do, like Better logic, allready show a selection list of your own variables/tags so you can change them.
Canât find them, so no I guess
(There are triggercard flowtags however, mostly timer name and timer duration. And it can be any existing timer. I guess itâs saved âin appâ on disk somewhere)
Also, every timer that ran at least once, gets registered as device, while you can install them (but itâs not needed). But, after installing one, still no global app tags to be foundâŚ
.
Running timers (via app configuration)
.
No hurries of course, theyâre just some ideas
Edit
Interesting stuff I think:
HOMEYSCRIPT
In addition to the available flow cards, timers and stopwatches can also be controlled using HomeyScript.
For example, this script will stop all running timers:
let app = await Homey.apps.getApp({id:'nl.fellownet.chronograph'});
app.apiGet('/timers').then(result => {
let timers = JSON.parse(result);
timers.forEach(timer => {
app.apiDelete('/timers/' + timer.id);
});
});
* GET /timers - retrieve a list of all active timers,
* GET /timers/:id - retrieve a single timer,
* PUT /timers/:id - pause or resume a timer,
* DELETE /timers/:id - stops a timer.
* GET /stopwatches - retrieve a list of all active stopwatches,
* GET /stopwatches/:id - retrieve a single stopwatch,
* PUT /stopwatches/:id - pause or resume a stopwatch,
* DELETE /stopwatches/:id - stops a stopwatches.
* GET /transitions - retrieve a list of all active transitions,
* GET /transitions/:id - retrieve a single transition,
* PUT /transitions/:id - pause or resume a transition,
* DELETE /transitions/:id - stops a transition.
What do you have now:
A Device with a Tile that you can click, but it flashes back to the state it was in. It will trigger the flow, you will get a notification.
Also, in the flow that is now in your root, you will See a Set Button to Yes and a Set button to no.
Use them to make the device tile go light or dark.