Is there a way to trigger a rule when DST/PST changes?
I have a clock on my Zigbee thermostat with a clock, and this morning it showed the old time. No prob, I was able to go into devices and click 'set the clock' and that worked.
I want this to happen automatically (this is all about home automation after all) but I can't find trigger that works either on DST/PST changes, or "first Sunday in November or (the other one).
I can go off on a rant about how dumb DST changes are, but I need to stay focused.
I am thinking I can setup a cron job on a desktop somewhere to trigger an http get endpoint trigger to set any dumb clocks on the HE network.
Why not simply create a RM Rule that runs every Sunday morning at ~2:15am to set the clock on these devices? That way, they will always have the correct time, regardless of when DST changes occur.
One way of detecting if you have a Hub Information v3 device - the day before the DST change the sunrise and sunriseTomorrow will differ by β₯ 1 hour instead of the normal minute or 2. timeZone attribute should have the start/end month(need to add 1) and day in the JSON.