zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

A lot of Failed to read state and publish state

Open JC38 opened this issue 10 months ago β€’ 6 comments

What happened?

My network is made with a Smlight SLZB-06M controller and 77 Nous - A1Z sockets. All A1Z are connected with availability ok and all last seens below 3 minutes. But some are not sending their state (Failed to read state) or are raising a Publish state error. I have tested all the 2024mmdd Zigbee available firmwares from Smlight, opened a ticket with their support but without solution from their side, except saying that the issue could be Z2M. Regarding Z2M, I built the network with the 2.x and upgraded it with all the official versions. Today, I switch to the dev branch before opening this issue, and the issue is still there.

What did you expect to happen?

I have no idea where the problem is coming from, the controller , the software, the endpoints (all the sames).

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

2.1.1-dev commit: 0d193eb

Adapter firmware version

7.4.5 [GA]

Adapter

EmberZNet firmware 20241127

Setup

Proxmox LXC

Debug log

log.log

JC38 avatar Feb 23 '25 16:02 JC38

Same. Seemed to coincide with setting up DIYhue and updating HA core to 2025.2.5

UPDATE! Turned out to be my unifi 2.4ghz wifi. It randomly flipped to a channel that started causing interference with the zigbee network

hexonMD avatar Feb 23 '25 18:02 hexonMD

It can't be HA as we can see the issue into Z2M without having to get HA running. For the interference, I choose the 25 which is away from the 2.4 Ghz. Here is a screenshot of the map, and the info that are displayed on the right of the Z2M UI I will also add a full log in debug because the first one was only set to record errors.

log2.log

Image

JC38 avatar Feb 24 '25 07:02 JC38

It might help to look at #22516 as this issue has been reported multiple times. The solutions vary from setup to setup.

Perhaps the issue is with device 0xC1A7 (49575)

AlexanderLeporiday avatar Feb 24 '25 13:02 AlexanderLeporiday

Can you check channels usage and existing networks with ember-zli? https://github.com/Nerivec/ember-zli/wiki#installation https://github.com/Nerivec/ember-zli/wiki/Stack#scan-network

Can you also check if specific devices are causing the most errors? From glancing at the network map, I'd say those Nous plugs are probably not liking the depth of the network.

Nerivec avatar Mar 03 '25 00:03 Nerivec

@Nerivec: Thanks for your suggestion. I am not at the office these days (the Zigbee network is in an office building). However, I don’t believe any other Zigbee networks are in use. We are the building owners, and no other company is in it that could have installed something else.

JC38 avatar Mar 05 '25 11:03 JC38

Hello Here is an update about my original issue. I first installed the 2.13 z2m version, but I don't think it really changed the issue but since I have upgraded the Zigbee stack firmware on the controller to the 20250220 version, then the problem disappeared.

Image

During the issue, I also modified the script in charge of switching on/off the Nous. I was repeating the command 8 times ! Today, I am starting to decrease this number and I will see if the commands are received by the sockets.

JC38 avatar Mar 18 '25 13:03 JC38

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar May 18 '25 00:05 github-actions[bot]