Why isn't this rule shutting off my light?

Lights go on with no problem, but the off event never triggers.

2022-12-27 15_46_09-CONV-Garage Lights

You have an extra "Else" at the end of the rule - try removing that.

1 Like

Gonna try removing it, but I always have a blank else in all my statements.

Hopefully it works - nothing else jumps out at me as a possible issue. If still not working, maybe try:

If garage on
  Utility on
End-if
If garage off
  Utility off
End-if

There's no reason to do that.

1 Like

I know it doesn't add anything, just a throwback to some coding I used to do, the blank else shouldn't hurt anything.

Just tested, no change. I think I may need to add a poll statement. The "Garage Light" isn't updating it's state when I turn it off. It's a Jasco/GE ZWave light switch.

Ah, yep, if it's an older GE/Jasco (non ZW-Plus), then it'll need a poll for update.

2 Likes

If you want to simplify the rule (after you enabled z-wave polling), you could do this. The end result will be the same:

Trigger: Garage turns on

Actions:
Turn on Utility
Wait for Event Garage turns off
Turn off Utility

1 Like

or this
trigger garage light turns change

if garage light on
on utility room light
else
off utility room light
end if

1 Like

Or use the Mirror app.

1 Like

Hi @hydro311

Thanks for this. I have one GE/Jasco switch that requires a refresh to show the state after a change. Been pulling out my hair (both hairs) on this one!

It’s a Zigbee switch that Jasco sent me as a replacement. I suppose it too may be an older model. My dashboard shows an ā€œhourglassā€ when I click to turn it on.

HI Doug -- if it's a zigbee switch, it shouldn't need polling (plus I don't think polling is even something possible with zigbee).

The need to poll is unique to older/legacy (pre-Plus) z-wave device -- if the device has a "Z-Wave Plus" logo on it, no polling is necessary.

If the switch is indeed zigbee, what driver type did it pair as? The hourglass symbol is often (not always!) an indication of a mis-matched driver.

1 Like

Thanks, @hydro311

The switch in question is using the GE Zigbee Switch driver. I have several in use throughout the house with no such issue.

Not sure if it would help, but I would try a ā€œConfigā€ then ā€œRefreshā€ on a Zigbee switch that has this issue. If that doesn’t work, I would try pairing it again (no need to remove it - it will just take back its initial slot, but may work better). If this doesn’t make a difference, I would try pairing it again, but closer to the hub if possible.

2 Likes

Thanks, @Sebastien

Appreciate the input. Will try your suggestions.

My C7 is about 12 feet from the switch; direct line-of-sight. It serves as a repeater for my mesh.

1 Like

Anything that can cause interference near it like router etc. Did your zigbee or 2.4 wifi recently change channel?

Hi @kahn-hubitat

Thanks. I do have one of my mesh routers close to the C7. It’s been that way since I started in June.

I don’t know if Zigbee channels have changed. I doubt it. I did change my SSID for my WiFi last week (Ecobee issues), but I did not change WiFi channels.

The switch itself works great and automations run well.

Hi all, did a refresh and configure. Seems to be working now. Thank you very much!! :grinning:

3 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.