I have tried everything I can think of, plus anything I’ve found in the community:
- Installed MQTT broker
- Set up broker with user account (core-mosquitto:1883) and matching HA user
- Plugged in controller (Sonoff)
- Installed Zigbee2MQTT add-on store
- Updated Z2M config:
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:
server: mqtt://core-mosquitto:1883
user: USERNAME
password: PASSWORD
serial:
port: >-
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_bed832a8b319ec11bc6339cc47486eb0-if00-port0
adapter: ezsp
homeassistant: true
permit_join: true
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
host: 0.0.0.0
experimental:
new_api: true
zigbee_herdsman_debug: true
- Restarted HA
- Flashed firmware for Sonoff controller (Z-Stack-firmware/coordinator/Z-Stack_3.x.0/bin at master · Koenkk/Z-Stack-firmware · GitHub)
…and after all that, STILL getting a 502: Bad gateway error.