this post was submitted on 31 Mar 2024
16 points (100.0% liked)

homeassistant

12210 readers
37 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 2 years ago
MODERATORS
 

Recently, the lights in my office have been becoming randomly unresponsive, with no change to the setup/environment. They're the only zigbee devices in the mesh that behave this way, and they're also the closest to the gateway.

HA, Z2M, and NodeRed don't show any errors, and the states from the lights/Z2M are toggling, but the bulb itself doesn't do anything. For example, the light is physically on, but HA says it's off. I have to turn the light on in HA, and then when I turn it off the light also turns off.

The bulbs are all Tradfri (one is an RGBW, one standard ccww, the other is a large globe ccww). They are in an HA-defined group and are also controlled by the Adaptive Lighting add-on (other lights controlled by adaptive lighting do not experience this issue)

HA and Z2M are up to date, no firmware updates available for the bulbs, and the controller is a cc2652-stick from Slaesh. Everything is running in Docker on a Debian server. HA is the Container/Core version, not HA OS. The dongle is on a short extension and sits above the server and networking gear.

I'm at a loss as to why these would suddenly begin misbehaving.

Ninja edit: I realized that I did add an aqara 4-button switch in the room recently, but it's not used for those lights. But that's the only change I've made to the zigbee network recently. I'm fairly sure it was added after I noticed this issue, though.

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 8 months ago (1 children)

I've had this exact thing happen to me and the solution was so odd I didn't find it for MONTHS.

It was that Tradfri bulbs (some at least) won't transition. So if you have say Adaptive Lighting for example slowly transitioning your bulbs to new colours and brightnesses through the day when the lights are supposed to turn off, then they say they're off but they're physically on.

So turn any transitions off on those bulbs and see if that sorts it out.

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago)

I was actually thinking about this again today, and wondering if it was an adaptive lighting issue. I'll give that a go and see what happens.

Edit: came across this: https://github.com/basnijholt/adaptive-lighting#bulb-bulb-specific-issues

Just configured it as described, so we'll see...

[–] [email protected] 2 points 8 months ago (1 children)
[–] [email protected] 1 points 8 months ago (1 children)

I did channel switching a while ago, and nothing has changed in that area.

There's a possible bug in the latest Z2M release, which lines up with when my troubles started. Sounds like a fix is in the works, so hopefully that will resolve things.

[–] [email protected] 2 points 8 months ago (1 children)

I'm curious how many devices are on your Zigbee network.

[–] [email protected] 1 points 8 months ago (1 children)
[–] [email protected] 1 points 8 months ago

Not enough to be a problem. I think things can get unstable around 100-150 devices.