Hi,
I would like my phone to send time and date every night when is next alarm going to happen, f.eks. phone would at 03:00 use tasker to check if and when is next alarm set, and send this info to homeseer like nextAlarm=07:45 21.11.2019 (or in whatever format works best).
Then homeseer would 15min before this time turn on the lights, 10mins before it would reise the shades, and 2min start some music via plex or whatever.
The only solution that comes to my mind is to have a rule running every minute and check if now is the right time to run by comparing current time with virtual "nextAlarm" device.
But perhaps there is some much easier and less "log spamming" solution?
Can we somehow set event time dynamically, so that event engine would basically do this check for us?
I would like my phone to send time and date every night when is next alarm going to happen, f.eks. phone would at 03:00 use tasker to check if and when is next alarm set, and send this info to homeseer like nextAlarm=07:45 21.11.2019 (or in whatever format works best).
Then homeseer would 15min before this time turn on the lights, 10mins before it would reise the shades, and 2min start some music via plex or whatever.
The only solution that comes to my mind is to have a rule running every minute and check if now is the right time to run by comparing current time with virtual "nextAlarm" device.
But perhaps there is some much easier and less "log spamming" solution?
Can we somehow set event time dynamically, so that event engine would basically do this check for us?
Comment