Mi Flora plant sensor

Thanks, First question how to I setup autentication metod for 22222? feeling stupit
Running fine with with ssl on port 22 and password

Also can’t find this configfile I entered my Miflora conf directly in the configfile…

  • platform: miflora
    mac: ‘C4:7C:8D:62:0C:81’
    name: Cocuspalm
    location: Utanför Badrummet
    force_update: false
    median: 3
    monitored_conditions:
    • moisture
    • light
    • conductivity
    • battery

Very interested.

The only reason that I didn’t moved to Hass.io is Bluetooth LTE support.

Check plantgw.yaml here https://github.com/ChristianKuehnel/plantgateway

This is a bug, because bluez packages in the latest Alpine release don’t contain gatttool which Home Assistant uses to poll from Mi Flora devices. This commit should fix it as soon as it gets merged

1 Like

Do you know if this commit was implemented in the new release, still having problemes so I think not?

This fix didn’t work I had to rewrite it. This was merged today, so it didn’t make it in time for 0.56.
Next release should have Mi Flora working again

2 Likes

Thanks, Can wait to get them working :slight_smile:

you’re welcome, was quite an odyssee to get this fixed…

1 Like

Thanks for your work on this :slight_smile:

1 Like

Is fix now live, since 0.56.2 was released 23rd of this month?

They work for me again on 56.2. Think on 56.1 also already!

Thank you! Now I can have the test and production systems in HASS.IO

yes seems to work now =) just loving it.

Followup guestion can I use a external Bluetooth device for better coverage or I’m i stuck using the one on the raspberry 3?

My system was missing gatttool. So I compiled it:

  1. Download bluez wget https://www.kernel.org/pub/linux/bluetooth/bluez-5.9.tar.gz
  2. Untar the archive: tar xvf bluez-5.9.tar.gz
  3. Go to the new directory cd bluez-5.9
  4. Install dependencies: sudo apt-get update && sudo apt-get install -y gcc make libusb-dev libdbus-1-dev libglib2.0-dev libudev-dev libical-dev libreadline-dev
  5. Execute ./configure
  6. Run the command make
  7. Copy gatttool sudo cp attrib/gatttool /usr/bin/

Now Mi Flora works.

1 Like

you are obviously not using hass.io
but that’s basically how the temporary fix works until the host OS is being released in a new version

1 Like

No, I am not. I am using osmc.

well on hass.io you can’t compile bluez yourself, and this happens to be the hass.io subforum :wink:

1 Like

hi, could you explain how to add the mi flora sensor in the config?

  • “hcitool lescan” via SSH is not working (command not found)
  • “devicetracker.bluetoothle_tracker” is still not working on hass.io
    running 56.2. including @sharukins fix

thanks :grinning:

1 Like

you have to connect to the host, not the home assistant docker.
use the debugging access

Concerning the le tracker component: I don’t know, I don’t use it and no one provided logs

1 Like