@mirmil99 czy usługa zigbee2mqtt powinna być zatrzymywana jak zmieniam coś w pliku kofiguracyjnym?
no i coś się podziało chyba niedobrego....
zainstalowałem dodatek PUI JSONPath Transformation, którego wcześniej nie miałem i teraz efekty takie:
[12:45:41] openhabian@openHABianPi:~$ systemctl status zigbee2mqtt.service
● zigbee2mqtt.service - zigbee2mqtt
Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; enabled; vendor pres
Active: active (running) since Wed 2020-04-29 12:49:57 CEST; 332ms ago
Main PID: 10192 (npm)
Tasks: 7 (limit: 4915)
CGroup: /system.slice/zigbee2mqtt.service
└─10192 npm
kwi 29 12:49:57 openHABianPi systemd[1]: Started zigbee2mqtt.
[12:51:12] openhabian@openHABianPi:~$ sudo journalctl -u zigbee2mqtt.service -f
[sudo] hasło użytkownika openhabian:
-- Logs begin at Thu 2016-11-03 18:16:43 CET. --
kwi 29 12:51:19 openHABianPi npm[10769]: '\n' +
kwi 29 12:51:19 openHABianPi npm[10769]: '\t================================ ====================================\n' +
kwi 29 12:51:19 openHABianPi systemd[1]: zigbee2mqtt.service: Main process exite d, code=exited, status=1/FAILURE
kwi 29 12:51:19 openHABianPi systemd[1]: zigbee2mqtt.service: Unit entered faile d state.
kwi 29 12:51:19 openHABianPi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
kwi 29 12:51:19 openHABianPi systemd[1]: zigbee2mqtt.service: Service hold-off t ime over, scheduling restart.
kwi 29 12:51:19 openHABianPi systemd[1]: Stopped zigbee2mqtt.
kwi 29 12:51:19 openHABianPi systemd[1]: Started zigbee2mqtt.
kwi 29 12:51:20 openHABianPi npm[10790]: > zigbee2mqtt@1.12.2 start /opt/zigbee2 mqtt
kwi 29 12:51:20 openHABianPi npm[10790]: > node index.js
kwi 29 12:51:22 openHABianPi npm[10790]: /opt/zigbee2mqtt/lib/util/yaml.js:21
kwi 29 12:51:22 openHABianPi npm[10790]: throw error;
kwi 29 12:51:22 openHABianPi npm[10790]: ^
kwi 29 12:51:22 openHABianPi npm[10790]: YAMLException:
kwi 29 12:51:22 openHABianPi npm[10790]: =============================== =====================================
kwi 29 12:51:22 openHABianPi npm[10790]: Your YAML file '/opt/zigbee2mqt t/data/configuration.yaml' is invalid
kwi 29 12:51:22 openHABianPi npm[10790]: Use e.g. https://jsonformatter. org/yaml-validator to find and fix the issue.
kwi 29 12:51:22 openHABianPi npm[10790]: =============================== =====================================
kwi 29 12:51:22 openHABianPi npm[10790]: duplicated mapping key at line 15, colu mn 1:
kwi 29 12:51:22 openHABianPi npm[10790]: friendly_name: 'CzujnikTemperatury1 '
kwi 29 12:51:22 openHABianPi npm[10790]: ^
kwi 29 12:51:22 openHABianPi npm[10790]: at generateError (/opt/zigbee2mqtt/ node_modules/js-yaml/lib/js-yaml/loader.js:167:10)
kwi 29 12:51:22 openHABianPi npm[10790]: at throwError (/opt/zigbee2mqtt/nod e_modules/js-yaml/lib/js-yaml/loader.js:173:9)
kwi 29 12:51:22 openHABianPi npm[10790]: at storeMappingPair (/opt/zigbee2mq tt/node_modules/js-yaml/lib/js-yaml/loader.js:335:7)
kwi 29 12:51:22 openHABianPi npm[10790]: at readBlockMapping (/opt/zigbee2mq tt/node_modules/js-yaml/lib/js-yaml/loader.js:1098:9)
kwi 29 12:51:22 openHABianPi npm[10790]: at composeNode (/opt/zigbee2mqtt/no de_modules/js-yaml/lib/js-yaml/loader.js:1359:12)
kwi 29 12:51:22 openHABianPi npm[10790]: at readDocument (/opt/zigbee2mqtt/n ode_modules/js-yaml/lib/js-yaml/loader.js:1519:3)
kwi 29 12:51:22 openHABianPi npm[10790]: at loadDocuments (/opt/zigbee2mqtt/ node_modules/js-yaml/lib/js-yaml/loader.js:1575:5)
kwi 29 12:51:22 openHABianPi npm[10790]: at load (/opt/zigbee2mqtt/node_modu les/js-yaml/lib/js-yaml/loader.js:1596:19)
kwi 29 12:51:22 openHABianPi npm[10790]: at Object.safeLoad (/opt/zigbee2mqt t/node_modules/js-yaml/lib/js-yaml/loader.js:1618:10)
kwi 29 12:51:22 openHABianPi npm[10790]: at Object.read (/opt/zigbee2mqtt/li b/util/yaml.js:7:21) {
kwi 29 12:51:22 openHABianPi npm[10790]: name: 'YAMLException',
kwi 29 12:51:22 openHABianPi npm[10790]: reason: 'duplicated mapping key',
kwi 29 12:51:22 openHABianPi npm[10790]: mark: Mark {
kwi 29 12:51:22 openHABianPi npm[10790]: name: null,
kwi 29 12:51:22 openHABianPi npm[10790]: buffer: 'homeassistant: false\n' +
kwi 29 12:51:22 openHABianPi npm[10790]: 'permit_join: true\n' +
kwi 29 12:51:22 openHABianPi npm[10790]: 'mqtt:\n' +
kwi 29 12:51:22 openHABianPi npm[10790]: 'base_topic: zigbee2mqtt\n' +
kwi 29 12:51:22 openHABianPi npm[10790]: "server: 'mqtt://192.168.0.193:18 83'\n" +
kwi 29 12:51:22 openHABianPi npm[10790]: 'serial:\n' +
kwi 29 12:51:22 openHABianPi npm[10790]: 'port: /dev/ttyACM0\n' +
kwi 29 12:51:22 openHABianPi npm[10790]: 'disable_led: false\n' +
kwi 29 12:51:22 openHABianPi npm[10790]: 'experimental:\n' +
kwi 29 12:51:22 openHABianPi npm[10790]: 'output: attribute\n' +
kwi 29 12:51:22 openHABianPi npm[10790]: 'devices:\n' +
kwi 29 12:51:22 openHABianPi npm[10790]: "'0x00158d00041a6217':\n" +
kwi 29 12:51:22 openHABianPi npm[10790]: "friendly_name: 'DrzwiWejsciowe'\ n" +
kwi 29 12:51:22 openHABianPi npm[10790]: "'0x00158d0002327677':\n" +
kwi 29 12:51:22 openHABianPi npm[10790]: "friendly_name: 'CzujnikTemperatu ry1'\n" +
kwi 29 12:51:22 openHABianPi npm[10790]: '\u0000',
kwi 29 12:51:22 openHABianPi npm[10790]: position: 268,
kwi 29 12:51:22 openHABianPi npm[10790]: line: 14,
kwi 29 12:51:22 openHABianPi npm[10790]: column: 0
kwi 29 12:51:22 openHABianPi npm[10790]: },
kwi 29 12:51:22 openHABianPi npm[10790]: message: '\n' +
kwi 29 12:51:22 openHABianPi npm[10790]: '\n' +
kwi 29 12:51:22 openHABianPi npm[10790]: '\t================================ ====================================\n' +
kwi 29 12:51:22 openHABianPi npm[10790]: "\tYour YAML file '/opt/zigbee2mqtt /data/configuration.yaml' is invalid\n" +
kwi 29 12:51:22 openHABianPi npm[10790]: '\tUse e.g. https://jsonformatter.o rg/yaml-validator to find and fix the issue.\n' +
kwi 29 12:51:22 openHABianPi npm[10790]: '\t================================ ====================================\n' +
kwi 29 12:51:22 openHABianPi npm[10790]: '\n' +
kwi 29 12:51:22 openHABianPi npm[10790]: 'duplicated mapping key at line 15, column 1:\n' +
kwi 29 12:51:22 openHABianPi npm[10790]: " friendly_name: 'CzujnikTempera tury1'\n" +
kwi 29 12:51:22 openHABianPi npm[10790]: ' ^'
kwi 29 12:51:22 openHABianPi npm[10790]: }
kwi 29 12:51:22 openHABianPi npm[10790]: npm ERR! code ELIFECYCLE
kwi 29 12:51:22 openHABianPi npm[10790]: npm ERR! errno 1
kwi 29 12:51:22 openHABianPi npm[10790]: npm ERR! zigbee2mqtt@1.12.2 start: `nod e index.js`
kwi 29 12:51:22 openHABianPi npm[10790]: npm ERR! Exit status 1
kwi 29 12:51:22 openHABianPi systemd[1]: zigbee2mqtt.service: Main process exite d, code=exited, status=1/FAILURE
kwi 29 12:51:22 openHABianPi systemd[1]: zigbee2mqtt.service: Unit entered faile d state.
kwi 29 12:51:22 openHABianPi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
kwi 29 12:51:22 openHABianPi systemd[1]: zigbee2mqtt.service: Service hold-off t ime over, scheduling restart.
kwi 29 12:51:22 openHABianPi systemd[1]: Stopped zigbee2mqtt.
kwi 29 12:51:22 openHABianPi systemd[1]: Started zigbee2mqtt.
kwi 29 12:51:23 openHABianPi npm[10816]: > zigbee2mqtt@1.12.2 start /opt/zigbee2 mqtt
kwi 29 12:51:23 openHABianPi npm[10816]: > node index.js
kwi 29 12:51:25 openHABianPi npm[10816]: /opt/zigbee2mqtt/lib/util/yaml.js:21
kwi 29 12:51:25 openHABianPi npm[10816]: throw error;
kwi 29 12:51:25 openHABianPi npm[10816]: ^
kwi 29 12:51:25 openHABianPi npm[10816]: YAMLException:
kwi 29 12:51:25 openHABianPi npm[10816]: ====================================================================
kwi 29 12:51:25 openHABianPi npm[10816]: Your YAML file '/opt/zigbee2mqtt/data/configuration.yaml' is invalid
kwi 29 12:51:25 openHABianPi npm[10816]: Use e.g. https://jsonformatter.org/yaml-validator to find and fix the issue.
kwi 29 12:51:25 openHABianPi npm[10816]: ====================================================================
kwi 29 12:51:25 openHABianPi npm[10816]: duplicated mapping key at line 15, column 1:
kwi 29 12:51:25 openHABianPi npm[10816]: friendly_name: 'CzujnikTemperatury1'
kwi 29 12:51:25 openHABianPi npm[10816]: ^
kwi 29 12:51:25 openHABianPi npm[10816]: at generateError (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:167:10)
kwi 29 12:51:25 openHABianPi npm[10816]: at throwError (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:173:9)
kwi 29 12:51:25 openHABianPi npm[10816]: at storeMappingPair (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:335:7)
kwi 29 12:51:25 openHABianPi npm[10816]: at readBlockMapping (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:1098:9)
kwi 29 12:51:25 openHABianPi npm[10816]: at composeNode (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:1359:12)
kwi 29 12:51:25 openHABianPi npm[10816]: at readDocument (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:1519:3)
kwi 29 12:51:25 openHABianPi npm[10816]: at loadDocuments (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:1575:5)
kwi 29 12:51:25 openHABianPi npm[10816]: at load (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:1596:19)
kwi 29 12:51:25 openHABianPi npm[10816]: at Object.safeLoad (/opt/zigbee2mqtt/node_modules/js-yaml/lib/js-yaml/loader.js:1618:10)
kwi 29 12:51:25 openHABianPi npm[10816]: at Object.read (/opt/zigbee2mqtt/lib/util/yaml.js:7:21) {
kwi 29 12:51:25 openHABianPi npm[10816]: name: 'YAMLException',
kwi 29 12:51:25 openHABianPi npm[10816]: reason: 'duplicated mapping key',
kwi 29 12:51:25 openHABianPi npm[10816]: mark: Mark {
kwi 29 12:51:25 openHABianPi npm[10816]: name: null,
kwi 29 12:51:25 openHABianPi npm[10816]: buffer: 'homeassistant: false\n' +
kwi 29 12:51:25 openHABianPi npm[10816]: 'permit_join: true\n' +
kwi 29 12:51:25 openHABianPi npm[10816]: 'mqtt:\n' +
kwi 29 12:51:25 openHABianPi npm[10816]: 'base_topic: zigbee2mqtt\n' +
kwi 29 12:51:25 openHABianPi npm[10816]: "server: 'mqtt://192.168.0.193:1883'\n" +
kwi 29 12:51:25 openHABianPi npm[10816]: 'serial:\n' +
kwi 29 12:51:25 openHABianPi npm[10816]: 'port: /dev/ttyACM0\n' +
kwi 29 12:51:25 openHABianPi npm[10816]: 'disable_led: false\n' +
kwi 29 12:51:25 openHABianPi npm[10816]: 'experimental:\n' +
kwi 29 12:51:25 openHABianPi npm[10816]: 'output: attribute\n' +
kwi 29 12:51:25 openHABianPi npm[10816]: 'devices:\n' +
kwi 29 12:51:25 openHABianPi npm[10816]: "'0x00158d00041a6217':\n" +
kwi 29 12:51:25 openHABianPi npm[10816]: "friendly_name: 'DrzwiWejsciowe'\n" +
kwi 29 12:51:25 openHABianPi npm[10816]: "'0x00158d0002327677':\n" +
kwi 29 12:51:25 openHABianPi npm[10816]: "friendly_name: 'CzujnikTemperatury1'\n" +
kwi 29 12:51:25 openHABianPi npm[10816]: '\u0000',
kwi 29 12:51:25 openHABianPi npm[10816]: position: 268,
kwi 29 12:51:25 openHABianPi npm[10816]: line: 14,
kwi 29 12:51:25 openHABianPi npm[10816]: column: 0
kwi 29 12:51:25 openHABianPi npm[10816]: },
kwi 29 12:51:25 openHABianPi npm[10816]: message: '\n' +
kwi 29 12:51:25 openHABianPi npm[10816]: '\n' +
kwi 29 12:51:25 openHABianPi npm[10816]: '\t====================================================================\n' +
kwi 29 12:51:25 openHABianPi npm[10816]: "\tYour YAML file '/opt/zigbee2mqtt/data/configuration.yaml' is invalid\n" +
kwi 29 12:51:25 openHABianPi npm[10816]: '\tUse e.g. https://jsonformatter.org/yaml-validator to find and fix the issue.\n' +
kwi 29 12:51:25 openHABianPi npm[10816]: '\t====================================================================\n' +
kwi 29 12:51:25 openHABianPi npm[10816]: '\n' +
kwi 29 12:51:25 openHABianPi npm[10816]: 'duplicated mapping key at line 15, column 1:\n' +
kwi 29 12:51:25 openHABianPi npm[10816]: " friendly_name: 'CzujnikTemperatury1'\n" +
kwi 29 12:51:25 openHABianPi npm[10816]: ' ^'
kwi 29 12:51:25 openHABianPi npm[10816]: }
kwi 29 12:51:25 openHABianPi npm[10816]: npm ERR! code ELIFECYCLE
kwi 29 12:51:25 openHABianPi npm[10816]: npm ERR! errno 1
kwi 29 12:51:25 openHABianPi npm[10816]: npm ERR! zigbee2mqtt@1.12.2 start: `node index.js`
kwi 29 12:51:25 openHABianPi npm[10816]: npm ERR! Exit status 1
kwi 29 12:51:25 openHABianPi npm[10816]: npm ERR!
kwi 29 12:51:25 openHABianPi npm[10816]: npm ERR! Failed at the zigbee2mqtt@1.12.2 start script.
kwi 29 12:51:25 openHABianPi npm[10816]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
kwi 29 12:51:25 openHABianPi npm[10816]: npm ERR! A complete log of this run can be found in:
kwi 29 12:51:25 openHABianPi npm[10816]: npm ERR! /home/openhabian/.npm/_logs/2020-04-29T10_51_25_368Z-debug.log
kwi 29 12:51:25 openHABianPi systemd[1]: zigbee2mqtt.service: Main process exited, code=exited, status=1/FAILURE
kwi 29 12:51:25 openHABianPi systemd[1]: zigbee2mqtt.service: Unit entered failed state.
kwi 29 12:51:25 openHABianPi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
kwi 29 12:51:25 openHABianPi systemd[1]: zigbee2mqtt.service: Service hold-off time over, scheduling restart.
kwi 29 12:51:25 openHABianPi systemd[1]: Stopped zigbee2mqtt.
kwi 29 12:51:25 openHABianPi systemd[1]: Started zigbee2mqtt.
^C
[12:51:26] openhabian@openHABianPi:~$
[12:54:11] openhabian@openHABianPi:~$ mosquitto_sub -d -t zigbee2mqtt/#
Client mosqsub/12578-openHABia sending CONNECT
Client mosqsub/12578-openHABia received CONNACK
Client mosqsub/12578-openHABia sending SUBSCRIBE (Mid: 1, Topic: zigbee2mqtt/#, QoS: 0)
Client mosqsub/12578-openHABia received SUBACK
Subscribed (mid: 1): 0
Client mosqsub/12578-openHABia received PUBLISH (d0, q0, r1, m0, 'zigbee2mqtt/bridge/state', ... (7 bytes))
offline
Client mosqsub/12578-openHABia received PUBLISH (d0, q0, r1, m0, 'zigbee2mqtt/bridge/config', ... (202 bytes))
{"version":"1.12.2","commit":"911cd58","coordinator":{"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":0,"maintrel":0,"revision":""}},"log_level":"info","permit_join":true}
^C
próbowałem też zmienić zawartość configuration.yml , ale ostatecznie wróciłem do takiej jak załączona powyżej, i zastanawiam się czy jakieś śmieci gdzieś nie zostały.
@isom, nie kontynuuję dalej z tego tutka, bo wydaje mi się że dopóki nie będę dobrze czytał czujników to nie mam po co wchodzić w vxcode z tamtymi instrukcjami - chyba że to właśnie mój błąd ?
ogranicz plik configuration.yaml, tylko do tego:
homeassistant: false
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://IP'
serial:
port: /dev/ttyACM0
devices:
i zrob restart Maliny
z ciekawosci podnioslem moj zigbee2mqtt do Twojej wersji 1.12.2 i umnie dziala, skrypt update.sh nie jest doskonaly, ale na piechote da sie podmienic data
i imho daj sobie chwile na openhaba, poki nie dziala Ci samo zigbee to i tak tam nic nie poradzisz
@mirmil99 kusi mnie jeszcze podnieś mosquito do wyższej wersji tej co się instaluje z PUI a nie z konsoli.
której Ty używasz ?
[13:30:38] openhabian@openHABianPi:~$ mosquitto -v
1588159881: mosquitto version 1.4.10 (build date Wed, 13 Feb 2019 00:45:38 +0000) starting
1588159881: Using default config.
1588159881: Opening ipv4 listen socket on port 1883.
1588159881: Error: Address already in use
[13:31:21] openhabian@openHABianPi:~$ systemctl status zigbee2mqtt.service
● zigbee2mqtt.service - zigbee2mqtt
Loaded: loaded (/etc/systemd/system/zigbee2mqtt.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-04-29 13:33:53 CEST; 1s ago
Main PID: 4008 (npm)
Tasks: 19 (limit: 4915)
CGroup: /system.slice/zigbee2mqtt.service
├─4008 npm
├─4019 sh -c node index.js
└─4020 node index.js
kwi 29 13:33:53 openHABianPi systemd[1]: Started zigbee2mqtt.
kwi 29 13:33:54 openHABianPi npm[4008]: > zigbee2mqtt@1.12.2 start /opt/zigbee2mqtt
kwi 29 13:33:54 openHABianPi npm[4008]: > node index.js
kwi 29 13:33:56 openHABianPi npm[4008]: zigbee2mqtt:info 2020-04-29 13:33:56: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2020-04-29.13-33-56' filename: log.txt
[13:33:56] openhabian@openHABianPi:~$
[13:33:56] openhabian@openHABianPi:~$ mosquitto_sub -d -t zigbee2mqtt/#
Client mosqsub/4783-openHABian sending CONNECT
Client mosqsub/4783-openHABian received CONNACK
Client mosqsub/4783-openHABian sending SUBSCRIBE (Mid: 1, Topic: zigbee2mqtt/#, QoS: 0)
Client mosqsub/4783-openHABian received SUBACK
Subscribed (mid: 1): 0
Client mosqsub/4783-openHABian received PUBLISH (d0, q0, r1, m0, 'zigbee2mqtt/bridge/state', ... (7 bytes))
offline
Client mosqsub/4783-openHABian received PUBLISH (d0, q0, r1, m0, 'zigbee2mqtt/bridge/config', ... (202 bytes))
{"version":"1.12.2","commit":"911cd58","coordinator":{"type":"zStack12","meta":{"transportrev":2,"product":0,"majorrel":2,"minorrel":0,"maintrel":0,"revision":""}},"log_level":"info","permit_join":true}
^C
[13:35:42] openhabian@openHABianPi:~$
no probuj, powtarzajac status, jak nie pojdzie, to wklej tutaj ten log z /opt/zigbee2mqtt/data/log/2020-04-29.13-33-56
jak to zrobić?
bo próbuję nano /opt/zigbee2mqtt/data/log/2020-04-29.13-33-56 , ale plik jest pusty a właściwie nowyy, chociaż ls nano /opt/zigbee2mqtt/data/log/ no to go widzę
to jest katalog w srodku powinien byc plik log.txt
/opt/zigbee2mqtt/data/log/2020-04-29.13-33-56/log.txt
ale czujnik nie dodal sie? czasem parowanie jest nazwijmy to "trudne/irytujace", trzeba kilka sekund albo kilka razy szybko podzialac przyciskiem i parujesz z bliskiej odleglosci do 30 cm
Client mosqsub/4783-openHABian received PUBLISH (d0, q0, r1, m0, 'zigbee2mqtt/bridge/state', ... (7 bytes))
offline
Zigbee jest OFFLINE więc nie jest OK porównaj sobie z moją fotką
nie dodał się ale jeszcze popróbuje chwilę, ale tylko 2 razy spróbowałem bo mam jeszcze taki błędzik nadal:
[13:45:04] openhabian@openHABianPi:~$ sudo journalctl -u zigbee2mqtt.service -f
[sudo] hasło użytkownika openhabian:
-- Logs begin at Thu 2016-11-03 18:16:43 CET. --
kwi 29 13:45:44 openHABianPi npm[3046]: npm ERR! Failed at the zigbee2mqtt@1.12.2 start script.
kwi 29 13:45:44 openHABianPi npm[3046]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
kwi 29 13:45:44 openHABianPi npm[3046]: npm ERR! A complete log of this run can be found in:
kwi 29 13:45:44 openHABianPi npm[3046]: npm ERR! /home/openhabian/.npm/_logs/2020-04-29T11_45_44_179Z-debug.log
kwi 29 13:45:44 openHABianPi systemd[1]: zigbee2mqtt.service: Main process exited, code=exited, status=1/FAILURE
kwi 29 13:45:44 openHABianPi systemd[1]: zigbee2mqtt.service: Unit entered failed state.
kwi 29 13:45:44 openHABianPi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
kwi 29 13:45:44 openHABianPi systemd[1]: zigbee2mqtt.service: Service hold-off time over, scheduling restart.
kwi 29 13:45:44 openHABianPi systemd[1]: Stopped zigbee2mqtt.
kwi 29 13:45:44 openHABianPi systemd[1]: Started zigbee2mqtt.
kwi 29 13:45:45 openHABianPi npm[3070]: > zigbee2mqtt@1.12.2 start /opt/zigbee2mqtt
kwi 29 13:45:45 openHABianPi npm[3070]: > node index.js
kwi 29 13:45:46 openHABianPi npm[3070]: zigbee2mqtt:info 2020-04-29 13:45:46: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2020-04-29.13-45-46' filename: log.txt
kwi 29 13:45:47 openHABianPi npm[3070]: /opt/zigbee2mqtt/lib/zigbee.js:27
kwi 29 13:45:47 openHABianPi npm[3070]: path: settings.get().serial.port,
kwi 29 13:45:47 openHABianPi npm[3070]: ^
kwi 29 13:45:47 openHABianPi npm[3070]: TypeError: Cannot read property 'port' of null
kwi 29 13:45:47 openHABianPi npm[3070]: at Object.<anonymous> (/opt/zigbee2mqtt/lib/zigbee.js:27:36)
kwi 29 13:45:47 openHABianPi npm[3070]: at Module._compile (internal/modules/cjs/loader.js:1156:30)
kwi 29 13:45:47 openHABianPi npm[3070]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
kwi 29 13:45:47 openHABianPi npm[3070]: at Module.load (internal/modules/cjs/loader.js:1000:32)
kwi 29 13:45:47 openHABianPi npm[3070]: at Function.Module._load (internal/modules/cjs/loader.js:899:14)
kwi 29 13:45:47 openHABianPi npm[3070]: at Module.require (internal/modules/cjs/loader.js:1042:19)
kwi 29 13:45:47 openHABianPi npm[3070]: at require (internal/modules/cjs/helpers.js:77:18)
kwi 29 13:45:47 openHABianPi npm[3070]: at Object.<anonymous> (/opt/zigbee2mqtt/lib/controller.js:2:16)
kwi 29 13:45:47 openHABianPi npm[3070]: at Module._compile (internal/modules/cjs/loader.js:1156:30)
kwi 29 13:45:47 openHABianPi npm[3070]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
kwi 29 13:45:47 openHABianPi npm[3070]: npm ERR! code ELIFECYCLE
kwi 29 13:45:47 openHABianPi npm[3070]: npm ERR! errno 1
kwi 29 13:45:47 openHABianPi npm[3070]: npm ERR! zigbee2mqtt@1.12.2 start: `node index.js`
kwi 29 13:45:47 openHABianPi npm[3070]: npm ERR! Exit status 1
kwi 29 13:45:47 openHABianPi npm[3070]: npm ERR!
kwi 29 13:45:47 openHABianPi npm[3070]: npm ERR! Failed at the zigbee2mqtt@1.12.2 start script.
kwi 29 13:45:47 openHABianPi npm[3070]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
kwi 29 13:45:47 openHABianPi npm[3070]: npm ERR! A complete log of this run can be found in:
kwi 29 13:45:47 openHABianPi npm[3070]: npm ERR! /home/openhabian/.npm/_logs/2020-04-29T11_45_47_194Z-debug.log
kwi 29 13:45:47 openHABianPi systemd[1]: zigbee2mqtt.service: Main process exited, code=exited, status=1/FAILURE
kwi 29 13:45:47 openHABianPi systemd[1]: zigbee2mqtt.service: Unit entered failed state.
kwi 29 13:45:47 openHABianPi systemd[1]: zigbee2mqtt.service: Failed with result 'exit-code'.
kwi 29 13:45:47 openHABianPi systemd[1]: zigbee2mqtt.service: Service hold-off time over, scheduling restart.
kwi 29 13:45:47 openHABianPi systemd[1]: Stopped zigbee2mqtt.
kwi 29 13:45:47 openHABianPi systemd[1]: Started zigbee2mqtt.
kwi 29 13:45:48 openHABianPi npm[3100]: > zigbee2mqtt@1.12.2 start /opt/zigbee2mqtt
kwi 29 13:45:48 openHABianPi npm[3100]: > node index.js
kwi 29 13:45:50 openHABianPi npm[3100]: zigbee2mqtt:info 2020-04-29 13:45:50: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2020-04-29.13-45-49' filename: log.txt
kwi 29 13:45:50 openHABianPi npm[3100]: /opt/zigbee2mqtt/lib/zigbee.js:27
kwi 29 13:45:50 openHABianPi npm[3100]: path: settings.get().serial.port,