Not much really. Is just the outcome of trying to read a BLE device called Meawow CO2 detector (MHO-H411) I purchased from AliExpress with no support at all in HomeAssistant (see more of that here ).
Here I provided a Python library that allows you to:
- Discover MHO-H411 devices
- Connects to them and read stuff
- Set time, lighting, C/F setting.
- Force reboot for forcing C02 reading (by unortodoxy methods). (*)
AFAIK seems C02 reading switching is not switchable remotely officially. So, this is somewhat a very cheap hack to turning on C02 reading remotely.
A functional class is t mhoh411.py and a some example code at example.py for quick introduction. It requires some dependencies that can be installed using
pip install -r requirements.txt (I could add it to PyPI but the code is not that good enough for that I think...)
Sadly there is no more documentation than the code itself, plus attached user manual and FCC repot here (plus the HomeAssistant forum thread poster upper here ).
Until now I tried to use this lib to try HA recognize this as an device, but I got quite lost (tried to do an addon, but seems addons lack BT hardware access?). For now I'm still seeking ideas, but for now I will leave this as just TODO...
WTFPL, except official user manual. See LICENSE for details.