Tested with Qingping CO2 Temp & RH Sensor (CGP22C) via it's private cloud
https://github.com/GreyEarl/qingping-air-monitor-mqtt
Currently there is no much sence in history data (sesnor take measurment each 15 minutes, but uploads data once a hour) History data is fully parsed since version 0.2, but I can not find any Api in HA to put that data in ha entity history. Currently it's avaible in extended attributes for status sensor.
- Go to http://homeassistant.local:8123/hacs/integrations
- Add
https://github.com/bob-tm/ha-qingping
custom integration repository - Download the Qingping repository
- Go to http://homeassistant.local:8123/config/integrations and add new integration
- Choose "Qingping MQTT Parser" from the list and follow the config flow steps
- Press button on Qingping device to publish data over wifi
- Sensors will be added automaticaly
- Sensor Status has extended attributes for debuging and inverstigating. Use ha /developer-tools/state to view what sensor sends.
After HA Rebot sensors will be unavailable until first fresh data from qingping device. Currenty unavailable status not tracked.
Credits to https://github.com/niklasarnitz/qingping-co2-temp-rh-sensor-mqtt-parser for payload parsing code