Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.17k stars 1.68k forks source link

Random delays in network #11574

Closed bla2020 closed 2 years ago

bla2020 commented 2 years ago

What happened?

I have experienced from some time random delays in my home networks. As an example:

Trying to turn on light using button but there is no reaction so while trying to press it again few times seems like all messages are received making the light turn on/off quickly

This is quite annoying when occurs. I am using docker image of zigbee2mqtt with my own automation (node-red) (running on raspberry PI) I have tried some of advices on the forum but this didn't help much. Those delays are really random and can take from ~2 to 5 seconds while turning on/off light or relay. the

What did you expect to happen?

To have always delay between MQTT message and turning on light or relay below 1 second.

How to reproduce it (minimal and precise)

I was able to reproduce it on my laptop with windows 10 minimal setup:

  1. local zigbee2mqtt (1.23.0) running from cmd
  2. docker eclipse-mosquitto:1.6.14
  3. mqtt.fx 1.7.1
  4. TS011F power socket

I am using simple script runned from mqtt.fx whitch toggles relay every 500ms

This is a fresh instance. I have tried it with different channels with similar result.

Zigbee2MQTT version

1.23.0

Adapter firmware version

20211217

Adapter

LAUNCHXL-CC26X2R1

Debug log

bl_zigbee2mqtt.log bl_SerialSniff.log bl_configuration.txt

Around 19:30:20 it can be seen that Messages are sent but no reaction then around 19:30:22 they arrive making quick switching

github-actions[bot] commented 2 years ago

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