diff --git a/atom.xml b/atom.xml index 487f1cb03e..164d8b3678 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 6690f53b82..edfdfe268d 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 1b9087f233..33bc9b7f39 100644 --- a/blog/categories/device-tracking/atom.xml +++ b/blog/categories/device-tracking/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Device-Tracking | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index af6aac883c..e955575076 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index dff54c2638..948bb12055 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: How-To | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 0b0ae1d2dc..3e42ee967b 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index c760121087..46249adfae 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Internet-of-Things | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index 74d2034da3..bdffe948a3 100644 --- a/blog/categories/iot-data/atom.xml +++ b/blog/categories/iot-data/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: IoT-Data | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index 137e0e1cea..ef6ae1b103 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 07c21ddc1b..34dac7c9ae 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index 87ff71e24c..5820350649 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 89ff138fae..d368a959bc 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index d0842f1cf2..481828b2a4 100644 --- a/blog/categories/presence-detection/atom.xml +++ b/blog/categories/presence-detection/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Presence-Detection | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index 7b5e20c6fc..9eb40b5355 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Public-Service-Announcement | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 2429fe0060..9a2dce2429 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Release-Notes | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 4becf0251b..69d93dddba 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 30c9c5733b..325b16f0a0 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index ed308884ba..b1a9743a43 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index a80cb3b448..bb2aeb051e 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: User-Stories | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 5f384cfa78..085b39f667 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index c10a7a30b6..691eb14192 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2016-12-10T22:20:41+00:00 + 2016-12-10T22:31:16+00:00 https://home-assistant.io/ diff --git a/components/sensor.miflora/index.html b/components/sensor.miflora/index.html index 88a137e138..17a642608f 100644 --- a/components/sensor.miflora/index.html +++ b/components/sensor.miflora/index.html @@ -90,43 +90,60 @@
-

The Mi Flora plant sensor is a small Bluetooth Low Energy device that monitors not only the moisture, but also light, temperature and -conductivity. As only a single BLE device can be polled at the same time, the library implements locking to make sure this is the case.

+

The Mi Flora plant sensor is a small Bluetooth Low Energy device that monitors not only the moisture, but also light, temperature and conductivity. As only a single BLE device can be polled at the same time, the library implements locking to make sure this is the case.

To use your Mi Flora plant sensor in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
 sensor
-  platform: miflora
-  mac: xx:xx:xx:xx:xx:xx
-  name: Flower 1
-  force_update: false
-  median: 3
-  monitored_conditions:
-   - moisture
-   - light
-   - temperature
-   - conductivity
-   - battery
+  - platform: miflora
+    mac: xx:xx:xx:xx:xx:xx
+    monitored_conditions:
+      - temperature
 
  • mac (Required): The MAC address of your sensor. You can find this be running hcitool lescan from command line.
  • +
  • monitored_conditions array (Required): The paramaters that should be monitored. +
      +
    • moisture: Moisture in the soil.
    • +
    • light: Brightness at the sensor’s location.
    • +
    • temperature: Temperature at the sensor’s location.
    • +
    • conductivity: Conductivity in the soil.
    • +
    • battery: Battery details.
    • +
    +
  • name (Optional): The name displayed in the frontend.
  • force_update (Optional): Sends update events even if the value hasn’t changed.
  • -
  • median (Optional): Sometimes the sensor measurements show spikes. Using this parameter, the poller will report the median of the last -3 (you can also use larger values) measurements. This filters out single spikes. Median: 5 will also filter double spikes. -If you never have problems with spikes, median=1 will work fine.
  • -
  • monitored_conditions (Required): The paramaters that should be monitored.
  • +
  • median (Optional): Sometimes the sensor measurements show spikes. Using this parameter, the poller will report the median of the last 3 (you can also use larger values) measurements. This filters out single spikes. Median: 5 will also filter double spikes. If you never have problems with spikes, median: 1 will work fine.
  • timeout (Optional): Define the timeout value in seconds when polling (defaults to 10 if not defined)
  • retries (Optional): Define the number of retries when polling (defaults to 2 if not defined)
  • cache (Optional): Define cache expiration value in seconds (defaults to 1200 if not defined)
-

Note that by default the sensor is only polled once every 15 minutes. This means with the median=3 setting, it will take as least 30 minutes before the sensor will report a value after a Home Assistant restart. As the values usually change very slowly, this isn’t a big problem. +

Note that by default the sensor is only polled once every 15 minutes. This means with the median: 3 setting will take as least 30 minutes before the sensor will report a value after a Home Assistant restart. As the values usually change very slowly, this isn’t a big problem. Reducing polling intervals will have a negative effect on the battery life.

+

A full configuration example could looks the one below:

+ +
# Example configuration.yaml entry
+sensor
+  - platform: miflora
+    mac: xx:xx:xx:xx:xx:xx
+    name: Flower 1
+    force_update: false
+    median: 3
+    monitored_conditions:
+      - moisture
+      - light
+      - temperature
+      - conductivity
+      - battery
+
+
+ + diff --git a/sitemap.xml b/sitemap.xml index 3c45450929..5942183f1f 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2419,62 +2419,62 @@ https://home-assistant.io/demo/frontend.html -2016-12-10T22:20:02+00:00 +2016-12-10T22:30:32+00:00 https://home-assistant.io/demo/index.html -2016-12-10T22:20:02+00:00 +2016-12-10T22:30:32+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2016-12-10T22:20:02+00:00 +2016-12-10T22:30:32+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2016-12-10T22:20:02+00:00 +2016-12-10T22:30:32+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2016-12-10T22:20:02+00:00 +2016-12-10T22:30:32+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2016-12-10T22:20:02+00:00 +2016-12-10T22:30:32+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2016-12-10T22:20:02+00:00 +2016-12-10T22:30:32+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2016-12-10T22:20:02+00:00 +2016-12-10T22:30:32+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2016-12-10T22:20:02+00:00 +2016-12-10T22:30:32+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2016-12-10T22:20:02+00:00 +2016-12-10T22:30:32+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2016-12-10T22:20:02+00:00 +2016-12-10T22:30:32+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2016-12-10T22:20:02+00:00 +2016-12-10T22:30:32+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2016-12-10T22:20:02+00:00 +2016-12-10T22:30:32+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2016-12-10T22:20:02+00:00 +2016-12-10T22:30:32+00:00 https://home-assistant.io/static/mdi-demo.html -2016-12-10T22:20:02+00:00 +2016-12-10T22:30:32+00:00