dadhacks
(Ben)
September 17, 2023, 7:28pm
1
Hoping someone can help here. I’ve followed the tutorials from Home Automation Guy on setting up Docker, Home Assistant, MQTT and Zigbee2Mqtt. Everything was going well until the end. I cannot get zigbee2mqtt to connect and I’m getting the following error in my portainer logs:
cp: can't stat '/app/configuration.example.yaml': No such file or directory
Here is the most recent video I followed.
https://www.youtube.com/watch?v=cZV2OOXLtEI
https://www.youtube.com/watch?v=sFSqgiOoPMs&t
Running Ubuntu 22.04 LTS on Intel NUC with Sonoff Zigbee ZBDongle-E.
I’ve been googling for hours and not finding anything helpful.
Probably you missed the very first step of the guide (I found this because I just did the exact same… oops ). Pull the configuration file from the github repo before starting the container: Docker | Zigbee2MQTT
sQeez
September 18, 2023, 12:49pm
3
Interesting. I did follow the guide and pulled the repo before i started the container. Yet I am unable to access the zigbee2mqtt page.
francisp
(Francis)
September 18, 2023, 1:05pm
4
Did you set your dongle to ezsp
serial:
adapter: ezsp
sQeez
September 18, 2023, 1:34pm
5
I added the serial adapter and now my logs show this error:
Zigbee2MQTT:info 2023-09-18 15:53:55: Logging to console and directory: '/app/data/log/2023-09-18.15-53-55' filename: log.txt
Zigbee2MQTT:info 2023-09-18 15:53:55: Starting Zigbee2MQTT version 1.33.0 (commit #7ee207f)
Zigbee2MQTT:info 2023-09-18 15:53:55: Starting zigbee-herdsman (0.18.5)
Error: Reset error: Error: {"sequence":-1} after 10000ms
at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/uart.ts:299:23
at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32)
But I am still not able to access the front end of Zigbee2Mqtt.
# Home Assistant integration (MQTT discovery)
homeassistant: true
fronted: true
# allow new devices to join
permit_join: true
# MQTT settings
mqtt:
# MQTT base topic for zigbee2mqtt MQTT messages
base_topic: zigbee2mqtt
# MQTT server URL
server: 'mqtt://192.168.178.76'
# MQTT server authentication, uncomment if required:
user: hass
password: _PASSWORD_
# Serial settings
serial:
# Location of CC2531 USB sniffer
port: /dev/ttyACM0
adapter: ezsp
If I remove the adapter again I get the error again
sQeez
September 18, 2023, 6:04pm
6
Found my issue. Check if you have ZHA enabled. Turned out I had that enabled. Removed ZHA and waited 20min and now it started just fine.
I am still stuck with no access to the fronted. Not sure what is the cause here.