Mi Flora plant sensor

I went a different route to solve this, and put hassbian on a Pi Zero.

I didn’t run any special code versions, just checked that the MiFlora mac addresses were detected with

sudo hcitool lescan

Which they were without any extra settings on my part.

Setup the miflora as normal on the pi zero hassbian:

  - platform: miflora
    mac: 'c4:7c:8a:6c:3b:69'
    force_update: true
    cache_value: 600
    name: miflora_1

Then in my main hassio install, I used the rest sensor to get the data via the Hass api on the Pi Zero: e.g.

  - platform: rest
    resource: http://192.168.135.27:8123/api/states/sensor.miflora_1_moisture
    name: miflora_1_soil_moisture
    value_template: '{{ value_json.state }}'
    unit_of_measurement: "%"

I’ve no dropouts, and haven’t had to maintain anything on the Pi Zero - half the time I forget that’s how I’m connecting to the MiFloras.

Anyone else connect to them this way?

1 Like