Hi,
I am using window sensors that communicate with OH3 via MQTT.
All “sensor” channels work and receive data, e.g link quality or battery level
But the “binary_sensor” item always shows NULL instead of true or false.
The ‘contact’ Item is also not listed in the openhab.log file.
From MQTT.fx:
"{"battery":100,"contact":true,"linkquality":12,"temperature":28,"voltage":3025}"
OH Thing Config:
UID: mqtt:homeassistant_zigbee2mqtt_5F0x00158d0002b568a1:a30de226db:zigbee2mqtt_5F0x00158d0002b568a1
label: Window Contact LivingRoom
thingTypeUID: mqtt:homeassistant_zigbee2mqtt_5F0x00158d0002b568a1
configuration:
topics:
- sensor/0x00158d0002b568a1/battery
- sensor/0x00158d0002b568a1/voltage
- sensor/0x00158d0002b568a1/temperature
- sensor/0x00158d0002b568a1/linkquality
- binary_sensor/0x00158d0002b568a1/contact
basetopic: homeassistant
bridgeUID: mqtt:broker:a30de226db
Any ideas?
Do I have to assign a specific Profile to the Channel?
Thanks,
Dirk