haos里面的zigbee2mqtt页面出现502: Bad Gateway怎么办

ha里面出现502: Bad Gateway

zigbee2mqtt的配置



ha里面的mqtt是通的

z2m用的是这个固件:Z2MP网关定制版Tasmota固件


zigbee2mqtt的configuration.yaml
{
“external_converters”: [],
“devices”: [
“devices.yaml”
],
“groups”: [
“groups.yaml”
],
“homeassistant”: true,
“permit_join”: true,
“mqtt”: {
“base_topic”: “zigbee2mqtt”,
“server”: “mqtt://192.168.10.9:1883”,
“user”: “123”,
“password”: “123”,
“force_disable_retain”: false
},
“serial”: {
“port”: “tcp://192.168.10.247:8880”,
“adapter”: “ezsp”
},
“advanced”: {
“log_level”: “warn”,
“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”: {},
“availability”: false
}

data_path: /config/zigbee2mqtt
external_converters:
  - ts0601_radar02.js
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://172.17.0.1/:1883
  user: mqtt
  password: mqtt
  force_disable_retain: false
serial:
  port: /dev/ttyUSB0
advanced:
  log_level: warn
  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: {}
availability: false
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

这是我们网关的配置方式,你参考一下。

我的z2m usb是没有插进haos主机的,我想用网络来传输数据,接口用usb估计不太行