Replies: 8 comments
-
Would you mind sharing your |
Beta Was this translation helpful? Give feedback.
-
Hi, Can deliver die Error in the next days. Best homeassistant: |
Beta Was this translation helpful? Give feedback.
-
Hi, sorry for the long time, busy days. This is the log: [2024-12-04 09:35:56] info: zh:zstack:znp: Port closed [2024-12-04 09:35:56] info: z2m: Stopped zigbee-herdsman [2024-12-04 09:35:56] info: z2m: Stopped Zigbee2MQTT Using '/app/data' as data directory Starting Zigbee2MQTT without watchdog. [2024-12-04 09:36:06] info: z2m: Logging to console, file (filename: log.log) [2024-12-04 09:36:06] info: z2m: Starting Zigbee2MQTT version 1.42.0 (commit #861cba6) [2024-12-04 09:36:06] info: z2m: Starting zigbee-herdsman (2.1.9) [2024-12-04 09:36:06] error: z2m: Error while starting zigbee-herdsman [2024-12-04 09:36:06] error: z2m: Failed to start zigbee [2024-12-04 09:36:06] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions [2024-12-04 09:36:06] error: z2m: Exiting... [2024-12-04 09:36:07] error: z2m: Error: ExtendedPanID must be an 8 digits long array, got 254,23,243,37,21,105,23,208,203,251,201,135,146,161,181,147.
Using '/app/data' as data directory Starting Zigbee2MQTT without watchdog. [2024-12-04 09:36:16] info: z2m: Logging to console, file (filename: log.log) [2024-12-04 09:36:17] info: z2m: Starting Zigbee2MQTT version 1.42.0 (commit #861cba6) [2024-12-04 09:36:17] info: z2m: Starting zigbee-herdsman (2.1.9) [2024-12-04 09:36:17] error: z2m: Error while starting zigbee-herdsman [2024-12-04 09:36:17] error: z2m: Failed to start zigbee [2024-12-04 09:36:17] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions [2024-12-04 09:36:17] error: z2m: Exiting... [2024-12-04 09:36:17] error: z2m: Error: ExtendedPanID must be an 8 digits long array, got 254,23,243,37,21,105,23,208,203,251,201,135,146,161,181,147.
Using '/app/data' as data directory Starting Zigbee2MQTT without watchdog. And now the config is looking like this: homeassistant:
Thanks for all your help. |
Beta Was this translation helpful? Give feedback.
-
You have too many digits for your network keys and pan_id. Try to generate new. network_key: GENERATE
ext_pan_id: GENERATE If this change is on a working network, have a look at your backup and copy/paste the information. It should look something like this: ext_pan_id:
- 12
- 123
- 45
- 200
- 90
- 120
- 222
- 180 |
Beta Was this translation helpful? Give feedback.
-
Also, not starting, and I guess I will lose all connections to my devices right? [2024-12-04 13:33:19] info: z2m: Logging to console, file (filename: log.log) [2024-12-04 13:33:19] info: z2m: Starting Zigbee2MQTT version 1.42.0 (commit #861cba6) [2024-12-04 13:33:19] info: z2m: Starting zigbee-herdsman (2.1.9) [2024-12-04 13:33:20] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/ttyACM0","baudRate":115200,"rtscts":true,"autoOpen":false} [2024-12-04 13:33:20] info: zh:zstack:znp: Serialport opened [2024-12-04 13:33:20] error: zh:adapter:zstack:manager: Configuration is not consistent with adapter state/backup! [2024-12-04 13:33:20] error: zh:adapter:zstack:manager: - PAN ID: configured=6754, adapter=6754 [2024-12-04 13:33:20] error: zh:adapter:zstack:manager: - Extended PAN ID: configured=baa2b753e48017b7, adapter=00124b0014da4b6a [2024-12-04 13:33:20] error: zh:adapter:zstack:manager: - Network Key: configured=6aceef53b5c9e0b9fecee552ef61d092, adapter=fe17f325156917d0cbfbc98792a1b593 [2024-12-04 13:33:20] error: zh:adapter:zstack:manager: - Channel List: configured=11, adapter=11 [2024-12-04 13:33:20] error: zh:adapter:zstack:manager: Please update configuration to prevent further issues. [2024-12-04 13:33:20] error: zh:adapter:zstack:manager: If you wish to re-commission your network, please remove coordinator backup at /app/data/coordinator_backup.json. [2024-12-04 13:33:20] error: zh:adapter:zstack:manager: Re-commissioning your network will require re-pairing of all devices! Error: startup failed - configuration-adapter mismatch - see logs above for more information
Using '/app/data' as data directory Starting Zigbee2MQTT without watchdog. [2024-12-04 13:33:31] info: z2m: Logging to console, file (filename: log.log) [2024-12-04 13:33:31] error: z2m: Failed to call 'OnEvent' 'stop' (TypeError: Cannot read properties of undefined (reading 'getDevicesIterator')
[2024-12-04 13:33:31] error: z2m: Failed to call 'Frontend' 'stop' (TypeError: Cannot read properties of undefined (reading 'close')
TypeError: Cannot read properties of undefined (reading 'getDeviceByIeeeAddr')
|
Beta Was this translation helpful? Give feedback.
-
As you come from a service installation, you should have kept a backup of Z2M somewhere. Copy it and paste it let's say in your user folder... You now have to ensure your container is able to access it (write and read permission must be set correctly). In your services:
zigbee2mqtt:
...
volumes:
- path/to_your_backup_copy:/app/data Your container should read inside it and take into account your old configuration. You should be fine. As you wish to keep your old configuration, you do not need to generate anything. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your time, I used this manual: https://www.zigbee2mqtt.io/guide/installation/02_docker.html#rootless-container With the Docker image koenkk/zigbee2mqtt:latest The is only a configuration.yaml, same as on service installation. My problem is, if I save in the web interface, the config is broken. |
Beta Was this translation helpful? Give feedback.
-
I am on Docker as well. I do use I tried to change the ext_pan_id via the frontend and everything went fine. The values were written correctly in Check if your container can read/write correctly in your folder where all your Z2M files are. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I searched, but I don't get it, hope anybody has an idea, or I did not find a manual.
I work with container, now but before as a service, but with old raspberry and then old node, not able to update.
However, done a backup, try to get it to work on Bookworm again, for days, no success.
After back and forth with an old version with docker 1.39.1 it works also with 1.41.0, but this is the point, I can not save advanced settings.
In the configuration.yaml I have network_key and on web I have pan ID (array), looks same, but is wrong.
In my config I have a lot of different values (generated) and in pan ID all fields are 221.
When I save, it crashes, I tried to manually convert but now success.
Anyone can finger point to a manual or other hint I did not get yet?
Best.
Beta Was this translation helpful? Give feedback.
All reactions