I recently got a raspbee2 and a zigbee sensor (Xiaomi Aqara Multi sensor WSDCGQ11LM) that is supported by raspbee2.
I installed home assistant using the home assistant OS. And installed the plugins:
- zigbee2mqtt
- mosquito
I then changed the config.txt to add:
enable_uart=1
dtoverlay=disable-bt
I completely disabled wifi and bluetooth on all home devices for the test including the router.
Plugged in raspbee2 correctly on its pins as the manual says. And used a 64W power source.
Checked rasbee2 firmware is the last one.
Checked hardware:
DEVLINKS: /dev/serial0
DEVNAME: /dev/ttyAMA0
DEVPATH: /devices/platform/soc/fe201000.serial/tty/ttyAMA0
MAJOR: '204'
MINOR: '64'
SUBSYSTEM: tty
TAGS: ':systemd:'
USEC_INITIALIZED: '3144416'
I configured zigbee2mqtt with:
port: /dev/ttyAMA0
adapter: deconz
When starting zigbee2mqtt the log says:
[13:22:55] INFO: Preparing to start...
[13:22:55] INFO: Socat not enabled
[13:22:57] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2023-03-16 13:23:02: Logging to console and directory: '/config/zigbee2mqtt/log/2023-03-16.13-23-02' filename: log.txt
Zigbee2MQTT:info 2023-03-16 13:23:02: Starting Zigbee2MQTT version 1.30.2 (commit #unknown)
Zigbee2MQTT:info 2023-03-16 13:23:02: Starting zigbee-herdsman (0.14.96)
Zigbee2MQTT:info 2023-03-16 13:23:03: zigbee-herdsman started (resumed)
Zigbee2MQTT:info 2023-03-16 13:23:03: Coordinator firmware version: '{"meta":{"maintrel":0,"majorrel":38,"minorrel":120,"product":0,"revision":"0x26780700","transportrev":0},"type":"ConBee2/RaspBee2"}'
Zigbee2MQTT:info 2023-03-16 13:23:03: Currently 0 devices are joined:
Zigbee2MQTT:warn 2023-03-16 13:23:03: `permit_join` set to `true` in configuration.yaml.
Zigbee2MQTT:warn 2023-03-16 13:23:03: Allowing new devices to join.
Zigbee2MQTT:warn 2023-03-16 13:23:03: Set `permit_join` to `false` once you joined all devices.
Zigbee2MQTT:info 2023-03-16 13:23:03: Zigbee: allowing new devices to join.
Zigbee2MQTT:info 2023-03-16 13:23:04: Connecting to MQTT server at mqtt://core-mosquitto:1883
Zigbee2MQTT:info 2023-03-16 13:23:05: Connected to MQTT server
Zigbee2MQTT:info 2023-03-16 13:23:05: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info 2023-03-16 13:23:05: Started frontend on port 0.0.0.0:8099
Zigbee2MQTT:info 2023-03-16 13:23:05: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"unknown","coordinator":{"meta":{"maintrel":0,"majorrel":38,"minorrel":120,"product":0,"revision":"0x26780700","transportrev":0},"type":"ConBee2/RaspBee2"},"log_level":"info","network":{"channel":11,"extendedPanID":"0xdddddddddddddddd","panID":6754},"permit_join":true,"version":"1.30.2"}'
Zigbee2MQTT:info 2023-03-16 13:23:05: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info 2023-03-16 13:23:05: Zigbee2MQTT started!
Opened the zigbee2mqtt UI and I reset the aqara device as in Xiaomi WSDCGQ11LM control via MQTT | Zigbee2MQTT, but I wasn’t able to pair it.
The raspberry and the sensor were at less than 10cm one from another.
As in the instruction I tried to replace aqara battery, but didn’t work.
Finally I tried to install the deCONZ plugin and tried from there, trying also different channels. No luck as well.
Do you think one of the two device can be broken? Do you have any suggestion?
I don’t have another zigbee device yet to try, does it make sense to buy another device and try that?