Metainformationen zur Seite

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
plugins:xiaomi_miflora_flower_sensor:start [2022/09/16 17:24] Michael Schlenstedtplugins: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...|
Zeile 10: Zeile 9:
   * 2018-06-18 Release 1.0.1 - Fixed typo in postroot.sh install script   * 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   * 2018-06-04 Release 1.0.0 - Initial release of version 1.0.0
 +
 ++++ ++++
  
Zeile 16: 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://raw.githubusercontent.com/michaelmiklis/loxberry-plugin-miflora/assets/plugin.png|{{https://raw.githubusercontent.com/michaelmiklis/loxberry-plugin-miflora/assets/plugin.png?0x600|Xiaomi MiFlora Plugin}}]]+[[https://raw.githubusercontent.com/michaelmiklis/loxberry-plugin-miflora/assets/plugin.png|{{https://raw.githubusercontent.com/michaelmiklis/loxberry-plugin-miflora/assets/plugin.png?x600|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. 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.
Zeile 34: Zeile 34:
 The UDP packages will be sent as follows: The UDP packages will be sent as follows:
  
-[[https://raw.githubusercontent.com/michaelmiklis/loxberry-plugin-miflora/assets/udp-monitor.png|{{https://raw.githubusercontent.com/michaelmiklis/loxberry-plugin-miflora/assets/udp-monitor.png?0x300|UDP-Monitor}}]]+[[https://raw.githubusercontent.com/michaelmiklis/loxberry-plugin-miflora/assets/udp-monitor.png|{{https://raw.githubusercontent.com/michaelmiklis/loxberry-plugin-miflora/assets/udp-monitor.png?x300|UDP-Monitor}}]]
  
 With the following command recognition the values can be assigend to a "UDP-Command" / virtual input: With the following command recognition the values can be assigend to a "UDP-Command" / virtual input:
Zeile 42: 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.
-Further documentation and improvements on MQTT will be added in future releases.+
  
 ===== Sensor data ===== ===== Sensor data =====
  
-^Sensor Name   ^Description                ^Sample value       +^ Sensor Name  ^ Description  ^ Sample value  
-|Name          |Name of the sensor         |Flower care        +| Name  | Name of the sensor  | Flower care  
-|PollTime      |Date/Time in Loxone format |297370058          +| PollTime  | Date/Time in Loxone format | 297370058  
-|PollTimeString|Date/Time string           |03.06.2018 18:47:38| +| PollTimeString | Date/Time string  | 03.06.2018 18:47:38 | 
-|Firmware      |Firmware version           |2.7.0              +| Firmware  | Firmware version  | 2.7.0  
-|Temperature   |Temperature in Celcius     |27.1               +| Temperature  | Temperature in Celcius  | 27.1  
-|Moisture      |Moisture (unknown unit)    |4                  +| Moisture  | Moisture (unknown unit)  | 4  
-|Light         |Light (unknown unit)       |136                +| Light  | Light (unknown unit)  | 136  
-|Conductivity  |Conductivity (unknown unit)|0                  +| Conductivity  | Conductivity (unknown unit) | 0  
-|Battery       |Battery level in percent   |86                 |+| Battery  | Battery level in percent  | 86  |
  
 ===== Troubleshooting and feedback ===== ===== Troubleshooting and feedback =====
Zeile 94: Zeile 93:
 ''%%python3 /usr/local/bin/blescan%%'' ''%%python3 /usr/local/bin/blescan%%''
  
-If your device is not found - it seems to be a problem with the bluepy python3 module. Check the developers page https://github.com/IanHarvey/bluepy for further assistance.+If your device is not found - it seems to be a problem with the bluepy python3 module. Check the developers page [[https://github.com/IanHarvey/bluepy]] for further assistance.
  
 ==== Step 4: Check Logfile in Loxberry WebUI ==== ==== Step 4: Check Logfile in Loxberry WebUI ====
Zeile 104: 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:
  
-<code>+<code ->
 python3 /usr/bin/python3 /opt/loxberry/bin/plugins/xiaomi-miflora/miflora.py --logfile=/opt/loxberry/log/plugins/xiaomi-miflora/xiaomi-miflora.log --configfile=/opt/loxberry/config/plugins/xiaomi-miflora/miflora.cfg python3 /usr/bin/python3 /opt/loxberry/bin/plugins/xiaomi-miflora/miflora.py --logfile=/opt/loxberry/log/plugins/xiaomi-miflora/xiaomi-miflora.log --configfile=/opt/loxberry/config/plugins/xiaomi-miflora/miflora.cfg
 </code> </code>
Zeile 112: 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://www.loxforum.com/forum/projektforen/loxberry/plugins/156917-plugin-xiaomi-miflora-flower-monitor+Post an issue on my GitHub Page or in the Loxberry Forum.[[https://www.loxforum.com/forum/projektforen/loxberry/plugins/156917-plugin-xiaomi-miflora-flower-monitor]]
  
 ===== Feedback & Discussion ===== ===== Feedback & Discussion =====
Zeile 118: 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://www.loxforum.com/forum/projektforen/loxberry/plugins/156917-plugin-xiaomi-miflora-flower-monitor+[[https://www.loxforum.com/forum/projektforen/loxberry/plugins/156917-plugin-xiaomi-miflora-flower-monitor]]
  
 ===== Where to buy ===== ===== Where to buy =====
  
-Amazon: https://www.amazon.de/Flower-Care-Pflanzenmonitor-Bodenfruchtbarkeit-feuchtigkeitsgrad-White/dp/B01MUDQD8I/+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/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+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. Otherwise search for "Flora" on AliExpress, Zapals or any other shopping site.
Zeile 134: Zeile 133:
 The following devices have been tested with this plugin: The following devices have been tested with this plugin:
  
-|Device Description                                                                           Result                                              +| Device Description   Result  
-|Xiaomi MiFlora International Version                                                      (successful)                                           +| Xiaomi MiFlora International Version   (successful)  
-|Raspberry Pi 3 internal Bluetooth Module (Buster)|                                          (successful)                                           +| Raspberry Pi 3 internal Bluetooth Module (Buster) |  (successful)  
-|== LogiLink® Bluetooth 4.0 Adapter ==            |  {{https://dujrsrsgsd3nh.cloudfront.net/img/emoticons/successful-1414026553.png|(successful)}}  | +| == LogiLink® Bluetooth 4.0 Adapter ==  |  {{https://dujrsrsgsd3nh.cloudfront.net/img/emoticons/successful-1414026553.png|(successful)}}  |
- +
- +
- +
  
  
Zeile 147: Zeile 142:
 pluginuebersicht.author : Michael Miklis pluginuebersicht.author : Michael Miklis
 pluginuebersicht.logo : :plugins:xiaomi_miflora_flower_sensor:1215135965.png pluginuebersicht.logo : :plugins:xiaomi_miflora_flower_sensor:1215135965.png
-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