Hi All,
Wondering if anyone can shed any light on my issue.
I have newly set up a RPi3 with HA. At the moment its only purpose is to control my lights where I have placed Candeo Zigbee Dimmer switches in all rooms.
The pairing mode for them is simple, press 5 times and hold on fifth and the lights flash, however they do not show in HA. ( no other zigbee devices to try yet)
Now the strange thing is in the Zigbee2MQTT Add on I have the following config:
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:
server: mqtt://core-mosquitto:1883
base_topic: zigbee2mqtt
cert: /etc/ssl/mqtt-client.crt
user: *******
password: ********
client_id: MY_CLIENT_ID
reject_unauthorized: true
include_device_information: true
keepalive: 60
version: 4
force_disable_retain: false
Serial:
port: >-
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_c6689315468eed11af4f8554b96ce6f8-if00-port0
My problem began with the MQTT step, I tried a number of different code and kept getting errors until I have the above.
However, when checking the log its all seems to show green which looks positive and the Web UI can be opened to connect devices but nothing appears when trying to pair.
See my log info here: (I have a feeling something is off with ‘socat’ but not sure what that is tbh)
[20:55:42] INFO: Preparing to start…
[20:55:42] INFO: Socat not enabled
[20:55:43] INFO: Starting Zigbee2MQTT…
Starting Zigbee2MQTT without watchdog.
[2024-12-19 20:56:02] info: z2m: Logging to console, file (filename: log.log)
[2024-12-19 20:56:02] info: z2m: Starting Zigbee2MQTT version 1.42.0 (commit #unknown)
[2024-12-19 20:56:02] info: z2m: Starting zigbee-herdsman (2.1.9)
[2024-12-19 20:56:05] info: zh:zstack:znp: Opening SerialPort with {“path”:“/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_c6689315468eed11af4f8554b96ce6f8-if00-port0”,“baudRate”:115200,“rtscts”:false,“autoOpen”:false}
[2024-12-19 20:56:05] info: zh:zstack:znp: Serialport opened
[2024-12-19 20:56:05] info: z2m: zigbee-herdsman started (resumed)
[2024-12-19 20:56:05] info: z2m: Coordinator firmware version: ‘{“meta”:{“maintrel”:1,“majorrel”:2,“minorrel”:7,“product”:1,“revision”:20240710,“transportrev”:2},“type”:“zStack3x0”}’
[2024-12-19 20:56:05] info: z2m: Currently 0 devices are joined.
[2024-12-19 20:56:05] warning: z2m: permit_join
set to true
in configuration.yaml.
[2024-12-19 20:56:06] warning: z2m: Allowing new devices to join.
[2024-12-19 20:56:06] warning: z2m: Set permit_join
to false
once you joined all devices.
[2024-12-19 20:56:06] info: z2m: Zigbee: allowing new devices to join.
[2024-12-19 20:56:06] info: z2m: Connecting to MQTT server at mqtt://core-mosquitto:1883
[2024-12-19 20:56:06] info: z2m: Connected to MQTT server
[2024-12-19 20:56:06] info: z2m:mqtt: MQTT publish: topic ‘zigbee2mqtt/bridge/state’, payload ‘{“state”:“online”}’
[2024-12-19 20:56:07] info: z2m: Started frontend on port 8099
[2024-12-19 20:56:07] info: z2m:mqtt: MQTT publish: topic ‘zigbee2mqtt/bridge/state’, payload ‘{“state”:“online”}’
[2024-12-19 20:56:07] info: z2m: Zigbee2MQTT started!
[2024-12-19 20:56:12] info: z2m:mqtt: MQTT publish: topic ‘homeassistant/binary_sensor/1221051039810110150109113116116_0x00124b002e1e7c00/connection_state/config’, payload ‘{“device”:{“hw_version”:“zStack3x0 20240710”,“identifiers”:[“zigbee2mqtt_bridge_0x00124b002e1e7c00”],“manufacturer”:“Zigbee2MQTT”,“model”:“Bridge”,“name”:“Zigbee2MQTT Bridge”,“sw_version”:“1.42.0”},“device_class”:“connectivity”,“entity_category”:“diagnostic”,“name”:“Connection state”,“object_id”:“zigbee2mqtt_bridge_connection_state”,“origin”:{“name”:“Zigbee2MQTT”,“sw”:“1.42.0”,“url”:“https://www.zigbee2mqtt.io”},“payload_off”:“offline”,“payload_on”:“online”,“state_topic”:“zigbee2mqtt/bridge/state”,“unique_id”:“bridge_0x00124b002e1e7c00_connection_state_zigbee2mqtt”,“value_template”:“{{ value_json.state }}”}’
** ‘warning’ signs are there as I set the pair mode to open when testing
If anyone has any idea what the cause may be or anything different I can try it would truely be appriciated as I have been trying this for some days now scratching my head and not getting nowhere with this.
Additional info:
- MQTT Broker is on and active
- ZHA is Disabled
- Flashed the dongle to the latest software as it identified the device but would not connect
- Using a USB extention lead
- Please let me know if you need to know anything else in my query
Thanks in advance for any responses : )