Boa noite.
Preciso da vossa ajuda, estou a tentar instalar zigbee2mqtt, tudo parece estar bem, mas ao abrir no side bar a pagina tenho um erro de 502: Bad Gateway.
Estou a usar uma pen ConBee2.
A instalação do HA é uma VM em VirtualBox.
Junto os logs com debug ativo:
[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...
[19:39:50] INFO: Socat not enabled, marking service as down
[cont-init.d] socat.sh: exited 0.
[cont-init.d] zigbee2mqtt.sh: executing...
[19:39:50] INFO: MQTT available, fetching server detail ...
[19:39:50] INFO: MQTT server settings not configured, trying to auto-discovering ...
[19:39:51] INFO: Configuring 'mqtt://core-mosquitto:1883' mqtt server
[19:39:51] INFO: MQTT credentials not configured, trying to auto-discovering ...
[19:39:51] INFO: Configuring'addons' mqtt user
[19:39:51] INFO: Previous config file found, checking backup
[19:39:51] INFO: Creating backup config in '/config/zigbee2mqtt/data/.configuration.yaml.bk'
[19:39:51] 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.
[19:39:52] INFO: Handing over control to Zigbee2mqtt Core ...
> zigbee2mqtt@1.22.0 start
> node index.js
Zigbee2MQTT:debug 2021-11-15 19:39:56: Loaded state from file /config/zigbee2mqtt/data/state.json
Zigbee2MQTT:info 2021-11-15 19:39:56: Logging to console and directory: '/config/zigbee2mqtt/data/log/2021-11-15.19-39-54' filename: log.txt
Zigbee2MQTT:info 2021-11-15 19:39:56: Starting Zigbee2MQTT version 1.22.0 (commit #unknown)
Zigbee2MQTT:info 2021-11-15 19:39:56: Starting zigbee-herdsman (0.13.164)
Zigbee2MQTT:debug 2021-11-15 19:39:56: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/config/zigbee2mqtt/data/coordinator_backup.json","databaseBackupPath":"/config/zigbee2mqtt/data/database.db.backup","databasePath":"/config/zigbee2mqtt/data/database.db","network":{"channelList":[11],"extendedPanID":[221,221,221,221,221,221,221,221],"networkKey":"HIDDEN","panID":6754},"serialPort":{"adapter":"deconz","path":"/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2410214-if00"}}'
CREATED DECONZ ADAPTER
Zigbee2MQTT:info 2021-11-15 19:39:56: zigbee-herdsman started (resumed)
Zigbee2MQTT:info 2021-11-15 19:39:56: Coordinator firmware version: '{"meta":{"maintrel":0,"majorrel":38,"minorrel":114,"product":0,"revision":"0x26720700","transportrev":0},"type":"ConBee2/RaspBee2"}'
Zigbee2MQTT:debug 2021-11-15 19:39:59: Zigbee network parameters: {"channel":15,"extendedPanID":"0xdddddddddddddddd","panID":6754}
Zigbee2MQTT:info 2021-11-15 19:39:59: Currently 0 devices are joined:
Zigbee2MQTT:warn 2021-11-15 19:39:59: `permit_join` set to `true` in configuration.yaml.
Zigbee2MQTT:warn 2021-11-15 19:39:59: Allowing new devices to join.
Zigbee2MQTT:warn 2021-11-15 19:39:59: Set `permit_join` to `false` once you joined all devices.
Zigbee2MQTT:info 2021-11-15 19:39:59: Zigbee: allowing new devices to join.
Zigbee2MQTT:debug 2021-11-15 19:44:56: Saving state to file /config/zigbee2mqtt/data/state.json
Zigbee2MQTT:debug 2021-11-15 19:49:56: Saving state to file /config/zigbee2mqtt/data/state.json
Zigbee2MQTT:debug 2021-11-15 19:54:56: Saving state to file /config/zigbee2mqtt/data/state.json
Zigbee2MQTT:debug 2021-11-15 19:59:56: Saving state to file /config/zigbee2mqtt/data/state.json
E a configuração:
data_path: /config/zigbee2mqtt/data
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
mqtt:
base_topic: zigbee2mqtt
serial:
port: >-
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2410214-if00
adapter: deconz
advanced:
log_level: debug
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
Agradeço desde já a vossa ajuda.
Luis