Tip: Integrate Xiaomi Mi Flora Plant Sensor

Home > Forums > OSPi > Tip: Integrate Xiaomi Mi Flora Plant Sensor

  • This topic has 0 replies, 1 voices, and was last updated 2 weeks ago from adminadmin.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #31880
    adminadmin
    Administrator

    Thanks to the integrated Bluetooth function of the Raspberry Pi (older models require a Bluetooth USB dongle), certain Bluetooth sensors can now also be integrated. One of them is the “Xiaomi Mi Flora Plant Sensor”, which is available in stores for around 25-30 EUR.

    The sensor has 4 interesting values: soil moisture, temperature, brightness and conductivity, the last being the soil nutrient content.

    The project we need for this is here:

    https://github.com/ThomDietrich/miflora-mqtt-daemon

    In principle you can proceed exactly as in the instructions. In OpenSprinkler You then simply set up an MQTT sensor and link it to the topic “miflora/ ", where is the name that you entered in the config.ini.

    Another note: Bluetooth scanning with “sudo hcitool lescan” didn’t work for me because the hcitool has probably already been discontinued. Instead, “sudo bluetoothctl scan le” should work.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.