Skip to content

matthias-bs/MicroPython-MiFlora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MiFlora MiFlora_screenshot

MicroPython-MiFlora

MicroPython library for Xiaomi Mi Flora (aka. flower care) BLE¹ plant sensors

¹ BLE: Bluetooth Low Energy

The library reads the following data from the device:

  • firmware version
  • battery level
  • temperature
  • light intensity
  • moisture
  • conductivity

The sensors' BLE MAC addresses must be supplied by the user in the variable miflora_sensors.

Example:

# MAC addresses of two Mi Flora sensors
miflora_sensors = [ 
    bytes(b'\xC4\x7C\x8D\x66\xA5\x3D'),
    bytes(b'\xC4\x7C\x8D\x66\xA4\xD5')
]

The MAC addresses can be found as follows:

The code was tested with MicroPython V1.15 on ESP32 (build esp32-20210418-v1.15.bin) with Mi Flora Firmware V3.2.2

MicroPython-MiFlora is based on the following code and documentation:

About

MicroPython library for Xiaomi Mi Flora (aka. flower care) BLE plant sensors

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy