I could not find anyone selling the Xaiomi mi flora sensors at a sensible price so bought some Vegtrug ones. They look similar although bigger and still work off bluetooth and report temp / light / moisture / fertilisation as per the Xaiomi.
I managed to get the MAC address and add it into HA using the miflora platform in my config:
and each individual sensor is reporting state unknown:
Has anyone used a non Xaoimi sensor with the Mi plant add on?
My long term plan is to use an ESP32 and MQTT the information into HA but thought I would try this first and now it appears not to work I am unsure that using something like the below will work either?
Regarding the integration of Vegtrug with ESP32 I would be interested in some tests if you have some time.
If they broadcast data like the mi flora it should be easy to gather the data and integrate them into HA through MQTT.
Thanks. I have a similar program on iPhone I used when trying to get the MAC address. This data is not for while the temp etc was changing it’s just screenshotted from connecting to the device. If it’s of use I can play around with changing the temp
These data seems to be the available properties for connection.
A mi flora can also broadcast its data (added to the connection method). But these broadcasted service data doesn’t seem to show up there.
Maybe you have to click on Show in blue of the first screenshot to see the service data.
A couple more screen shots. I will take the sensor to work tomorrow and use my work android phone and the app you’ve suggested at least then we can see the same screens.
Got the app you suggested. Looks different though but here’s a screen shot.
Let me know what you think. Interestingly it says xaiomi in the name so thinking I will at least try and connect it to esp32 just not sure if the data will be understandle, HA direct doesn’t seem to like anything but battery
Thanks for the screenshot, it can be read by an esp32.
Regarding the firmware, with OpenMQTTGateway I would need to do some modifications. Indeed the service data differ from xiaomi one.I will do them this WE. If you are interested you could test them.
Perfect thank you! I have had a play last night with the Miflora esp32 sketch from siddy/flora and got this loaded and I can watch the serial monitor and see it connect and get data (first connection always gets blanks, second try gets a temp) but it’s not posting anything to mqtt so anything you can do with another way would be great. Screen shot of serial monitor
If we do a rapid comparison of the service data from the vegtrug: 7120bc0399c309688d7cc40d0910020000
and the mi flora 71209800bc63b6658d7cc40d0910023200
we can see that we have the same length and some constant in bold.
The rest of the data looks like a mi flora structure.
Hi, was this integration with VegTrug sensors successful?
I have a Miflora plant sensor working with ESP32 using [sidddy/flora].
I just too delivery of 5 VegTrug sensors.
They connect to siddy/flora, but the program cannot find the data service.
I am in a position to do any testing necessary.
I havent had a chance to play with this yet as need to get my ESP32 set up and then mqtt and then this but will give it some time over the next couple of weeks.
Thanks! I need to have a read through as none of that makes sense to me at the moment. Just to check I am on the right thought process OpenMQTT Gateway goes on my esp32 chip?
How are the Grow Care Garden sensors working for everyone so far?
I have recharged the batteries once already. This is a bit puzzling to me. Compared to the small sensors where is all that power used?
It cant be the beacons because it broadcasts way less frequently than the small ones.
2 of the 3 I got only show 0% moisture all the time now.
2 of them are not able to finish syncing in the vegtrug app.
Seems there’s been a little confusion which is the Grow Care Garden as compared to the smaller one so just including a picture.