Skip to end of metadata
Go to start of metadata
Autor
Logo

Status

STABLE

Version1.0.1
Kompatibilität

LB 0.2.3LB 1.0

Download https://github.com/michaelmiklis/loxberry-plugin-miflora/archive/v1.0.1.zip
Zweck Loxberry plugin for querying Xiaomi MiFlora Flower Sensors
 Version History...
  • 2018-06-18 Release 1.0.1 - Fixed typo in postroot.sh install script
  • 2018-06-04 Release 1.0.0 - Initial release of version 1.0.0


Inhalt


This Plugin queries the Xiaomi MiFlora Flower Sensors via bluetooth low energy (btle) and sends the data via UDP to the Loxone Miniserver.

Xiaomi MiFlora Plugin

The Xiaomi MiFlora Plugin supports multiple flower sensors. During each execution a bluetooth scan for Xiaomi MiFlora devices is performed and each found device will be queried. Each received value will be send as an individual UDP packet. The UDP packets will have the following format:

[Device-MAC].[Sensor-Name]=[Value]

Sample:

C47C8D66275B.Moisture=4 C47C8D66275B.Light=136

Sample

The UDP packages will be sent as follows:

UDP-Monitor

With the following command recognition the values can be assigend to a "UDP-Command" / virtual input:

UDP-Befehl

Sensor data

Sensor NameDescriptionSample value
NameName of the sensorFlower care
PollTimeDate/Time in Loxone format297370058
PollTimeStringDate/Time string03.06.2018 18:47:38
FirmwareFirmware version2.7.0
TemperatureTemperature in Celcius27.1
MoistureMoisture (unknown unit)4
LightLight (unknown unit)136
ConductivityConductivity (unknown unit)0
BatteryBattery level in percent86

Troubleshooting and feedback

If you have any issues you can run the plugin manually from the Loxberry command line (SSH) using the following command: /usr/bin/python3 /opt/loxberry/bin/plugins/xiaomi-miflora/miflora.py

This plugin will be improved over time and feedback is appreciated. Therefore I created a thread in the LoxForum:

https://www.loxforum.com/forum/projektforen/loxberry/plugins/156917-plugin-xiaomi-miflora-flower-monitor


Where to buy

Amazon: https://www.amazon.de/Flower-Care-Pflanzenmonitor-Bodenfruchtbarkeit-feuchtigkeitsgrad-White/dp/B01MUDQD8I/

AliExpress: https://de.aliexpress.com/item/Original-Xiaomi-Mi-Plants-Monitor-Flower-Plants-Tester-Xiaomi-Flora-Sensor-with-Bluetooth-for-Aquarium-Garden/32739947607.html

AliExpress: https://de.aliexpress.com/item/Xiaomi-MIJIA-Flora-Monitor-Digital-Flower-Grass-Plants-Care-Garden-Soil-Water-Smart-Tester-Sensor-International/32864987731.html

Otherwise search for "Flora" on AliExpress, Zapals or any other shopping site.


Tested Devices

The following devices have been tested with this plugin:

Device DescriptionResult
Xiaomi MiFlora International Version(successful)
Raspberry Pi 3 internal Bluetooth Module(successful)
LogiLink® Bluetooth 4.0 Adapter
(successful)