
Zigbee2MQTT Retain vs state.json: What Survives a Restart
Separate MQTT retain, state.json cache and availability when Home Assistant, Zigbee2MQTT or the broker restarts. Includes current replay behavior and checks.

Separate MQTT retain, state.json cache and availability when Home Assistant, Zigbee2MQTT or the broker restarts. Includes current replay behavior and checks.

Map Zigbee2MQTT state, SET/GET, availability and bridge topics. Check supported properties, retained data and advanced.output formats for your MQTT clients.

Diagnose Zigbee2MQTT OTA failures and stalled progress: current abort/retry steps, battery checks, firmware sources and coordinator errors.

Renaming a Zigbee2MQTT device changes its MQTT topic instantly but not its Home Assistant entity IDs. What breaks, what doesn't, and how to rename safely.

Zigbee2MQTT lost every device after a restart, or database.db is 0 bytes? What the file stores, why it happens, and how to recover before re-pairing.

Tuya TS011F metering missing or stale? Identify the reporting, polling or non-metering variant, then check Zigbee2MQTT settings and communication.

Aqara or Xiaomi plug showing 0W or N/A in Zigbee2MQTT or ZHA? Two documented reporting faults, the firmware trap to avoid, and how to tell them apart.

Zigbee2MQTT has five per-device options for noisy state updates. What debounce, throttle, and the filter options each do, and which one fits your device.

Understand Zigbee2MQTT's last_seen timestamp, distinguish communication from fresh sensor reports, and build a Home Assistant communication-age alert.

Troubleshoot Zigbee2MQTT interview failures by checking the failed discovery stage, reset state, battery, interference and model-specific pairing instructions.