Hi All,
I am new to HA and zigbee2mqtt and this is my first time setting up.
I am currently using HA on raspberry pi 5 and Sonoff ZBDongle-P as my zigbee coordinator
I have followed the online tutorials to flash my zigbee dongle using python. (CC1352P2_CC2652P_launchpad_coordinator_20230507.hex)
However, when setting up zigbee2MQTT in HA, i keep getting the error message that the connection failed. Ingress error: Cannot connect to host 172.30.33.1:8099 ssl:default [Connect call failed (‘172.30.33.1’, 8099)]
Below are my configurations:
- Mosquitto
logins:
- username: mqtt_user
password: mqtt_pass
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
customize:
active: false
folder: mosquitto
- Zigbee2MQTT
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: true
mqtt:
server: mqtt://core-mosquitto:1883
user: mqtt_user
password: mqtt_pass
serial:
port: >-
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_8e9dc266ada4ed11a71cf3a32981d5c7-if00-port0
Logs - Zigbee2MQTT
[14:25:51] INFO: Preparing to start...
[14:25:51] INFO: Socat not enabled
[14:25:52] INFO: Starting Zigbee2MQTT...
[2024-05-02 14:25:53] info: z2m: Logging to console, file (filename: log.log)
[2024-05-02 14:25:54] info: z2m: Starting Zigbee2MQTT version 1.37.0 (commit #unknown)
[2024-05-02 14:25:54] info: z2m: Starting zigbee-herdsman (0.45.0)
[2024-05-02 14:25:54] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_8e9dc266ada4ed11a71cf3a32981d5c7-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2024-05-02 14:25:54] info: zh:zstack:znp: Serialport opened
[2024-05-02 14:25:54] info: z2m: zigbee-herdsman started (resumed)
[2024-05-02 14:25:54] info: z2m: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20230507,"transportrev":2},"type":"zStack3x0"}'
[2024-05-02 14:25:54] info: z2m: Currently 0 devices are joined:
[2024-05-02 14:25:54] info: z2m: Zigbee: disabling joining new devices.
[2024-05-02 14:25:55] info: z2m: Connecting to MQTT server at mqtt://core-mosquitto:1883
[2024-05-02 14:25:55] error: z2m: MQTT failed to connect, exiting...
[2024-05-02 14:25:55] info: z2m: Stopping zigbee-herdsman...
[2024-05-02 14:26:03] info: zh:controller: Wrote coordinator backup to '/config/zigbee2mqtt/coordinator_backup.json'
[2024-05-02 14:26:03] info: zh:zstack:znp: closing
[2024-05-02 14:26:03] info: zh:zstack:znp: Port closed
[2024-05-02 14:26:03] info: z2m: Stopped zigbee-herdsman
Logs - HA supervisor
2024-05-02 14:23:59.209 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on zigbee2mqtt/zigbee2mqtt-aarch64 with version 1.37.0-1
2024-05-02 14:23:59.232 ERROR (MainThread) [supervisor.api.ingress] Ingress error: Cannot connect to host 172.30.33.1:8099 ssl:default [Connect call failed ('172.30.33.1', 8099)]
2024-05-02 14:25:50.943 INFO (SyncWorker_5) [supervisor.docker.manager] Cleaning addon_45df7312_zigbee2mqtt application
2024-05-02 14:25:51.498 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on zigbee2mqtt/zigbee2mqtt-aarch64 with version 1.37.0-1
Please let me know if i missed out any information for troubleshooting.
Would appreciate any inputs. Cheers~