All Projects → flatsiedatsie → Mi_Flower_mate_plugin

flatsiedatsie / Mi_Flower_mate_plugin

Licence: GPL-3.0 license
A plugin for Domoticz, the open source home automation software, which allows it to easily connect to Xiaomi Mi Flower Mate devices

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Mi Flower mate plugin

mijia-homie
A Homie MQTT bridge for the Xiaomi Mijia 2 hygrometer-thermometer. This repo also serves as the monorepo for a handful of helper crates related to Homie and Bluetooth.
Stars: ✭ 40 (+207.69%)
Mutual labels:  bluetooth-low-energy, xiaomi
miThermoHygro
Xiaomi BLE Thermo- & Hygrometer implementation for Domoticz
Stars: ✭ 16 (+23.08%)
Mutual labels:  xiaomi, domoticz
xiaomi-mi-air-purifier
Homebridge plugin for Xiaomi Mi Air Purifier
Stars: ✭ 67 (+415.38%)
Mutual labels:  xiaomi, xiaomi-smart-home
Xiaomi Flower Care Api
Xiaomi Flower Care (MiFlora) API wrapper.
Stars: ✭ 111 (+753.85%)
Mutual labels:  bluetooth-low-energy, xiaomi
Homebridge Mi Hygrothermograph
Homebridge plugin for the Xiaomi Mi Bluetooth Temperature and Humidity Sensor
Stars: ✭ 179 (+1276.92%)
Mutual labels:  bluetooth-low-energy, xiaomi
miio-go
An implementation of the miIO home protocol by Xiaomi written in Golang.
Stars: ✭ 35 (+169.23%)
Mutual labels:  xiaomi, xiaomi-smart-home
Miband4
Access Xiaomi MiBand 4 from Linux using Bluetooth LE
Stars: ✭ 238 (+1730.77%)
Mutual labels:  bluetooth-low-energy, xiaomi
openlumi.github.io
OpenWrt for Xiaomi Zigbee gateway with imx6 SoC DGNWG05LM, ZHWG11LM
Stars: ✭ 134 (+930.77%)
Mutual labels:  xiaomi, xiaomi-smart-home
ESP32BleAdvertise
Simple library for BLE advertise using ESP32 in Arduino
Stars: ✭ 39 (+200%)
Mutual labels:  bluetooth-low-energy
amazfit-bip-kr
Amazfit Bip Korean Firmware and tools for making it
Stars: ✭ 34 (+161.54%)
Mutual labels:  xiaomi
gpedal
Virtually ride indoors with Google Street View and bluetooth bike power meters (Web Bluetooth API)
Stars: ✭ 83 (+538.46%)
Mutual labels:  bluetooth-low-energy
XM BBS
小米社区自动点赞,评论。本人从未在除github以外任何平台发布过教程。因内测机制改版,本项目不再更新。
Stars: ✭ 93 (+615.38%)
Mutual labels:  xiaomi
Smart-Lights-Yeelight
Control Yeelight Devices quickly from your Mac OS Tray
Stars: ✭ 51 (+292.31%)
Mutual labels:  xiaomi
bety
Web-interface to the Biofuel Ecophysiological Traits and Yields Database (used by PEcAn and TERRA REF)
Stars: ✭ 14 (+7.69%)
Mutual labels:  plants
BLELib
This library contains many of the features you need to interact with BLE peripherals
Stars: ✭ 21 (+61.54%)
Mutual labels:  bluetooth-low-energy
Abeille
Abeille pour Jeedom (Gateway ZiGate)
Stars: ✭ 56 (+330.77%)
Mutual labels:  xiaomi
IOS-CoreBluetooth-Mock
Mocking library for CoreBluetooth framework.
Stars: ✭ 142 (+992.31%)
Mutual labels:  bluetooth-low-energy
ios
CoThings's iOS application. CoThings is a realtime counter for shared things.
Stars: ✭ 13 (+0%)
Mutual labels:  bluetooth-low-energy
xiaomi gdrive
Google drive loader for xiaomi smart ip camera
Stars: ✭ 70 (+438.46%)
Mutual labels:  xiaomi
PiBeacon
Low-cost iBeacon using Raspberry Pi
Stars: ✭ 41 (+215.38%)
Mutual labels:  bluetooth-low-energy

Mi_Flower_mate_plugin

A plugin for Domoticz, the open source home automation software, which allows it to easily connect to Xiaomi Mi Flower Mate devices. To be noted : it may also works for other sensors than Xiaomi like E-Greetshopping (https://www.amazon.ca/Greetshopping-Monitor-Moisture-Detector-Suitable/dp/B08X2B18R5) or others that are compliant with Android Flower care App for instance (https://play.google.com/store/apps/details?id=com.huahuacaocao.flowercare&hl=en&gl=US)

These are Bluetooth LE plant monitoring devices which cost about 12 dollars. They last up to a year on a coincell battery, and measure moisture, temperature, light and conductivity. https://wiki.hackerspace.pl/projects:xiaomi-flora

The plugin creates a special switch. Toggle the switch to get fresh data from all sensors. By having a switch to poll for new data, it becomes easy to create timers and other fun integrations in scripts. Remember that frequent polling results in draining batteries of the devices.

The plugin also creates for each sensor 4 devices :

A Temperature device for the air temperature read from the sensor
A Moisture device for the soil humidity percentage read from the sensor
A Light device for reading the number of Lux from the sensor
A Conductivity device for reading the "soil fertility" from the sensor (micro Siemens by centimeter)

The plugin now also has an "automatic" mode, where it will do a bluetooth scan for devices everytime Domoticz starts, and automatically add new devices it finds.

Links

Detailed installation instructions can be found on the Domoticz wiki: https://www.domoticz.com/wiki/Plugins/Mi_flower_mate

Discussion about the plugin can be found here: https://www.domoticz.com/forum/viewtopic.php?f=65&t=22281

Installation (short version)

Install the plugin as usual. See: https://www.domoticz.com/wiki/Using_Python_plugins

You also need the Bluepy library to be installed.

wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
sudo python3 -m pip install bluepy

Alternatively, you can use apt-get, but might install python 3.5 as well. If you are trying to stay on python 3.4, use the wget method above.

sudo apt-get install python3-pip libglib2.0-dev
sudo pip3 install bluepy

In automatic mode, the plugin will do bluetooth scans at startup, and integrate any Mi Flora Devices it finds.

In manual mode you can select which devices to add by entering their mac addresses on the hardware page. To find your Flower Mates' mac-addresses do a bluetooth scan:

sudo hcitool lescan

Thanks to

This plugin builds on the work by Daniel Matuschek, who created a great library for the Flower Mate devices.
https://pypi.python.org/pypi/miflora

It also builds on the original domoticz script created by Tristan:
https://github.com/Tristan79/miflora

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].