Boa noite, ao fim de experimentar diversas soluçoes que fui vendo por a net ainda não consegui que funcione o zigbee2mqtt, alguém fez a instalação recentemente que me possa ajudar? segui o tutorial aqui do forum mas a versao mais atual do addon nao me deixa gravar as configs do addon…
a minha config do addon:
{
"data_path": "/share/zigbee2mqtt",
"devices": "devices.yaml",
"groups": "groups.yaml",
"homeassistant": true,
"permit_join": true,
"mqtt": {
"base_topic": "zigbee2mqtt",
"server": "http://192.168.x.y"
"user": "meuusermqtt",
"password": "minhapassmqtt"
},
"serial": {
"port": "/dev/ttyAMA0"
},
"advanced": {
"pan_id": 6754,
"channel": 11,
"network_key": [
1,
3,
5,
7,
9,
11,
13,
15,
0,
2,
4,
6,
8,
10,
12,
13
],
"availability_blacklist": []
},
"ban": [],
"whitelist": [],
"queue": {}
}
o meu log :
./run.sh: line 16: [Info] Configuration backup found in /share/zigbee2mqtt/.configuration.yaml.bk. Skipping config backup.: No such file or directory
2019-08-04T00:47:29: PM2 log: Launching in no daemon mode
2019-08-04T00:47:30: PM2 log: App [npm:0] starting in -fork mode-
2019-08-04T00:47:30: PM2 log: App [npm:0] online
> zigbee2mqtt@1.5.1 start /app
> node index.js
zigbee2mqtt:info 8/4/2019, 12:47:35 AM Logging to directory: '/share/zigbee2mqtt/log/2019-08-04.00-47-34'
zigbee2mqtt:info 8/4/2019, 12:47:36 AM Starting zigbee2mqtt version 1.5.1 (commit #unknown)
zigbee2mqtt:info 8/4/2019, 12:47:36 AM Starting zigbee-shepherd
zigbee2mqtt:info 8/4/2019, 12:47:49 AM Error while starting zigbee-shepherd, attempting to fix... (takes 60 seconds) (Error: timeout)
zigbee2mqtt:info 8/4/2019, 12:48:49 AM Starting zigbee-shepherd
zigbee2mqtt:error 8/4/2019, 12:49:02 AM Error while starting zigbee-shepherd! (Error: timeout)
zigbee2mqtt:error 8/4/2019, 12:49:02 AM Press the reset button on the stick (the one closest to the USB) and start again
zigbee2mqtt:error 8/4/2019, 12:49:02 AM Failed to start
{"message":"timeout","stack":"Error: timeout\n at Timeout.setTimeout [as _onTimeout] (/app/node_modules/zigbee-herdsman/dist/znp/znp.js:157:24)\n at ontimeout (timers.js:436:11)\n at tryOnTimeout (timers.js:300:5)\n at listOnTimeout (timers.js:263:5)\n at Timer.processTimers (timers.js:223:10)"}
zigbee2mqtt:error 8/4/2019, 12:49:02 AM Exiting...
npm
ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! zigbee2mqtt@1.5.1 start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the zigbee2mqtt@1.5.1 start script.
npm
ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-08-03T23_49_02_391Z-debug.log
2019-08-04T00:49:06: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2019-08-04T00:49:06: PM2 log: App [npm:0] starting in -fork mode-
2019-08-04T00:49:06: PM2 log: App [npm:0] online
> zigbee2mqtt@1.5.1 start /app
> node index.js
zigbee2mqtt:info 8/4/2019, 12:49:11 AM Logging to directory: '/share/zigbee2mqtt/log/2019-08-04.00-49-10'
zigbee2mqtt:info 8/4/2019, 12:49:11 AM Starting zigbee2mqtt version 1.5.1 (commit #unknown)
zigbee2mqtt:info 8/4/2019, 12:49:11 AM Starting zigbee-shepherd
zigbee2mqtt:info 8/4/2019, 12:49:25 AM Error while starting zigbee-shepherd, attempting to fix... (takes 60 seconds) (Error: timeout)
zigbee2mqtt:info 8/4/2019, 12:50:25 AM Starting zigbee-shepherd
Alguma ideia?
obrigado