Hello Everyone,
Afters days of trial and error hopefully you can give me some hints.
I have a running openhab system mostly used to connect to my knx environment.
No i want to try some zigbee devices additionally.
I have successfully installed zigbee2mqtt and also installed the latest MQTT binding within OH.
Also added the Aqara temp sensor and can see the data in the logfile:
MQTT publish: topic ‘zigbee2mqtt/Tempsensor’, payload ‘{“battery”:74,“voltage”:2955,“temperature”:24.64,“humidity”:54.3,“pressure”:950.4,“linkquality”:34}’
My configuration file:
Things File:
Bridge mqtt:broker:mybroker “my MQTT” [ host=“localhost”, clientID=“openHAB2” ]
{
// Temp sensors
Thing topic Tempsensor “Tempsensor” {
Channels:
Type number : temperature "temperature" [stateTopic="zigbee2mqtt/Tempsensor/temperature"]
}
}
Item File
//Zigbee
Number temperature “Temperature [%.1f °C]” {channel=“mqtt:topic:mybroker:Tempsensor:temperature”}
I think i already tried all possible options without any luck.
Still no data in the sitemap or paperui/control
Thank you for your input and just let me know if you need more infos.
PS: i have enabled the homeassistant parameter to doublecheck the connection between OH and zigbee2mqtt only.