Skip to content

OzzyCzech/MHO-C401

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Read Temperature and Huminidy from MHO-C401

MHO-C401 is new (2020) MMC E-Ink Screen Smart Bluetooth Thermometer Hygrometer BT2.0 Temperature Humidity Sensor from Xiaomi

Battery level

Service <uuid=Battery Service handleStart=25 handleEnd=28>
 Characteristic <Battery Level>
 > UUID:  00002a19-0000-1000-8000-00805f9b34fb
 > HANDLE:  0x1b
 > SUPPORTS:  READ NOTIFY 
 > RESULTS  b'c'

Temperature and humidity

 Characteristic <ebe0ccc1-7a0a-4b0c-8a1a-6ff2997da3a6>
 > UUID:  ebe0ccc1-7a0a-4b0c-8a1a-6ff2997da3a6
 > HANDLE:  0x36
 > SUPPORTS:  READ NOTIFY 
 > RESULTS  b'\x00\x00\x00'

3 bytes of data can

Device units (READ, WRITE)

 Characteristic <ebe0ccbe-7a0a-4b0c-8a1a-6ff2997da3a6>
 > UUID:  ebe0ccbe-7a0a-4b0c-8a1a-6ff2997da3a6
 > HANDLE:  0x33
 > SUPPORTS:  READ WRITE 
 > RESULTS  b'\x00'
  • b'\x00' - °C
  • b'\x01' - °F

About

Read Temperature and Huminidy from MHO-C401 with Python3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages