Zigbee2MQTT Install Errors

I get an error when I try to install Zigbee2MQTT … not sure what the issue is (running HASSIO on a Rasp Pi 4 … have a docker account, added my credentials to the container registry) but I still get this error when I press install after I’ve added the repository. … Can’t install zigbee2mqtt/zigbee2mqtt-aarch64:1.33.0-1: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=1.33.0-1&fromImage=zigbee2mqtt%2Fzigbee2mqtt-aarch64&platform=linux%2Farm64: Internal Server Error (“Get “https://registry-1.docker.io/v2/”: net/http: request canceled (Client.Timeout exceeded while awaiting headers)”) I have a docker account but I think it’s an authentication issue.

This via the add-on, or are you trying to go direct to docker.

A docker account shouldn’t be needed with the add-on.

The add-on. I also tried another approach that was suggested for the Raspberry Pi and that process fails too.

Actually – now it worked. Wasn’t timing out yesterday, so I have no idea what the issue was.

Gremlins. Glad you got it going.

I am getting the below error when trying to update to 1.33.1-1 from 1.33.0-1.

Can’t install zigbee2mqtt/zigbee2mqtt-amd64:1.33.1-1: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=1.33.1-1&fromImage=zigbee2mqtt%2Fzigbee2mqtt-amd64&platform=linux%2Famd64: Internal Server Error (“Get “https://registry-1.docker.io/v2”: net/http: TLS handshake timeout”)

Update: A reboot of HA solved the problem.

Hi,
Home assistant is installed on a qnap nas as a virtual machine and is running fine.

I just installed zigbee2mqtt and and it gives me errors when starting it.

I have Mosquitto broker installed and it is running fine.
I also have the conbeeII zigbee stick which works also.

Here is my log from zigbee2mqtt

Socat startup parameters:
Options:     -d -d
Master:      pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
Slave:       tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
[13:04:07] INFO: Starting socat process ...
2024/07/04 13:04:07 socat[48] N PTY is /dev/pts/0
2024/07/04 13:04:07 socat[48] N listening on AF=2 0.0.0.0:8485
[13:04:09] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-07-04 13:04:30] info: 	z2m: Logging to console, file (filename: log.log)
[2024-07-04 13:04:30] info: 	z2m: Starting Zigbee2MQTT version 1.39.0 (commit #unknown)
[2024-07-04 13:04:30] info: 	z2m: Starting zigbee-herdsman (0.50.1)
[2024-07-04 13:04:31] error: 	z2m: Error while starting zigbee-herdsman
[2024-07-04 13:04:31] error: 	z2m: Failed to start zigbee
[2024-07-04 13:04:31] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-07-04 13:04:31] error: 	z2m: Exiting...
[2024-07-04 13:04:31] error: 	z2m: Error: spawn udevadm ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:284:19)
    at onErrorNT (node:internal/child_process:477:16)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)

How can I solve this???

That is an USB stick. Why are you starting socat ?

Thanks for answering.

it doesn’t matter if I’m starting it.

The errors stay the same.

[13:49:32] INFO: Preparing to start...
[13:49:34] INFO: Socat not enabled
[13:49:39] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-07-04 13:50:11] info: 	z2m: Logging to console, file (filename: log.log)
[2024-07-04 13:50:11] info: 	z2m: Starting Zigbee2MQTT version 1.39.0 (commit #unknown)
[2024-07-04 13:50:11] info: 	z2m: Starting zigbee-herdsman (0.50.1)
[2024-07-04 13:50:13] error: 	z2m: Error while starting zigbee-herdsman
[2024-07-04 13:50:13] error: 	z2m: Failed to start zigbee
[2024-07-04 13:50:13] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-07-04 13:50:13] error: 	z2m: Exiting...
[2024-07-04 13:50:13] error: 	z2m: Error: spawn udevadm ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:284:19)
    at onErrorNT (node:internal/child_process:477:16)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)

Maybe show your Zigbee2MQTT configuration.

Here is the configuration:

Blockquote

Zigbee2MQTT

Opties

data_path

socat

1

2

3

4

5

6

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

1

2

server: mqtt://localhost:1883

serial

1

watchdog

Ongebruikte optionele configuratieopties tonen

OPSLAAN

Netwerk

Wijzig de poorten op je host die zijn opengezet door de add-on

8485/tcp

Socat tcp-listen port

8099/tcp

Frontend tcp-listen port

Toon uitgeschakelde poorten

Blockquote

Now in yaml ;))

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://localhost:1883
serial: {}

Serial is empty. How do you expect Zigbee2MQTT to find your dongle if you don’t tell where to search ?

you need something like this under serial:

port: /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2291664-if00
adapter: deconz

Don’t copy the above, use your own

Thanks for helping.

This is now my config and still the same errors in the log.

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://localhost:1883

serial:
port: >-
/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2487048-if00
adapter: deconz

any ideas?

Are you sure neither Deconz or ZHA is running ?

Deconz is not running. I disabled it. ZHA is still running.

That is why it is not working. You can only run 1 Zigbee stack (ZHA or Zigbee2MQTT) at the same time if you only have 1 Zigbee dongle.

Thanks,

I disabled ZHA and restarted home assistant. But unfortunatly still getting errors.

[15:41:09] INFO: Preparing to start...
[15:41:12] INFO: Socat not enabled
[15:41:21] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-07-04 15:42:19] info: 	z2m: Logging to console, file (filename: log.log)
[2024-07-04 15:42:19] info: 	z2m: Starting Zigbee2MQTT version 1.39.0 (commit #unknown)
[2024-07-04 15:42:19] info: 	z2m: Starting zigbee-herdsman (0.50.1)
[2024-07-04 15:42:22] info: 	zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2487048-if00","baudRate":115200,"rtscts":false,"autoOpen":false}
[2024-07-04 15:42:23] info: 	zh:zstack:znp: Serialport opened
[2024-07-04 15:42:23] info: 	zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2024-07-04 15:42:24] info: 	zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2024-07-04 15:42:43] error: 	z2m: Error while starting zigbee-herdsman
[2024-07-04 15:42:43] error: 	z2m: Failed to start zigbee
[2024-07-04 15:42:43] error: 	z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-07-04 15:42:43] error: 	z2m: Exiting...
[2024-07-04 15:42:43] error: 	z2m: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
    at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:101:27)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:129:29)
    at Zigbee.start (/app/lib/zigbee.ts:63:27)
    at Controller.start (/app/lib/controller.ts:139:27)
    at start (/app/index.js:154:5)

Zigbee2MQTT still does not see the adapter. Sure there is

in the configuration ?

Finally.

It works!!!

Thanks for all your great help

Regards