|
本帖最后由 Masterchen 于 2022-8-28 18:46 编辑
小白第一次玩zigbee2mqtt,选了sonoff 的usb dongle 但是一次就撞板,zigbee2mqtt一栏提示 502: Bad Gateway,网上抄的配置试了很多次都如此。
安装环境如下:esxi 安装hassos usb直插
【问题解决】:原来是自己疏忽大意,漏了“/”而且每次都漏,傻傻不知所以然最好补上yaml
data_path: /config/zigbee2mqtt
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
mqtt:
base_topic: zigbee2mqtt
server: mqtt://xx.x.x.x
user: xxxx
password: xxxx
serial:
port: /dev/ttyUSB0
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
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: {}
|
|