zewelor / bt-mqtt-gateway

A simple Python script which provides a Bluetooth to MQTT gateway, easily extensible via custom workers. See https://github.com/zewelor/bt-mqtt-gateway/wiki for more information.
MIT License
550 stars 117 forks source link

Qingping cleargrass CGD1 #188

Open mtgpcs opened 4 years ago

mtgpcs commented 4 years ago

Qingping cleargrass CGD1 / https://www.xiaomitoday.com/check-out-the-xiaomi-cleargrass-cgd1-3-in-1-bluetooth-temperature-humidity-alarm-clockbuy-for-13-89/ [...]

I found code that work with ESP32 https://github.com/1technophile/OpenMQTTGateway https://github.com/custom-components/sensor.mitemp_bt#how-to-install

Also some more info here https://community.home-assistant.io/t/xiaomi-mijia-cleargrass-qingping/116819/11

I tried to use the lywsd03mmc and it didn't work. I have this, CGD1, the LYWSDCGQ, and LYWSD03MMC.

Functions and features Temp and Humidity is all I want to read.

Checklist

joroosen commented 2 years ago

I'm going to follow this one. Topic is 1.5 years old but if...one day...it's possible to have support for this device that would be great! :)

mtgpcs commented 2 years ago

I ended up moving from this platform to Home Assistant and moving to this https://github.com/custom-components/ble_monitor I think you can also use esphome. You do have to get a decrypt key but it works a lot better. I also installed this on the other sensors https://github.com/atc1441/ATC_MiThermometer