Metainformationen zur Seite
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
plugins:xiaomi_miflora_flower_sensor:start [2022/09/11 13:09] – Michael Schlenstedt | plugins:xiaomi_miflora_flower_sensor:start [2024/12/21 11:15] (aktuell) – Status Stopped Michael M. | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== Xiaomi MiFlora Flower Sensor | + | ====== Xiaomi MiFlora Flower Sensor ====== |
- | + | ++++ Version History...| | |
- | Version History... | + | |
* 2022-02-13 Release 2.0.4 - Added MQTT experimental MQTT functionality | * 2022-02-13 Release 2.0.4 - Added MQTT experimental MQTT functionality | ||
Zeile 11: | Zeile 10: | ||
* 2018-06-04 Release 1.0.0 - Initial release of version 1.0.0 | * 2018-06-04 Release 1.0.0 - Initial release of version 1.0.0 | ||
- | + | ++++ | |
- | + | ||
- | \\ | + | |
---- | ---- | ||
Zeile 20: | Zeile 16: | ||
This Plugin queries the Xiaomi MiFlora Flower Sensors via bluetooth low energy (btle) and sends the data via UDP and MQTT (experimental support) to the Loxone Miniserver. | This Plugin queries the Xiaomi MiFlora Flower Sensors via bluetooth low energy (btle) and sends the data via UDP and MQTT (experimental support) to the Loxone Miniserver. | ||
- | [[https:// | + | [[https:// |
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. | 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. | ||
- | |||
- | \\ | ||
- | |||
===== UDP Mode (default) ===== | ===== UDP Mode (default) ===== | ||
Zeile 41: | Zeile 34: | ||
The UDP packages will be sent as follows: | The UDP packages will be sent as follows: | ||
- | [[https:// | + | [[https:// |
With the following command recognition the values can be assigend to a " | With the following command recognition the values can be assigend to a " | ||
Zeile 49: | Zeile 42: | ||
===== MQTT Mode (Experimental Support) ===== | ===== MQTT Mode (Experimental Support) ===== | ||
- | Starting in version 2.0.4 the Xiaomi MiFlora Flower Sensor Plugin also supports MQTT for sending data to the Loxone Miniserver. This requires the MQTT Gateway Plugin to be installed and successfully configured.\\ | + | Starting in version 2.0.4 the Xiaomi MiFlora Flower Sensor Plugin also supports MQTT for sending data to the Loxone Miniserver. This requires the MQTT Gateway Plugin to be installed and successfully configured.\\ |
- | Further documentation and improvements on MQTT will be added in future releases. | + | |
- | + | ||
- | \\ | + | |
===== Sensor data ===== | ===== Sensor data ===== | ||
- | ^Sensor Name | + | ^ Sensor Name ^ Description |
- | |Name |Name of the sensor | + | | Name | Name of the sensor |
- | |PollTime | + | | PollTime |
- | |PollTimeString|Date/ | + | | PollTimeString | Date/Time string |
- | |Firmware | + | | Firmware |
- | |Temperature | + | | Temperature |
- | |Moisture | + | | Moisture |
- | |Light | + | | Light | Light (unknown unit) | 136 | |
- | |Conductivity | + | | Conductivity |
- | |Battery | + | | Battery |
===== Troubleshooting and feedback ===== | ===== Troubleshooting and feedback ===== | ||
Zeile 76: | Zeile 64: | ||
If the above command does NOT find you Xiaomi Flower Sensors proceed with the following steps to find the cause: | If the above command does NOT find you Xiaomi Flower Sensors proceed with the following steps to find the cause: | ||
- | |||
- | \\ | ||
- | |||
==== Step 1: Are the sensors are discoverable by the OS? ==== | ==== Step 1: Are the sensors are discoverable by the OS? ==== | ||
Zeile 108: | Zeile 93: | ||
'' | '' | ||
- | If your device is not found - it seems to be a problem with the bluepy python3 module. Check the developers page https:// | + | If your device is not found - it seems to be a problem with the bluepy python3 module. Check the developers page [[https:// |
==== Step 4: Check Logfile in Loxberry WebUI ==== | ==== Step 4: Check Logfile in Loxberry WebUI ==== | ||
Zeile 118: | Zeile 103: | ||
Open an SSH connection to your Loxberry and execute the following command: | Open an SSH connection to your Loxberry and execute the following command: | ||
- | < | + | < |
python3 / | python3 / | ||
</ | </ | ||
Zeile 126: | Zeile 111: | ||
==== Step 6: All of the above worked correctly, but the plugin still fails ==== | ==== Step 6: All of the above worked correctly, but the plugin still fails ==== | ||
- | Post an issue on my GitHub Page or in the Loxberry Forum.https:// | + | Post an issue on my GitHub Page or in the Loxberry Forum.[[https:// |
===== Feedback & Discussion ===== | ===== Feedback & Discussion ===== | ||
Zeile 132: | Zeile 117: | ||
This plugin will be improved over time and feedback is appreciated. Therefore I created a thread in the LoxForum: | This plugin will be improved over time and feedback is appreciated. Therefore I created a thread in the LoxForum: | ||
- | https:// | + | [[https:// |
===== Where to buy ===== | ===== Where to buy ===== | ||
- | Amazon: | + | Amazon: [[https:// |
- | AliExpress: https:// | + | AliExpress: |
- | AliExpress: https:// | + | AliExpress: |
Otherwise search for " | Otherwise search for " | ||
- | |||
- | \\ | ||
- | |||
===== Tested Devices ===== | ===== Tested Devices ===== | ||
Zeile 151: | Zeile 133: | ||
The following devices have been tested with this plugin: | The following devices have been tested with this plugin: | ||
- | |Device Description | + | | Device Description |
- | |Xiaomi MiFlora International Version | + | | Xiaomi MiFlora International Version |
- | |Raspberry Pi 3 internal Bluetooth Module (Buster)| | + | | Raspberry Pi 3 internal Bluetooth Module (Buster) | (successful) |
- | |== LogiLink® Bluetooth 4.0 Adapter == | {{https:// | + | | == LogiLink® Bluetooth 4.0 Adapter == | {{https:// |
- | + | ||
- | + | ||
- | ||| | + | |
- | + | ||
- | + | ||
- | \\ | + | |
- | + | ||
- | + | ||
- | \\ | + | |
- | + | ||
Zeile 171: | Zeile 142: | ||
pluginuebersicht.author : Michael Miklis | pluginuebersicht.author : Michael Miklis | ||
pluginuebersicht.logo : : | pluginuebersicht.logo : : | ||
- | pluginuebersicht.status : STABLE | + | pluginuebersicht.status : STOPPED |
pluginuebersicht.version : 2.0.4 | pluginuebersicht.version : 2.0.4 | ||
pluginuebersicht.min_lb_version : 1.0 | pluginuebersicht.min_lb_version : 1.0 |