Simple Automation Rules: Unable to turn-off light switches at a specific time

I have (5) Z-wave switches. I'm trying to turn-off a group of light switches at 1130pm every night. When i try to create the rule and select the time, it ignores my entry and simply creates a rule with a rule name of the Current Time. I have tried editing the rule with no luck. When i exit and go back into the rule, the time field is . There's also no way to set AM or PM and it appears that the seconds field isn't used.

Anybody have some insight?

1 Like

Hello, and welcome to Hubitat.

I have not seen this behavior before.

Can you tell us about what device (computer, Android/iPhone) and browser you are using to do this?

And have you checked to be sure you are using 12 hour time in Settings tab, Locations and Modes menu?

1 Like

And a couple of screen shots to illustrate what you're seeing would be helpful.

This time field is the one that is not working for you? You can't click into the fields and enter numbers to set the time, and hit A for AM or P for PM?


New user, they can't post those yet.

1 Like

True...he has to make x number of posts first.

In Settings>Location and Modes my time format is 12h.
I think I figured out part of the issue. In my browser (Firefox on Windows PC), the time shows up as ::__ I kept trying to enter 11:30:00 but it never worked. It turns out that last field (after the 2nd colon) must be AM or PM (really would have saved me a ton of time if this a dropdown box.
I revised the rule...i actually set it for 638pm. Looks like the log captured it correctly:
2021-01-12 06:38:00.068 pm [info] Turn Off Basement Lights at 6:38 PM Turn Off

HOWEVER, the actual switches did not Turn off. They are all Z-wave switches. I can turn them off manually in a dashboard and via Alexa...but the rule that fired (per the log msg) doesn't seem to actually turn them off. Any ideas??

OK peeling the onion on this problem...figured out another issue that explains things. When my switches are turned on manually (at the switch), hubitat still sees them as "off" - so when i send the rule to turn off, it doesn't do anything because it believes them to be "off". When I manually turn the switch "On" and then issue a "poll" in the device, it properly updates the status to "On" - then when the rule runs to turn them "off", it turns them "off". I guess the issue now is, how do i make sure to get updated status for the switch without manually running a poll?...or is there a possibility of creating a rule to re-poll every switch? Thx

IF your devices are Zwave and not Zwave Plus you can use the built-in Polling app. You also could use Rule Machine (it has polling capability) and poll every so often. I would (carefully) use the polling app and see what happens before diving into Rule Machine.

If you poll too many devices too often, you can saturate your Zwave mesh, and cause issues. So I would start with just a couple devices, and if that is OK do a couple more, until you notice problems. Also, I would only poll the really important switches. Things like a closet light you might not want to poll, or at least not at first.