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

Battery devices leaving network #17371

Closed adams-family closed 1 year ago

adams-family commented 1 year ago

What happened?

With zigbee2mqtt:latest frunning from hub.docker.com and using a SONOFF ZigBee 3.0 Dongle E USB stick EFR32MG21, all my battery devices randomly leave the network for good, usually in 1-24 hours after pairing.

Only repairing solves the problem.

The fastest to leave the network are Ikea switches (such as: IKEA E1524/E1810)

What did you expect to happen?

Battery devices should stay on the network.

How to reproduce it (minimal and precise)

Zigbee2MQTT version

1.30.1

Adapter firmware version

6.10.3.0 build 297

Adapter

SONOFF ZigBee 3.0 Dongle E USB (coordinator type EZSP v8)

Debug log

Zigbee2MQTT:warn 2023-04-12 20:52:10: Device 'IkeaSwitchKitchen' left the network
Zigbee2MQTT:info 2023-04-12 20:52:10: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"left_network","meta":{"friendly_name":"0xccccccfffe9e9ccc"},"type":"device_removed"}'
Zigbee2MQTT:warn 2023-04-17 10:04:22: Device 'TuyaThermometer5' left the network
Zigbee2MQTT:info 2023-04-17 10:04:22: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"left_network","meta":{"friendly_name":"0xa4c1385d6c29dccc"},"type":"device_removed"}'
kirovilya commented 1 year ago

why don't you update z2m and try on it before writing an issue?

adams-family commented 1 year ago

@kirovilya Because I'm running the latest from hub.docker.com

kirovilya commented 1 year ago

@adams-family please update to 1.30.3 at least, or to edge/dev version

adams-family commented 1 year ago

@kirovilya How can I do it in docker?

I'm running:

docker compose build         # doesn't do anything, since I'm up to date
docker compose up -d

My docker-compose.yml:

version: '2.1'

services:
  zigbee2mqtt:
    image: koenkk/zigbee2mqtt
    restart: always
    volumes:
      - ./zigbee2mqtt_data:/app/data
      - /run/udev:/run/udev:ro
    devices:
      - /dev/ttyACM0:/dev/ttyACM0
    ports:
      - 8080:8080
kirovilya commented 1 year ago

@adams-family https://www.zigbee2mqtt.io/guide/installation/02_docker.html#updating

adams-family commented 1 year ago

@kirovilya I've upgraded to koenkk/zigbee2mqtt:latest-dev version from hub.docker.com.

kirovilya commented 1 year ago

@adams-family "edge" = "dev" :) what is bug? show logs

adams-family commented 1 year ago

@kirovilya As per my first post:

What happened?

With zigbee2mqtt:latest frunning from hub.docker.com and using a SONOFF ZigBee 3.0 Dongle E USB stick EFR32MG21, all my battery devices randomly leave the network for good, usually in 1-24 hours after pairing.

Logs

Zigbee2MQTT:warn 2023-04-12 20:52:10: Device 'IkeaSwitchKitchen' left the network
Zigbee2MQTT:info 2023-04-12 20:52:10: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"left_network","meta":{"friendly_name":"0xccccccfffe9e9ccc"},"type":"device_removed"}'
Zigbee2MQTT:warn 2023-04-17 10:04:22: Device 'TuyaThermometer5' left the network
Zigbee2MQTT:info 2023-04-17 10:04:22: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"left_network","meta":{"friendly_name":"0xa4c1385d6c29dccc"},"type":"device_removed"}'
github-actions[bot] commented 1 year 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

adams-family commented 1 year ago

All right guys, I couldn't wait anymore and frankly got a bit frustrated about the answers in this topic.

Replaced Z2M with an Ikea Dirigera, working flawlessly. Leaving this topic as I don't have Z2M anymore, can't be of any help over here.

github-actions[bot] commented 1 year 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

philipyoungg commented 11 months ago

Maybe I should have move to dirigera too. Had the same issue.