Files
buryan-infra/docs/architecture/evidence/ZIGBEE-RESTORE-20261203.md
T
architect 15327c104e
lint / hygiene (push) Failing after 29s
lint / hygiene (pull_request) Failing after 36s
standard / check (pull_request) Successful in 13s
[ZIGBEE] restore old database: 2 devices rejoined, network matches
2026-12-03 11:19:19 +03:00

41 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Zigbee restore — 2026-12-03
## Результат
Старая база Z2M восстановлена из `/opt/zigbee2mqtt/database.db` (pve) в CT106:
```text
0x403802fffefc0d2e ZBMINIR2 — SONOFF Zigbee smart switch (Router)
0xacbac0fffebde397 YNDX_00532 — Yandex Double gang switch (EndDevice)
```
Z2M:
```text
[INIT TC] Adapter network matches config.
Currently 2 devices are joined.
Connected to MQTT server.
Frontend :8080.
```
Пароль/сеть не менялись; повторное сопряжение и разбор розеток не нужны.
## Что было причиной
- Z2M/Mosquitto стояли 8–10 дней.
- При старте Z2M с пустой `database.db` сформировал сеть и показывал 0 устройств.
- Старая NDJSON-база сохранилась на pve; восстановлена.
## Ограничение
Восстановлены только устройства, которые были в базе (2).
Если физически есть ещё устройства — их не было в этой базе, нужен pairing, но не разбор.
## Файлы
```text
CT106:/opt/smart-lxc/zigbee2mqtt/data/database.db
CT106:.../database.db.new-20261203 # новая пустая, сохранена
pve:/opt/zigbee2mqtt/database.db # источник старой
```