1. mqtt lxc
2. z2m lxc
3. haos vm
All of them initalitzed by tteck script. Followed https://www.youtube.com/watch?v=1U7Sl8mfjDE and https://smarthomescene.com/guides/how-to-separate-zigbee2mqtt-from-home-assistant-in-proxmox/
First i got error for wrong port, then i fixed that and now I get error about baudrate. I've trying both with lines of baudrate setting and none in z2m yaml but both get same error output as below.
If I instead passing usb to HAOS VM for inside mqtt and z2m it works great with no problems.
zigbee2mqtt configuration.yaml
lsusb in the z2m console gets. My usb listed as Silicon Labs CP210x UART Bridge.
2. z2m lxc
3. haos vm
All of them initalitzed by tteck script. Followed https://www.youtube.com/watch?v=1U7Sl8mfjDE and https://smarthomescene.com/guides/how-to-separate-zigbee2mqtt-from-home-assistant-in-proxmox/
First i got error for wrong port, then i fixed that and now I get error about baudrate. I've trying both with lines of baudrate setting and none in z2m yaml but both get same error output as below.
If I instead passing usb to HAOS VM for inside mqtt and z2m it works great with no problems.
Code:
root@zigbee2mqtt:/opt/zigbee2mqtt# cd /opt/zigbee2mqtt && npm start
> zigbee2mqtt@1.30.3 start
> node index.js
Zigbee2MQTT:info 2023-04-21 19:31:21: Logging to console and directory: '/opt/zigbee2mqtt/data/log/2023-04-21.19-31-21' filename: log.txt
Zigbee2MQTT:info 2023-04-21 19:31:21: Starting Zigbee2MQTT version 1.30.3 (commit #24c6b2e2)
Zigbee2MQTT:info 2023-04-21 19:31:21: Starting zigbee-herdsman (0.14.103)
Zigbee2MQTT:error 2023-04-21 19:31:21: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-04-21 19:31:21: Failed to start zigbee
Zigbee2MQTT:error 2023-04-21 19:31:21: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-04-21 19:31:21: Exiting...
Zigbee2MQTT:error 2023-04-21 19:31:21: Error: Error while opening serialport 'Error: Error: Inappropriate ioctl for device setting custom baud rate of 115200'
at SerialPort.<anonymous> (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/adapter/z-stack/znp/znp.ts:146:28)
at SerialPort._error (/opt/zigbee2mqtt/node_modules/@serialport/stream/dist/index.js:76:22)
at /opt/zigbee2mqtt/node_modules/@serialport/stream/dist/index.js:112:18
root@zigbee2mqtt:/opt/zigbee2mqtt#
zigbee2mqtt configuration.yaml
Code:
# Home Assistant integration (MQTT discovery)
frontend: true
# allow new devices to join
permit_join: false
# MQTT settings
mqtt:
# MQTT base topic for zigbee2mqtt MQTT messages
base_topic: zigbee2mqtt
# MQTT server URL
server: 'mqtt://192.168.0.89:1883'
# MQTT server authentication, uncomment if required:
user: ***
password: ***
# Serial settings
serial:
# Location of CC2531 USB sniffer
port: /dev/serial/by-id/usb-Silicon_Labs_Sonoff_Zigbee_3.0_USB_Dongle_Plus_0001-if00-port0
advanced:
baudrate: 115200
rtscts: false
lsusb in the z2m console gets. My usb listed as Silicon Labs CP210x UART Bridge.
Code:
root@zigbee2mqtt:/opt/zigbee2mqtt# lsusb
Bus 003 Device 005: ID 138a:0010 Validity Sensors, Inc. VFS Fingerprint sensor
Bus 003 Device 004: ID 13d3:5188 IMC Networks USB2.0 UVC HD Webcam
Bus 003 Device 003: ID 8087:07dc Intel Corp. Bluetooth wireless interface
Bus 003 Device 002: ID 8087:8000 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub