Z2M does not start if RaspberryMatic is running

Hi,

I have a Problem with my HA installation. My Z2M doesn’t start when I have RaspberryMatic running. When I stop the RaspberryMatic Addon, then Z2M works fine, but as soon as I start RaspberryMatic, Z2M crashes.

I have the following setup:

HA VM running on ESXi

Skyconnect USB Stick for Z2M

Homematic RF Stick for RaspberryMatic

I have used the device id of the skyconnect in the Z2M config:

/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_5e9b12ab07deed1199d9ed2d62c613ac-if00-port0

However I cannot find the Homematic stick under the hardware tab in HA. Maybe RaspberryMatic blocks the USB ports?

Does anyone have a similar setup or knows what the issue might be? I have tried running RaspBerryMatic in a seperate VM but in this case I cannot connect any Homematic IP devices and I am unsure why.

The error message vom Z2M is that it could not start zigbee-herdsman (0.35.1)

Zigbee2MQTT:error 2024-03-28 12:13:40: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-03-28 12:13:40: Failed to start zigbee
Zigbee2MQTT:error 2024-03-28 12:13:40: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-03-28 12:13:40: Exiting...
Zigbee2MQTT:error 2024-03-28 12:13:40: Error: Failure send version:{"type":"Buffer","data":[0,0,0,4]}
    at /app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:664:23
    at Queue.execute (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:35:20)
    at Ezsp.version (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:469:24)
    at Driver.startup (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:172:9)
    at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
    at Zigbee.start (/app/lib/zigbee.ts:62:27)
    at Controller.start (/app/lib/controller.ts:109:27)
    at start (/app/index.js:107:5)

Sometimes it starts but crashes right after:

Zigbee2MQTT:error 2024-03-28 11:42:59: Adapter disconnected, stopping
Zigbee2MQTT:info  2024-03-28 11:42:59: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"offline"}'
Zigbee2MQTT:info  2024-03-28 11:42:59: Disconnecting from MQTT server
Zigbee2MQTT:info  2024-03-28 11:42:59: Stopping zigbee-herdsman...
Zigbee2MQTT:error 2024-03-28 11:42:59: Failed to stop Zigbee2MQTT

FYI first google result shows the culprit

https://www.google.com/search?q=rasberry+matic+zigbee2mqtt&rlz=1C1GCEB_enUS1041US1041&oq=rasberry+matic+zigbee2mqtt&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIJCAEQIRgKGKABMgkIAhAhGAoYoAEyCQgDECEYChigATIJCAQQIRgKGKABMgkIBRAhGAoYoAHSAQg4MjkyajBqN6gCALACAA&sourceid=chrome&ie=UTF-8

1 Like

okay I feel stupid now. Thanks for the quick reply. I abbreviated zigbee2mqtt to z2m thats why the result didn’t come up…

z2m in the HA world has multiple meanings. Zigbee2MQTT, Zwave2MQTT, and ZwaveJS2MQTT. Your mileage may vary when using z2m.

Although more recently Z2M just means Zigbee2MQTT, it still holds on to those old meanings from the past when Zwave2MQTT was frequently used (~3 years back) and Zwave JS UI was renamed from ZwaveJS2MQTT about a year ago.

2 Likes

Ah okay thanks I understand now. I am still new to home assistant so thank you very much for the insight :slight_smile:

1 Like