Skip to content

elsemieni/elsemieni-mho-h411

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elsemieni MHO-H411 reading library

What is this about?

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.

How to use

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...)

Proper documentation

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 ).

TODO: A nice way to integrate to HA

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...

License

WTFPL, except official user manual. See LICENSE for details.

About

Python library to read MHO-H411 CO2 sensors.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages