Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Wednesday 17 January 2018 8:33
by IDANIT
joostnl wrote: ↑Sunday 14 January 2018 7:37
The present Xiaomi Gateway does not handle Bluetooth so it is not possible. The reason you see the Flower sensors in the Xiaomi app is because your phone or pad has a direct connection to it (try turning off BT and you will find out).
However I heard there was a new Xiaomi Gateway coming supporting BT so maybe with that one.
Well I have Yeelight Ceiling Light wich after last firmware update become BlueTooth bridge. Same thing with Xiaomi Yeelight Bedside Lamp v2.
My problem with Flower Sensors is more complex. I've got RPi3 with RaZberry Daughter card. So if I switch on BT on Raspberry my Z-wave network stops working, if I want to use z-wave devices I have to switch off BT on RPi (well known problem), so no more Flower Care support.
Maybe this is the way to add BT devices to Domoticz.
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Sunday 18 February 2018 10:35
by Torin42
Hey all,
I have create an Android app that helps you register your Chinese Flower Care Monitor worldwide. The app adds the device to your account through a Chinese proxy, so that afterwards you can use it with the official Flower Care app. Check out the app on Google Play: https://play.google.com/store/apps/deta ... reregister
Here is how it works:
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Sunday 18 February 2018 10:59
by Mediacj
Torin42 wrote: ↑Sunday 18 February 2018 10:35
Hey all,
I have create an Android app that helps you register your Chinese Flower Care Monitor worldwide. The app adds the device to your account through a Chinese proxy, so that afterwards you can use it with the official Flower Care app. Check out the app on Google Play: https://play.google.com/store/apps/deta ... reregister
Here is how it works:
Thanks this works perfect!
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Tuesday 27 February 2018 13:29
by pavelbor
Hello,
cant login to proxy
photo_2018-02-27_14-28-57.jpg (121.78 KiB) Viewed 6090 times
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Tuesday 27 February 2018 17:19
by Torin42
pavelbor wrote: ↑Tuesday 27 February 2018 13:29
Hello,
cant login to proxy
That's might be because proxies sometimes are not working correctly. Can you retry a few times, as it will get a random proxy on each trial?
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Thursday 01 March 2018 21:21
by molnaratti
EBOOZ wrote: ↑Monday 25 December 2017 8:56
I got my first Mi Flora yesterday and thanks to the Wiki, installation went (almost) flaweless!
My dummy sensor for logging moisture didn't update to the correct value (was always 0), and when I looked in the domoticz.py script, I noticed the URL was formatted incorrect. I modified the script so it also supports changing the status to Normal, Dry or Wet. Reading through the previous pages I assumed 20 is the right trigger for setting the status to Dry.
Thank you, I was wrong with you too, your solution was good. !
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Saturday 21 April 2018 22:53
by reisub
Hi everybody
Hi have received a new flower care device.
I can't pair in any way the device, the only moment when it communicate is when I put on the battery
I tried the app by Torin42 (thanks) , putting on the battery when the app is searching let me register the device, so I can see it in the flower care app, but there is now way to sync data with it...
It's the device faulty?
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Saturday 12 May 2018 12:42
by bramski
I have 6 Mi Flora sensors right now, and I wanted to get notified when they need water. Otherwise I still have dead plants . I can share a dzVents scripts with you which makes this a breeze: https://github.com/domoticz/domoticz/pull/2385/files. Have fun!
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Saturday 28 July 2018 14:01
by manjh
IDANIT wrote: ↑Monday 09 October 2017 19:16
RaspberryPi 3, Raspbian Stretch.
I follow the wiki, all installation, coping, making etc went fine, but I stuck on "Finding the sensor's Bluetooth Address". Got this error messages:
pi@raspberrypi:~/bluez-5.44 $ sudo tools/btmgmt le on
Set Low Energy for hci0 failed with status 0x11 (Invalid Index)
Can anyone help me please?
I have the exact same problem. Checked everything twice but made no mistakes.
Is there a simple solution to this?
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Sunday 29 July 2018 12:31
by manjh
I'm lost. Tried everything, no progress.
Although this is not really a Domoticz problem, chances are there are people here that know what is wrong.
In trying to get the Mi Flora plugin working, I can't get Bluetooth to work on my Pi-3 (yes, I am sure it is a model 3).
Tried Bluetoothctl, but on "scan on" it comes back with "no default controller available".
I searched the web and tried a number of suggested solutions, nothing helps.
Is there someone here that has the golden hint?
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Monday 13 August 2018 18:42
by manjh
Anyone? Please...?
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Sunday 26 August 2018 13:23
by terrorsource
Does anyone have this miflora python working with domoticz right now?
https://github.com/Tristan79/miflora hasn't been updated in 2yrs.
running it now causes connecton errors between my pi 3b+ and the miflora sensor.
Tried downloading the latest MiFlora 0.4 frm https://github.com/open-homeautomation/miflora and used the domoticz.py from the Tristan79 github page.
Edited the script a bit with the info from the MiFlora github but it is still not working.
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Sunday 09 September 2018 8:26
by gropi
Few weeks back the scripts were working fine, unfortunately last days there was no chance. I got both with the module of Domoticz as well as with the python script errors.
Now i updated bluez, some other python modules and placed my raspi closer (4 meters) to the MiFlora sensor.
Right now everything is working.
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Sunday 09 September 2018 10:26
by terrorsource
gropi wrote: ↑Sunday 09 September 2018 8:26
Few weeks back the scripts were working fine, unfortunately last days there was no chance. I got both with the module of Domoticz as well as with the python script errors.
Now i updated bluez, some other python modules and placed my raspi closer (4 meters) to the MiFlora sensor.
Right now everything is working.
Can you explain what you did?
I found my issue. The script is not working on a raspberry pi 3b+.
My other pi. A 3b is on the 2nd floor and the sensor on ground floor. Works great.
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Friday 28 September 2018 21:14
by gropi
That are good news. unfortunately my is not working stable.
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Friday 28 September 2018 22:33
by terrorsource
gropi wrote: ↑Friday 28 September 2018 21:14
That are good news. unfortunately my is not working stable.
Well, not anymore. Stopped working now also. Same issues. Really don’t know what the issue is.
Does anyone has this plugin working right now?
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Friday 19 October 2018 11:38
by tonbor
The plugin is a problem with more sensors, but the script is working fine, even with bluetooth raspberry 3b+, I got 11 sensors all fine. Well more distance is an issue. With 3b+ and with extern bluetooth dongle too! It works for me only for one floor with two thin walls.
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Sunday 21 October 2018 14:08
by digger
Same problem here
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
Posted: Friday 04 January 2019 22:22
by mlormans
I just got this working on Beta V4.10311, on a raspberry pi 3 with raspbian 9.
Instaled python and bluez 5.50 on the rapsberry pi, and than installed the plugin.
With blocky I read out the data a couple of times a day, only is the measurements differents from the data i get from the flora app on my iphone,
as well that the moisture sensor keeps on 0 anyone a idea?
I would like to use domoticz instead of the app, so I can send pushmessages when I need to water the plants
Some background info:
I'm using Domoticz now for 2 months, have connected my Philips Hue, some KaKu switches with the RFXcom module,
and a couple of wemos D1 mini's with a BME280 sensor (took me 4 days, but its working)
I'm not able to write my own python / esp codes, but have some experience with php/sql and am able to combine/adjust codes and seek inside code.
Re: Xiaomi Mi Flora [Temp/Light/Moisture] BLE Sensor
impossible to have my miflora and beacon detection at the same time.
from the moment I run a request on my miflora it cuts the beacon and they go on off.
I even made a clean reinstall on another PI and even problem.
it's either the miflora or the beacon