Hi,
so I am completely new to the whole topic of zigbee, hass.io and so on. I bought all the components (CC2530 to flash as coordinator and so on), setup everything, watched lots of tutorials, also got the Aqara Sensor to work for a short time, but I do not completely understand how/why it works
So I installed the Configurator, mosquitto broker, zigbee2mqtt. Did setup everything, switched on my Aqara Sensor (pairing mode) and got data in return:
zigbee2mqtt:info 2019-1-31 17:50:28 MQTT publish: topic âzigbee2mqtt/bridge/stateâ, payload âonlineâ
zigbee2mqtt:info 2019-1-31 17:50:28 MQTT publish: topic âzigbee2mqtt/0x00158d0002c9065dâ, payload â{âtemperatureâ:14.37,âlinkqualityâ:162,âhumidityâ:48.66,âpressureâ:982,âbatteryâ:55,âvoltageâ:2995}â
zigbee2mqtt:info 2019-1-31 17:50:28 MQTT publish: topic âhomeassistant/sensor/0x00158d0002c9065d/temperature/configâ, payload â{âunit_of_measurementâ:â°Câ,âdevice_classâ:âtemperatureâ,âvalue_templateâ:"{{ value_json.temperature }}",âjson_attributesâ:[âlinkqualityâ,âbatteryâ,âvoltageâ],âstate_topicâ:âzigbee2mqtt/0x00158d0002c9065dâ,âavailability_topicâ:âzigbee2mqtt/bridge/stateâ,ânameâ:â0x00158d0002c9065d_temperatureâ,âunique_idâ:â0x00158d0002c9065d_temperature_zigbee2mqttâ,âdeviceâ:{âidentifiersâ:âzigbee2mqtt_0x00158d0002c9065dâ,ânameâ:â0x00158d0002c9065dâ,âsw_versionâ:âZigbee2mqtt 1.0.1â,âmodelâ:âAqara temperature, humidity and pressure sensor (WSDCGQ11LM)â,âmanufacturerâ:âXiaomiâ}}â
That was yesterday. Today I switched my raspberry back on and in the âOverview sectionâ I had 3 new circles (beside weather and the âmoonâ), one for temp, humidity, hpa.
Problem is it seems to work only for a short period of time, so I figured I must be doing something wrong.
Do I need the moquitto broker at all? Do I need to do something after hass.io recognized the Sensor under zigbee2mqtt? Like officially add it somewhere? Do I have to create an entry in the configuration.yaml under Sensors?