This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Bluetooth
[App] Xiaomi mi flora sensor/ropot community app
Xiaomi mi flora sensor/ropot app
This app integrate the Xiaomi mi flora sensor
and Xiaomi mi flora ropot
into Homey.
Currently it is in closed alpha. The app can be installed here: https://apps.athom.com/app/com.koktail.homey-mi-flora if you have alpha permissions. If you want i can add you to the list. PM me with your email account that is attached to your homey account.
Usage
- Install app
- Add device(s) to Homey.
- Configure threshold in the device configuration.
- Make a flow with one of the cards.
You can configure the timeout between polls in the app's settings.
Cards
Global cards
Trigger cards
- Some device sensor is changed.
- device
- sensor
- value
Device cards
Trigger cards
- Some device sensor is changed.
- device
- sensor
- value
- Sensor value is below the configured threshold.
- Sensor value is above the configured threshold.
Condition cards
- De plant !{{has not|has}} a correct temperature.
- De plant !{{has not|has}} a enough sunlight.
- De plant !{{has not|has}} a enough fertilizer.
- De plant !{{has not|has}} a enough moisture.
Tagged:
Comments
Its not yet available in the app store. But you can try it if you have a developer homey. Its available on github: https://github.com/koktaildotcom/homey-mi-flora
It has some trigger cards and it pushes data to the insights.
Perhaps you and @Emile could consider joining the apps (to get the full potential from to developers combined ;-) )
Running smooth so far.
There are some triggers and condition cards as well:
The app uses only 18.0 MB.
The interval is configurable in the apps settings. I could make it an 'action card', then the user is free to update it whenever he wants.
I can imagine that if you using Bluetooth speakers you don't want an interruption every 15 minutes.
The "Device Card" is ingenious!
Only: If the "value" token from the card reports true/false - I know it might not be that easy, but if somehow the token could report the measured value, that would be more fun :-)
Or perhaps (and I don't know if that's possible at all) if there were tokens on this card that represent the corresponding limits? Then you could have one flow with the main card and then an action flow card with tokens corresponding to "device", "value", "limit" covering all your sensors...
Could adding a token with the name of the sensor to the trigger card for the sensor be an idea? Then you can drag the sensor id to the action card (that could be a log message or a push message) and you would have the name of the device directly there - instead of having to write it yourself (and remeber to change it, if you change name of the sensor (I know, lazy me))...
correct, the RoPots identification name was invalid. In master i've commited a fix. Can you try that again?
The trigger `device` card has the sensor value as `labels`.
* device -> The name of the device.
* sensor -> The name (or id) of the sensor capability.
* value -> The value of the sensor.
I think a `limit` or `min`/`max` `label` on the `trigger card` is not the best way.
There is already a `device specific condition card` that cover that scenario. There must be an implementation of that `card` only not device specific.
So you can have a Condition card: Some plant !{{has not|has}} a enough moisture.
I do notice that on the beta iOS app, the mobile device card remains blank. Whereas the mobile device card on the webinterface is showing correctly. See https://github.com/koktaildotcom/homey-mi-flora/issues/3
I proposed a few changes in a PR on GH (ie. changing device class to sensor to make use of the default trigger cards for temperature, illumination and battery).
I just received my Flora sensors and your app seems to be more reliable than the app in the app store.
to stress test the app... ;-P
Have one RoPot connected - but the other isn't found (placed side by side and both are seen in the native app on my phone - strange)...
Would happily accept an invitation to alpha ;-)
Is the `Xiaomi RoPot` driver working correcty? Because i only have the `Xiaomi sensor` and cannot test that part.
Is it possible that you don't have the latest changes from master? There was a bug that added the `Ropot` with the driver of a `Sensor`. Maybe you can re-add (remove + add) the sensors again?
I can give you alpha access, please PM me your email you connect to homey with.
Installed alpha version, both RoPots found now :-)
Can i have alpha access? Received my sensor today.