Hi there - setting up my new Blue series switches and am having some trouble getting my switches to respond lights as expected. Here’s the setup:
Home Assistant
Conbee II Zigbee Stick
MagicLight Wifi Bulb
Blue Series single pole with neutral wire
The switch is set to smart bulb mode and “disable relay click on off mode” is also enabled. I created an automation using a simple scene for the smart lightbulbs in the room triggered by “Up press”. Pressing up once seems to turn the switch on, but not trigger the scene. A second press triggers the scene and turns on the light.
Looking at the logs it seems that the “switch opening was opened” but a scene wasn’t triggered. I thought smart bulb mode would keep the opening open, is there another setting I’m missing so I don’t have to “wake” the switch to start a scene? Is it possible I didn’t install the switch correctly?
service: scene.turn_on
target:
entity_id: scene.downstairs_bathroom_lights_on
metadata: {}
mode: single
Thanks for taking a look! I’m still finagling with the settings and parameters and there must be a setting I’m missing.
A “failure” (ie. click up with no scene triggered) still says that the “switch opening was opened” and “switch light turned on”, but the event is never fired. On the second press, the zigbee event is fired and it performs as expected with the automation and scene. Trying to figure out how to bypass this “wake” - the logs are showing the opening open, so the connection to HA is still there, it just doesn’t seem to be sending the event trigger.
How much is going on in the scene to turn on those lights? What happens if you change the automation to just turn the lights on instead of turning on the scene? (I recognize this takes away the versatility of reusing scenes, etc, just something to check)
Otherwise, anything in the logs with a warning when you press it the first time? Mode=single won’t run if the automation is considered active.
Good question. Just tried and yielded the same result with trying to trigger the entities directly vs. the scene. The switch is opened by clicking the up button but the zigbee event “Up press” isn’t triggered. No warnings in the logs unfortunately, sharing screenshots of the logs so you can see the difference below:
Up Press 1:
Up Press 2:
The process seems to be:
Up press one:
Switch opening was opened
Switch light turned on (doesn’t actually turn on any lights, just “wakes” the switch and readies for an event)
Up press two:
Up press zigbee event fired
Scene triggered
Switch opening closed
Switch light turned off
Also not quite sure why firing the “up press” event a second time would close the switch opening. Is there a way to have the opening and light in an “always on” state? Maybe I’m misunderstanding what “switch opening” represents…
Also if you go into Developer Tools > Events > Listen to events > “*” > Start Listening and then click the button again, do you see anything on either the first or the second attempt?
For reference, it should look like (ignore the time difference, repeated events for comparison -
Logbook:
Not expecting it to be directly related, but just for confirmation…how are you running HA and what are you running it on? Also using an extension cable with the conbee II? Any other zigbee devices currently and if so do you have similar ‘lag/waking’ with those?
I’ll be getting my HA instance over to 2022.10.5 later today and have a prod blue set up to compare with on my end as well fyi.
Running HA on a Raspberry Pi (I know, not ideal and may eventually migrate to an old PC) and not currently using an extension cable, but the switch is only 6 ft away. I have 3 other zigbee devices (all Blue Series switches) connected. Currently experiencing a similar “lag” issue with the switches that are connected to smart bulbs. No lag with the switch connected to a regular bulb that’s not set to “smart bulb mode”.
I’m seeing HA respond and make logs on the initial “up press” to open the switch, so HA seems to be communicating with the switch on that first click, just not sending the desired zigbee event.
The reason for the extension cable (especially with the Raspberry Pi) is you’ll actually get interference with the coordinator from the usb3 ports even if you aren’t plugged into one. I don’t think that’s what’s going on here, but you’ll likely get better Zigbee performance down the line by changing that.
So 4 Blue Series switches, 3 are set to smart bulb mode? And all of those experience the same issue, but the non smart bulb mode one sends events on the first press?
Roger that re the extension cable, seems like a good thing to invest in for the future.
Correct on all points in the second paragraph. All 3 set to smart bulb mode, all experiencing the same “lag” issue, non-smart bulb one is sending events on the first press.
I misspoke: the up press on the non-smart bulb turns on the light (dumb light) but still doesn’t trigger a zigbee event. The light turns on because it’s a dumb light, but fails to trigger a scene.