Just got my HE and super excited. Playing around with my first rule and struggling way more than I thought I would. This is insanely simple and I'm sure I'm doing something stupid as a first-timer. Help please!
I'm hoping to get my bathroom motion sensor to trigger a smart plug in my bathroom that controls some string lights. I only want this trigger to work between sunset minus 30 mins and 11:15pm. Yet it's been activating all day today and I can't figure it out. Thanks!
Go into device settings thatās reporting your power usage and disable the reporting or set to like 9 hours. You clog up the Hubitat reporting devices that much. Just thought id mention that, I learned that in the beginning pretty quick.
As for the sunset and sunrise it looks like Hubitat is reporting the right time? Iām unsure why its doing that to you, wait for another response from someone else,
I agree with the above that this looks like it should work. The first thing I'd do is just hit the Done button in this app to re-initialize things and see if that helps. If not, creating a new rule and seeing if it has the same issue helps.
...except actually before all of this, I'd make sure your hub's time and location settings are set correctly.
If you have time-based automations that are not performing the desired actions at the correct time (including specific times or times specified relative to sunrise or sunset), verify that your hub's time settings are correct:
Navigate to Settings > Hub Details.
Make sure that Latitude, Longitude, and Time Zone are all correct (or at least reasonably close for the first two). These are used to calculate the sun times you'll also see on this page.
If you had to change anything above: hit Save settings, then do a Settings > Reboot and return to the page after the hub comes back up to verify that Current Hub Time (as of last page load), Sunrise, and Sunset all look correct.
Really appreciate everyone's feedback! I did a reboot and paused and re-did the rule just in case. We're now inside the time frame I wanted it to work, and it's working as it should. Will update you if it keeps turning on tomorrow morning when it shouldn't.
And thank you @michaelmcvay88 I'm going to dig more into that power reporting tomorrow. I figured there was a way to reduce that craziness but wasn't sure. Appreciate the heads up!
Resetting things seems to have worked! Really appreciate everyone's help!
@michaelmcvay88 I tried looking into the power reporting question and couldn't find a lot of direction on how to do it. I was guessing that changing the "event history size" or "state history size" settings might change this, but no luck--still reporting 0W every 30 seconds. Then I found this thread and it sounds like others have this same problem with the TR motion sensors? New: Third Reality Power monitoring plug - #126 by craigspree