miomia
(Miomia)
January 22, 2025, 10:48am
1
Is it possible to run two different versions of z2m (1.42.0-2 and 2.0.0-2) on the same server? If so, please help me find my mistake. I have version 1.42.0-2 on three ZIGBI routers (SLZB-06). I connected another such router but could not install the old version and installed 2.0.0-2 . But I can’t connect it, it generates an error (Error: SRSP - SYS - ping after 6000ms) I set photos of settings and logs Thanks
[12:09:17] INFO: Preparing to start...
[12:09:17] INFO: Socat not enabled
[12:09:17] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2025-01-22 12:09:20] info: z2m: Logging to console, file (filename: log.log)
[2025-01-22 12:09:20] info: z2m: Starting Zigbee2MQTT version 2.0.0 (commit #unknown)
[2025-01-22 12:09:20] info: z2m: Starting zigbee-herdsman (3.2.1)
[2025-01-22 12:09:20] info: zh:zstack:znp: Opening TCP socket with 192.168.1.244:6638
[2025-01-22 12:09:20] info: zh:zstack:znp: Socket connected
[2025-01-22 12:09:20] info: zh:zstack:znp: Socket ready
[2025-01-22 12:09:20] info: zh:zstack:znp: Writing CC2530/CC2531 skip bootloader payload
[2025-01-22 12:09:21] info: zh:zstack:znp: Skip bootloader for CC2652/CC1352
[2025-01-22 12:09:39] error: z2m: Error while starting zigbee-herdsman
[2025-01-22 12:09:39] error: z2m: Failed to start zigbee-herdsman
[2025-01-22 12:09:39] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start_crashes-runtime.html for possible solutions
[2025-01-22 12:09:39] error: z2m: Exiting...
[2025-01-22 12:09:39] error: z2m: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.start (/app/node_modules/.pnpm/[email protected] /node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:113:27)
at Controller.start (/app/node_modules/.pnpm/[email protected] /node_modules/zigbee-herdsman/src/controller/controller.ts:136:29)
at Zigbee.start (/app/lib/zigbee.ts:69:27)
at Controller.start (/app/lib/controller.ts:142:13)
at start (/app/index.js:161:5)
tmjpugh
(Tmjpugh)
January 22, 2025, 2:28pm
2
Install in docker containers or a VM.
If docker use macvlan to allow seperate IP but same port or change ports to be used
You need to do similar for vm
Why 2 instances?
Spacing is out on the serial: entry …
miomia
(Miomia)
January 22, 2025, 3:19pm
4
Sorry but I don’t understand you
tmjpugh
(Tmjpugh)
January 22, 2025, 3:25pm
5
I think he means this
You have
serial:
port: tcp://192.168.1.244:6638
adapter: zstack
Should be
serial:
port: tcp://192.168.1.244:6638
adapter: zstack
miomia
(Miomia)
January 22, 2025, 3:26pm
6
My HA supervisor-2024.12.3
I’m afraid to update working z2m to the build version because there are many problems on version 2.0.0-2
tmjpugh
(Tmjpugh)
January 22, 2025, 3:30pm
8
Not possible run 2 versions with supervised install I suspect
Backup before upgrade or don’t upgrade.
No need to upgrade unless security fix or desired feature.
EDIT
I also don’t see adapter in docs
Maybe remove it
EDIT2
It’s there. Found it
I hope you are not trying to connect both versions to same device. That’s not possible
miomia
(Miomia)
January 22, 2025, 3:52pm
9
I don’t want to update, but I need to add two more new routers (SLZB-06) to the system, and how can I add them if I can’t install the old version of z2m?
miomia:
new routers
Are you trying to add them as routers (with router firmware) or as coordinators (with coordinator firmware)?
miomia
(Miomia)
January 22, 2025, 4:29pm
11
fleskefjes:
coordinators
All my devices (SLZB-06) are connected via a network cable and work as coordinators. I connected the new device to the cable as a coordinator in the same way
You can only have one coordinator. Flash the others as routers.
OK, at least that is correct. What are the IP addresses for the coordinators and HA?
In the same zigbee network, this is true, but OP is trying to set up multiple networks.
All though @miomia you should just do a backup, do the required steps before upgrading and then upgrade rather than setting up separate networks.
miomia
(Miomia)
January 22, 2025, 5:25pm
14
HA - http://192.168.1.176/
New ccodinator -192.168.1.244/
Old coordinators ; 192.168.1.47 and 192.168.1.155
Not sure if it makes any odds but on mine the working config looks like this :
miomia
(Miomia)
January 22, 2025, 5:38pm
16
I changed but the mistake is the same
OK, so on the same subnet. You have power cycled the coordinators, and they are reachable by the GUI? I still stick with doing the upgrade is the wiser choice though.
miomia
(Miomia)
January 22, 2025, 5:44pm
18
In the system logs, the error is constantly “WARNING (MainThread) [supervisor.addons.options] Unknown option ‘mqtt’ for Zigbee2MQTT (a6c68e27_zigbee2mqtt)”
a6c68e27_zigbee2mqtt is exactly the new Zigbee that I am installing
miomia
(Miomia)
January 22, 2025, 5:47pm
19
All coordinators with old (1.42.0-2) version works A with new (2.0.0-2) does not work
can you show the /zigbee2mqtt/configuration.yaml that is in the 2.0 instance that is not working please.