Hi there,
I have just installed Zigbee2MQTT. When you look at the logs, everything seems to work just fine. But the Web UI does not open. It just shows 502: Bad Gateway.
Here is the log from Zigbee2MQTT:
2021-01-19T09:29:53: PM2 log: App [npm:0] starting in -fork mode-
2021-01-19T09:29:53: PM2 log: App [npm:0] online
> [email protected] start /zigbee2mqtt-1.17.0
> node index.js
Zigbee2MQTT:info 2021-01-19 09:29:57: Logging to console and directory: '/share/zigbee2mqtt/log/2021-01-19.09-29-56' filename: log.txt
Zigbee2MQTT:info 2021-01-19 09:29:57: Starting Zigbee2MQTT version 1.17.0 (commit #1.17.0)
Zigbee2MQTT:info 2021-01-19 09:29:57: Starting zigbee-herdsman (0.13.46)
Zigbee2MQTT:info 2021-01-19 09:30:00: zigbee-herdsman started
Zigbee2MQTT:info 2021-01-19 09:30:00: Coordinator firmware version: '{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20190608,"transportrev":2},"type":"zStack12"}'
Zigbee2MQTT:info 2021-01-19 09:30:00: Currently 0 devices are joined:
Zigbee2MQTT:warn 2021-01-19 09:30:00: `permit_join` set to `true` in configuration.yaml.
Zigbee2MQTT:warn 2021-01-19 09:30:00: Allowing new devices to join.
Zigbee2MQTT:warn 2021-01-19 09:30:00: Set `permit_join` to `false` once you joined all devices.
Zigbee2MQTT:info 2021-01-19 09:30:00: Zigbee: allowing new devices to join.
Zigbee2MQTT:info 2021-01-19 09:30:00: Started frontend on port 0.0.0.0:1883
Zigbee2MQTT:info 2021-01-19 09:30:00: Connecting to MQTT server at mqtt://192.168.178.22:1883
Zigbee2MQTT:info 2021-01-19 09:30:00: Connected to MQTT server
Zigbee2MQTT:info 2021-01-19 09:30:01: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info 2021-01-19 09:30:01: MQTT publish: topic 'zigbee2mqtt/bridge/info', payload '{"commit":"1.17.0","config":{"advanced":{"adapter_concurrent":null,"adapter_delay":null,"availability_blacklist":[],"availability_blocklist":[],"availability_passlist":[],"availability_timeout":0,"availability_whitelist":[],"cache_state":true,"cache_state_persistent":true,"cache_state_send_on_startup":true,"channel":11,"elapsed":false,"ext_pan_id":[221,221,221,221,221,221,221,221],"homeassistant_discovery_topic":"homeassistant","homeassistant_legacy_triggers":true,"homeassistant_status_topic":"hass/status","last_seen":"disable","legacy_api":true,"log_directory":"/share/zigbee2mqtt/log/%TIMESTAMP%","log_file":"log.txt","log_level":"info","log_output":["console","file"],"log_rotation":true,"log_syslog":{},"pan_id":6754,"report":false,"soft_reset_timeout":0,"timestamp_format":"YYYY-MM-DD HH:mm:ss"},"ban":[],"blocklist":[],"device_options":{},"devices":{},"experimental":{"new_api":true,"output":"json"},"external_converters":[],"frontend":{"port":1883},"groups":{},"homeassistant":true,"map_options":{"graphviz":{"colors":{"fill"
Here is my Zigbee2MQTT Config:
data_path: /share/zigbee2mqtt
external_converters: []
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://192.168.178.22:1883'
user: mos-broker
password: (MY PASSWORD)
serial:
port: >-
/dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018E27BA3-if00
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: 1883
experimental:
new_api: true
socat:
enabled: false
master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
slave: 'tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5'
restartdelay: 1
initialdelay: 1
options: '-d -d'
log: false