WatchFlower is a plant monitoring application that reads and plots data from compatible Bluetooth sensors like Xiaomi "Flower Care" and "RoPot" or Parrot "Flower Power" and "Parrot Pot", as well as many Bluetooth thermometers! It works with international and Chinese Xiaomi devices, doesn't require an account creation, your GPS location, nor any other personal data from you!
Works on Linux, macOS, Windows, but also Android and iOS! Desktop binaries are available on the "release" page, mobile applications are on the app stores.
Virtually all phones and laptops have Bluetooth "Low Energy", but you will need to make sure your desktop computer has a Bluetooth card or dongle (and for Windows, a working driver too).
Available in Chinese (traditional and simplified), Danish, Dutch, English, French, Frisian, Hungarian, German, Norwegian (Bokmål and Nynorsk), Russian and Spanish!
Application developed by Emeric Grange. Visual design by Chris Díaz.
WatchFlower has been built to be compatible with as many Bluetooth sensors as possible.
Various new Bluetooth devices and sensors can be added to WatchFlower. If you have one in mind, you can contact us and we'll see what can be done!
Checkout out the device page to get more informations about the devices currently support, and get a peek at their Bluetooth APIs.
You can also create your own sensors and use them with WatchFlower! Checkout this guide to learn more about the process.
WatchFlower is NOT associated with Xiaomi, Parrot, or any device manufacturer.
Please note that most Chinese devices have many names, usually no official manufacturer, sometimes a couple of variants potentially sold as the same base model. We do our best to identify them as clearly as we can.
Flower Care | Flower Care | Flower Care Max | RoPot | Flower Power | Parrot Pot |
---|---|---|---|---|---|
HHCCJCY01 | HHCCJCY10 | HHCCJCY09 GCLS002 |
HHCCPOT002 | RKXHAWAII | 2AG61POT |
Xiaomi / VegTrug / ... (International and Chinese versions) |
Tuya | Xiaomi and VegTrug variants | Xiaomi and VegTrug variants | (monitoring only) |
Xiaomi MiJia Bluetooth Hygrometer (LCD) | ClearGrass Temp & RH Monitor (EInk) | Qingping Temp & RH Monitor Lite (LCD) |
---|---|---|
LYWSDCGQ | CGG1 | CGDK2 |
Miaomiaoce Thermo-Hygrometer 2 (LCD) | Miaomiaoce Thermo-Hygrometer 2 (EInk) | Miaomiaoce Thermo-Hygrometer (EInk) |
---|---|---|
LYWSD03MMC | MHO-C401 | XMWSDJO4MMC |
Miaomiaoce Digital Hygrometer Clock (EInk) | Miaomiaoce Digital Hygrometer Alarm (EInk) | Qingping Bluetooth Alarm Clock (LCD) | Qingping Temp & RH Barometer Pro S (LCD) |
---|---|---|---|
LYWSD02 | MHO-C303 | CGD1 | CGP1W |
ThermoBeacon (round keychain) | ThermoBeacon (diamond keychain) | ThermoBeacon (LCD) |
---|---|---|
2ACD3-WS02 2ACD3-WS07 |
2ACD3-WS02 | 2ACD3-WS08 KEU-WA59D |
Air Box WP6003 | Honeywell HCHO detector | Qingping Air Monitor Lite |
---|---|---|
JQJCY01YM | CGDN1 |
b-parasite | HiGrow |
---|---|
(with custom firmware) | (with custom firmware) |
firmware | firmware |
ESP32 Air Quality Monitor | ESP32 Weather Station | ESP32 Geiger Counter |
---|---|---|
build | build | build |
You will need a C++17 compiler and Qt 6.5+ with the following 'additional librairies':
For Android builds, you'll need the appropriates JDK (11) SDK (23+) and NDK (23+). You can customize Android build environment using the assets/android/gradle.properties
file.
For Windows builds, you'll need the MSVC 2019+ compiler. Bluetooth won't work with MinGW.
For macOS and iOS builds, you'll need Xcode 13+ installed.
$ git clone https://github.com/emericg/WatchFlower.git
$ cd WatchFlower/
$ qmake6
$ make
The Android operating system requires applications to ask for device location permission in order to scan for nearby Bluetooth Low Energy sensors. Android 10+ will ask for _ACCESS_FINELOCATION, while Android 6+ will only ask for _ACCESS_COARSELOCATION.
This is a mandatory requirement. The application is neither using nor storing your location. Sorry for the inconvenience.
You can learn more on Android developer website.
Some devices also require the GPS to be turned on while scanning for new sensors. This requirement is not documented and there is not much that can be done about it.
Using the 'background updates' feature requires the _ACCESS_BACKGROUNDLOCATION additional permission, for the same reasons just mentioned above. Note that you can actually deny that permission, but then the background updates will be much less efficient.
It's also very important to note that Android phones will try very hard to both prevent the app from starting in the background, then kill every application running in the background, making it hard for this feature to work properly.
Depending on your phone model and manufacturer, you will have to manually enable auto launch
and manually disable various battery saving
features.
Fortunately, there is a very good website with per device steps to help you do that: https://dontkillmyapp.com/
The application will ask you for permission to use Bluetooth. You can learn more on Apple website.
Starting with macOS 11, the application will ask you for permission to use Bluetooth. You can learn more on Apple developer website.
While reading Flower Care and RoPot historical entry count, the sensors usually freeze for up to a second, and the Linux kernel consider that to be a connection timeout.
To be able to get the historical data working on Linux, you'll need to increase the "supervision timeout" value (while root):
# echo 100 > /sys/kernel/debug/bluetooth/hci0/supervision_timeout
You could also give WatchFlower binary the _netraw and _netadmin capabilities, so that it could be allowed to changes the supervision timeout on its own. But at the moment that's not fully implemented.
# setcap 'cap_net_raw,cap_net_admin+eip' watchflower
You can browse the code on the GitHub page, submit patches and pull requests! Your help would be greatly appreciated ;-)
You can help us find and report bugs, suggest new features, help with translation, documentation and more! Visit the Issues section of the GitHub page to start!
WatchFlower is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
Read the LICENSE file or consult the license on the FSF website directly.
Emeric Grange emeric.grange@gmail.com