Zigbee end devices and slow to update lovelace sensor entities?

Im in the midst of moving everything to zigbee, and it’s a great deal faster. Although i’m not yet convinced on the wireless range (wifi seems to greatly win, especially with all the extenders/bulbs/zigbee routers i need to place for zigbee) but at least i have local control so not relying on a app or the internet.

i guess speed is the great advantage (if power goes down i have no internet, but i also have no bulbs, so zigbee is really only helping with locks, and other battery powered end devices (the zigbee routers are down ofcourse). So i guess the advantage of zigbee in a nutshell is local device control, speed and not relying on internet. I guess all valid points. But i still wish wifi would just allow for local control rather then having to rekit the house with zigbee. Anyway i digress.

Now with tuya and lovelace the sensors were always updating slow. But with zigbee i had somehow hope the sensors would update quick if i physically turned off a switch. But it’s taking minutes, if at all. Maybe i configured something wrong ? Is it setting in zigbeemqtt ?

Sounds like something’s wrong. How are you connecting the Zigbee devices?

Locally connected Zigbee sensors like a switch, door sensor, motion sensor, etc should be reflected without perceptible delay.

Some sensors for constantly changing values like temperature, humidity, wattage, etc may limit their reporting interval to every few seconds.

There’s something wrong. How many wall powered devices do you have. How many battery powered devices? What kind of coordinator are you using?

Conbee II. ZigbeeMqtt. I guess about 12 bulbs, 3 different types. 2 sonoff smart plugs, and maybe 10 or so end devices.

So we are saying that when one switches off the physical light switch:

  • lovelace should immediately update the state?

and vice versa, if we turn the switch on:

  • lovelace should immediately update the state? yeah i didn’t get that yesterday. i have to test with different bulbs. as with below comment, i feel it seems to have to do with different brand zigbee bulbs.
    – the bulb should come on immediately? i have intermittent success with this actually. i haven’t figured out if this is because the light was previously set to virtually off or not. i also suspect it has to do with the type of bulb.

I do have to also note my mesh is not stable yet, some lights are still switched off by others in the household so i guess i should test if it works if all lights/routers are on.

If this is any assurance; I’m using a Conbee II, ZHA, 50 bulbs of 3 brands (Cree, Singled, GE), a couple dozen sensors, a half dozen remotes and a half dozen plug-in sockets/routers. Things work fast (except those damn GE bulbs which I am replacing). Yes, I noticed when I made major changes, the “mesh” could take a day or two to heal and settle down… it took some tweaking (moving some of my routers around the house), binding my remotes to target lights… but all in all, life is good.

1 Like

Hmm good to know. So just to be clear, you switch off a bulb physically by using the lightswitch on the wall, lovelace reflects immediately? And switching on as well ?

Or do you never switch off by lightswitch, always by a remote ?

If you mean flipping a non-smart switch that physically cuts power to a zigbee bulb, then there will be delay waiting for the Zigbee coordinator to realize the bulb is missing. The bulb can’t update anything itself once power is cut. I would expect the bulb status to go to unavailable, not off.

Likewise when applying power back to the a zigbee bulb, there would be a little “boot delay” when the bulb powers up, but I would expect that to be on the order of a second or two at most, not minutes.

If your flipping a zigbee smart switch, the status update for the switch should be immediate.

I generally use smart switches with dumb bulbs. The few smart bulbs I do use are only in a couple of places I want color control and are continuously powered.

When I do use the “dumb” wall switch that powers the bulb, I have to toggle it once before the bulb reacts to the physical switch.

Yeah, non-smart switch flip. I’m intending to use smart switches as well, but i’m surprised it can take up to 30 minutes i guess for lovelace to update that the bulb is not available when flipping the non smart switch.

Oh sure, the bulb will react immediately, but lovelace dashboard doesn’t. Not for turning on, or off.