I didn’t know I needed a scheduler, but after returning from a trip this weekend, I think I might.
I want to control Home/Away on my Nest when:
my OwnTracks region (roughly 3 hours in car travel time) transitions to “enter”
at a single instance specific date and time (i.e., not a timer, not a recurring alarm, not a day of the week, nor a certain time of day).
These examples (https://github.com/openhab/openhab1-addons/wiki/AlarmClock) don’t quite fit my scenario.
I searched but did not find whether an “integrated” scheduler is now part of OH2. Is this (https://github.com/foxy82/openhab2-addons/releases/tag/Timer_Alpha1) by @neil_renaud “stable” and supported?
My preference is to keep everything w/in my LAN as much as possible (e.g., calDAV vs. Google Calendar). I realize that the Nest binding requires an external connection, but the less dependent I am on external capability, the better.
I’ve read a bit about the calDAV binding and it seems like another big learning curve for me. I just went through weeks of MQTT, SSL, OwnTracks and rudimentary rules syntax learning and troubleshooting. I’m not sure I’m up to another large undertaking… particularly if what I’m thinking about may either be solved more simply or may have a simple implementation already built-in to recent OH2 releases.
I have OwnTracks regions set up to trigger actions on my Nest thermostat. I feel pretty good about this now being stable… but I found a gap in how I have this set up. The issue is that if I’m traveling without a location update (e.g., on a plane), the region transition doesn’t happen until I land. By this time I’m too close to home. I need a failsafe. The failsafe is to set a specific date and time for when the action must take place if it has not already happened.
Long ago I had set up an IFTTT applet linked to my Google Calendar which then triggers an action on my Nest thermostat. This uses a webhook to invoke the API take the necessary action. The problem with this is that the IFTTT webhook does not support redirection so I have to hard code that into the URL. If Nest changes the redirection then the webhook fails. Monitoring changes to that and updating the IFTTT webhook somewhat defeats the purpose of “automation” - at least the set it and forget it part. Thus, I want to schedule and event in openHAB to take this action locally and rely on the Nest binding (more reliable than hard coding the API via my own webhook) to do the work. I already use the Nest binding so this would just add another trigger to the rule.
Net-net - what is the best way to set up a scheduled event in openHAB?