之前一直用zha,最近买了个开关zha不支持,所以想试试zigbee2mqtt。把米家多模网关调到了zigbee2mqtt模式,然后按照alex大神的视频安装了zigbee2mqtt edge,修改配置:
data_path: /config/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://192.168.50.8:1883'
user: mqtt
password: mqtt
serial:
port: 'tcp://192.168.50.38:8888'
adapter: ezsp
advanced:
log_level: info
pan_id: 6754
channel: 11
network_key:
- 1
- 3
- 5
- 7
- 9
- 11
- 13
- 15
- 0
- 2
- 4
- 6
- 8
- 10
- 12
- 13
availability_blocklist: []
availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
port: 8099
experimental: {}
socat:
enabled: false
master: 'pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777'
slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
options: '-d -d'
log: false
启动后一直是这样:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] socat.sh: executing...
[17:50:30] INFO: Socat not enabled, marking service as down
[cont-init.d] socat.sh: exited 0.
[cont-init.d] zigbee2mqtt.sh: executing...
[17:50:31] INFO: MQTT available, fetching server detail ...
[17:50:31] INFO: Previous config file found, checking backup
[17:50:31] INFO: Creating backup config in '/config/zigbee2mqtt/.configuration.yaml.bk'
[17:50:31] INFO: Adjusting Zigbee2mqtt core yaml config with add-on quirks ...
[cont-init.d] zigbee2mqtt.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[17:50:32] INFO: Handing over control to Zigbee2mqtt Core ...
> [email protected] start /app
> node index.js
Zigbee2MQTT:info 2021-04-29 17:50:37: Logging to console and directory: '/config/zigbee2mqtt/log/2021-04-29.17-50-35' filename: log.txt
Zigbee2MQTT:info 2021-04-29 17:50:37: Starting Zigbee2MQTT version 1.18.2-dev (commit #d61d6e2)
Zigbee2MQTT:info 2021-04-29 17:50:37: Starting zigbee-herdsman (0.13.92)
应该是这个 zigbee-herdsman起不来,有大佬遇到过么?
|