Re: [Модуль] zigbee2mqtt (zigbee2mqtt)
Добавлено: Вс окт 25, 2020 7:57 pm
Справку совсем не читаете. Смотрите раздел справки модуля "Управление устройствами из методов и сценариев".
Код: Выделить всё
Service: * zigbee2mqtt.service - zigbee2mqtt
Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2020-11-28 17:37:42 MSK; 56min ago
Main PID: 18632 (npm)
Tasks: 23 (limit: 9390)
Memory: 91.1M
CGroup: /system.slice/zigbee2mqtt.service
|-18632 npm
|-18660 sh -c node index.js
`-18661 node index.js
Nov 28 18:27:46 pi-Default-string npm[18661]: at Generator.next ()
Nov 28 18:27:46 pi-Default-string npm[18661]: at fulfilled (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:24:58)
Nov 28 18:27:46 pi-Default-string npm[18661]: (node:18661) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
Nov 28 18:27:46 pi-Default-string npm[18661]: (node:18661) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Nov 28 18:31:05 pi-Default-string npm[18661]: (node:18661) UnhandledPromiseRejectionWarning: Error: SREQ '--> AF - dataRequestExt - {"dstaddrmode":2,"dstaddr":"0x000000000000fffd","destendpoint":242,"dstpanid":0,"srcendpoint":242,"clusterid":33,"transid":17,"options":0,"radius":30,"len":6,"data":{"type":"Buffer","data":[25,18,2,11,254,0]}}' failed with status '(0x02: INVALID_PARAM)' (expected '(0x00: SUCCESS)')
Nov 28 18:31:05 pi-Default-string npm[18661]: at Znp. (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:291:27)
Nov 28 18:31:05 pi-Default-string npm[18661]: at Generator.next ()
Nov 28 18:31:05 pi-Default-string npm[18661]: at fulfilled (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:24:58)
Nov 28 18:31:05 pi-Default-string npm[18661]: (node:18661) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
Nov 28 18:32:43 pi-Default-string npm[18661]: Zigbee2MQTT:debug 2020-11-28 18:32:43: Saving state to file /opt/zigbee2mqtt/data/state.jsonМало информации для помощиVneo писал(а): Сб ноя 28, 2020 6:36 pm Кто сталкивался с такой проблемой и знает как ее решить, zigbee2mqtt запускается работает какое-то время, потом падает с такой ошибкой
Код: Выделить всё
Service: * zigbee2mqtt.service - zigbee2mqtt Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; enabled; vendor preset: enabled) Active: active (running) since Sat 2020-11-28 17:37:42 MSK; 56min ago Main PID: 18632 (npm) Tasks: 23 (limit: 9390) Memory: 91.1M CGroup: /system.slice/zigbee2mqtt.service |-18632 npm |-18660 sh -c node index.js `-18661 node index.js Nov 28 18:27:46 pi-Default-string npm[18661]: at Generator.next () Nov 28 18:27:46 pi-Default-string npm[18661]: at fulfilled (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:24:58) Nov 28 18:27:46 pi-Default-string npm[18661]: (node:18661) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) Nov 28 18:27:46 pi-Default-string npm[18661]: (node:18661) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. Nov 28 18:31:05 pi-Default-string npm[18661]: (node:18661) UnhandledPromiseRejectionWarning: Error: SREQ '--> AF - dataRequestExt - {"dstaddrmode":2,"dstaddr":"0x000000000000fffd","destendpoint":242,"dstpanid":0,"srcendpoint":242,"clusterid":33,"transid":17,"options":0,"radius":30,"len":6,"data":{"type":"Buffer","data":[25,18,2,11,254,0]}}' failed with status '(0x02: INVALID_PARAM)' (expected '(0x00: SUCCESS)') Nov 28 18:31:05 pi-Default-string npm[18661]: at Znp. (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:291:27) Nov 28 18:31:05 pi-Default-string npm[18661]: at Generator.next () Nov 28 18:31:05 pi-Default-string npm[18661]: at fulfilled (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/znp/znp.js:24:58) Nov 28 18:31:05 pi-Default-string npm[18661]: (node:18661) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) Nov 28 18:32:43 pi-Default-string npm[18661]: Zigbee2MQTT:debug 2020-11-28 18:32:43: Saving state to file /opt/zigbee2mqtt/data/state.json
Сам нашел проблему, сам себе отвечу: глюк в последней версии прошивки от JetHome 10102020, прошился последней версией от @reverieline и с роутингом всё исправилось.indiana писал(а): Ср ноя 25, 2020 11:03 pm Добрый день!
Есть координатор стик юсб, лампа сяоми ZNLDP12LM и датчики протечки SJCGQ11LM.
Проблема в том, что лампа никак не хочет работать как роутер, датчики при удалении от координатора просто перестают быть видны.
Подскажите, плиз, куда копать?