Olá,
A minha skyconnect chegou
Tentei configurar com zigbee2mqtt mas sem sucesso.
Será que me conseguem ajudar?
Tenho um user chamado
MQTT-user
Tenho o mosquito broker add on instalado e configurado
logins:
- username: MQTT-user
password: ************
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
customize:
active: false
folder: mosquitto
E o zigbee2mqtt:
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:
base_topic: zigbee2mqtt
server: mqtt://core-mosquitto:1883
serial:
port: /dev/ttyUSB0
Quando começa o zigbee2mqtt aparece este erro:
[18:19:18] INFO: Preparing to start...
[18:19:19] INFO: Socat not enabled
[18:19:21] INFO: Starting Zigbee2MQTT...
[2024-06-11 18:19:27] info: z2m: Logging to console, file (filename: log.log)
[2024-06-11 18:19:27] info: z2m: Starting Zigbee2MQTT version 1.38.0 (commit #unknown)
[2024-06-11 18:19:27] info: z2m: Starting zigbee-herdsman (0.49.2)
[2024-06-11 18:19:27] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/ttyUSB0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2024-06-11 18:19:28] error: z2m: Error while starting zigbee-herdsman
[2024-06-11 18:19:28] error: z2m: Failed to start zigbee
[2024-06-11 18:19:28] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
[2024-06-11 18:19:28] error: z2m: Exiting...
[2024-06-11 18:19:28] error: z2m: Error: Error Resource temporarily unavailable Cannot lock port
O que me está a falhar?