Dziś po południu w dziwnych okolicznościach przestało działać zigbee2mqtt. W domu zabrakło prądu z tym że bramką mam podłączoną do UPS. Tak więc brak prądu dotyczył jedynie urządzeń końcowych. Zasilanie przywrócone po kilku minutach . Bramka straciła kontakt z urządzeniami zigbee. Urządzenia wifi i integracje po lanie działają prawidłowo. Wykonałem restart bramki ale to nic nie pomogło. W logach cykliczne komunikaty o błędach.
27|zigbee | You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
27|zigbee | TypeError: Cannot read property ‘end’ of undefined
27|zigbee | at MQTT.disconnect (/data/data/pl.sviete.dom/files/home/zigbee2mqtt/lib/mqtt.js:93:21)
27|zigbee | at processTicksAndRejections (internal/process/task_queues.js:97:5)
27|zigbee | at async Controller.stop (/data/data/pl.sviete.dom/files/home/zigbee2mqtt/lib/controller.js:194:9)
PM2 | pid=11223 msg=failed to kill - retrying in 100ms
PM2 | pid=11223 msg=failed to kill - retrying in 100ms
PM2 | pid=11223 msg=failed to kill - retrying in 100ms
PM2 | pid=11223 msg=failed to kill - retrying in 100ms
PM2 | pid=11223 msg=failed to kill - retrying in 100ms
PM2 | pid=11223 msg=failed to kill - retrying in 100ms
PM2 | pid=11223 msg=failed to kill - retrying in 100ms
PM2 | pid=11223 msg=failed to kill - retrying in 100ms
PM2 | pid=11223 msg=failed to kill - retrying in 100ms
PM2 | pid=11223 msg=failed to kill - retrying in 100ms
PM2 | pid=11223 msg=failed to kill - retrying in 100ms
PM2 | pid=11223 msg=failed to kill - retrying in 100ms
PM2 | pid=11223 msg=failed to kill - retrying in 100ms
PM2 | pid=11223 msg=failed to kill - retrying in 100ms
PM2 | pid=11223 msg=failed to kill - retrying in 100ms
PM2 | Process with pid 11223 still alive after 1600ms, sending it SIGKILL now…
PM2 | App [zigbee] with id [27] and pid [11223], exited with code [0] via signal [SIGKILL]
PM2 | pid=11223 msg=process killed
2|ais | 2021-03-21 08:59:53 INFO (MainThread) [homeassistant.components.ais_usb] [stdout]
2|ais | [PM2] Applying action deleteProcessId on app [zigbee](ids: [ 27 ])
2|ais | [PM2] zigbee ✓
Use pm2 show <id|name> to get more details about an app
2|ais | 2021-03-21 09:02:39 INFO (MainThread) [homeassistant.components.ais_usb] [stderr]
2|ais | [PM2][ERROR] Process zigbee not found
32|zigbee | Zigbee2MQTT:info 2021-03-21 09:02:53: Logging to console only’
32|zigbee | Zigbee2MQTT:info 2021-03-21 09:02:53: Starting Zigbee2MQTT version 1.17.1 (commit #99274c7)
32|zigbee | Zigbee2MQTT:info 2021-03-21 09:02:53: Starting zigbee-herdsman (0.13.59)
PM2 | Stopping app:zigbee id:32
32|zigbee | Zigbee2MQTT:error 2021-03-21 09:03:06: Failed to call ‘OnEvent’ ‘stop’ (TypeError: Cannot read property ‘getEntries’ of null
32|zigbee | at Function.loadFromDatabaseIfNecessary (/data/data/pl.sviete.dom/files/home/zigbee2mqtt/node_modules/zigbee-herdsman/dist/controller/model/device.js:216:55)
32|zigbee | at Function.all (/data/data/pl.sviete.dom/files/home/zigbee2mqtt/node_modules/zigbee-herdsman/dist/controller/model/device.js:236:16)
32|zigbee | at Controller.getDevices (/data/data/pl.sviete.dom/files/home/zigbee2mqtt/node_modules/zigbee-herdsman/dist/controller/controller.js:268:31)
32|zigbee | at Zigbee.getClients (/data/data/pl.sviete.dom/files/home/zigbee2mqtt/lib/zigbee.js:145:30)
32|zigbee | at OnEvent.stop (/data/data/pl.sviete.dom/files/home/zigbee2mqtt/lib/extension/onEvent.js:23:42)
32|zigbee | at Controller.callExtensionMethod (/data/data/pl.sviete.dom/files/home/zigbee2mqtt/lib/controller.js:382:44)
32|zigbee | at async Controller.stop (/data/data/pl.sviete.dom/files/home/zigbee2mqtt/lib/controller.js:190:9))
32|zigbee | Zigbee2MQTT:error 2021-03-21 09:03:06: Not connected to MQTT server!
32|zigbee | Zigbee2MQTT:error 2021-03-21 09:03:06: Cannot send message: topic: ‘zigbee2mqtt/bridge/state’, payload: 'offline
32|zigbee | Zigbee2MQTT:info 2021-03-21 09:03:06: Disconnecting from MQTT server
32|zigbee | You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
32|zigbee | TypeError: Cannot read property ‘end’ of undefined
32|zigbee | at MQTT.disconnect (/data/data/pl.sviete.dom/files/home/zigbee2mqtt/lib/mqtt.js:93:21)
32|zigbee | at processTicksAndRejections (internal/process/task_queues.js:97:5)
32|zigbee | at async Controller.stop (/data/data/pl.sviete.dom/files/home/zigbee2mqtt/lib/controller.js:194:9)
PM2 | pid=12190 msg=failed to kill - retrying in 100ms
PM2 | pid=12190 msg=failed to kill - retrying in 100ms
PM2 | pid=12190 msg=failed to kill - retrying in 100ms
PM2 | pid=12190 msg=failed to kill - retrying in 100ms
PM2 | pid=12190 msg=failed to kill - retrying in 100ms
PM2 | pid=12190 msg=failed to kill - retrying in 100ms
PM2 | pid=12190 msg=failed to kill - retrying in 100ms
PM2 | pid=12190 msg=failed to kill - retrying in 100ms
PM2 | pid=12190 msg=failed to kill - retrying in 100ms
PM2 | pid=12190 msg=failed to kill - retrying in 100ms
PM2 | pid=12190 msg=failed to kill - retrying in 100ms
PM2 | pid=12190 msg=failed to kill - retrying in 100ms
PM2 | pid=12190 msg=failed to kill - retrying in 100ms
PM2 | pid=12190 msg=failed to kill - retrying in 100ms
PM2 | pid=12190 msg=failed to kill - retrying in 100ms
PM2 | Process with pid 12190 still alive after 1600ms, sending it SIGKILL now…
PM2 | App [zigbee] with id [32] and pid [12190], exited with code [0] via signal [SIGKILL]
PM2 | pid=12190 msg=process killed
2|ais | 2021-03-21 09:03:08 INFO (MainThread) [homeassistant.components.ais_usb] [stdout]
2|ais | [PM2] Applying action deleteProcessId on app [zigbee](ids: [ 32 ])
2|ais | [PM2] zigbee ✓
Natomiast w logach od @domex nie widzę tego co w logach @jszkiela. Nie robiłeś może ostatnio jakichś update’ów pakietów apt?
Wpisz w konsoli i pokaż co Ci zwróciło polecenie:
Odpaliłem stare Arduino. wszystko idzie prawidłowo ale nie mogę znaleźć objcopy.exe Może ktoś podrzucić gotowy CC2531ZNP-Prod.bin.? Ewentualnie skąd pobrać objcopy.exe?