#Can't get Zigbee2Mqtt to start (Docker compose)
1 messages ยท Page 1 of 1 (latest)
Please share the log as text - not images
Docker compose: ``` GNU nano 5.4 docker-compose.yml
services:
zigbee2mqtt:
container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt
restart: unless-stopped
volumes:
- ./data:/app/data
- /run/udev:/run/udev:ro
ports:
# Frontend port
- 8080:8080
environment:
- TZ=America/Denver
devices:
# Make sure this matched your adapter location
- /dev/ttyUSB1:/dev/ttyACM0
Config file: ``` GNU nano 5.4 data/configuration.yaml
homeassistant: true
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: mqtt://10.10.2.10:1883
serial:
port: /dev/ttyACM0
advanced:
frontend: true
homeassistant_legacy_entity_attributes: false
legacy_api: false
legacy_availability_payload: false
device_options:
legacy: false
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
@whole jetty
I'm here, no need to ping me ๐
zigbee2mqtt | [2024-10-29 09:51:47] info: z2m: Connecting to MQTT server at mqtt://10.10.2.10:1883
zigbee2mqtt | [2024-10-29 09:52:17] error: z2m: MQTT error: connack timeout
That's the problem
Sorry! I dont get notifications unless I am pinged so it's habbit lol
You can change that ๐
I know, I just keep forgetting too lol
So it won't start at all until it connects to the MQTT server on HA?
Yes
Hmmm okay. Maybe it's a FW rule not letting it connect
Ah okay! it was a FW rule. but now I am getting: ```zigbee2mqtt | [2024-10-29 10:02:41] error: z2m: MQTT error: Connection refused: Not authorized
I don't see where I can add auth in their docs.
Zigbee to MQTT bridge, get rid of your proprietary Zigbee bridges
Thank you!
I still am unable to connect to the webgui though
But I do have a connection to HA
Don't judge me but the pc I remote into for admin tasks on my servers has an allow all anywhere lol
Totally segmented with no internet access but still lol
https://pastebin.com/q8VmY1U6 new logs. I don't see anything indicating the gui started up
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Looks like you made up the lines in that config file
Have you read the Z2M frontend docs?
I just pulled their config file and changed the fronted to true and added my server IP and creds
From what their docs say that's all you should need to do
What am I missing? Everything in advanced says Optional
Where there does it say that the frontend settings live under advanced:?
Ah I see. I didn't catch that.