@molodax, @aherbjornsen, @MrEd, changed plant card to use real-time brightness. Merged in PR1029.
would you mind sharing your code? i like how the data is shown left to right, and not top to bottom.
There’s no code to it. I’ve just configured using the “plant monitor” component:
Cool. Thanks. Didn’t know of that component.
Looks all great now
Just added support for MiFlora to this BT to MQTT gateway: https://github.com/zewelor/bt-mqtt-gateway/
It works really well for me, especially since it’s not device specific so I’m also using it for my thermostats.
Hi, I bought the Xiaomi Flower Pot (RoPot). Has anyone made Home Assistant compatible with that one? I set it up with the MiFlora sensor component but it does not read any data, only battery.
It looks like this guy has added it for Homey…
OK, any idea how to get it to Hass?
Not a clue I don’t know JS :P, I was hoping someone here would know
If anyone is interested, you can now set an entity picture to show up on the plant card, with something like:
customize:
plant.miflora_1:
friendly_name: Dragon Tree (Bedroom)
entity_picture: /local/dragon_tree.jpg
You need to copy the image file into the www
directory within your configuration folder.
nice, were did you got this pictures from
I have the values from my Miflora showing up now.
I’d like to do some actuation (Open a Sonoff Sv switch connected to a water valve) when the moisture values are low.
I’m keen to explore node red for this. How can I get the Miflora values into node red? I suspect I need to turn them into MQTT? Is there a guide for this?
Nice! Is this based on a custom state card by any chance?
Because simply setting the entity_picture
doesn’t show any images for me when using the default ha-plant-card
@syphernl, no custom component required. The PR went onto the main branch and is in from about release 0.70.0. You might need to update to latest version. Also, make sure the images are in the www
directory below your main configuration files.
@ViperRNMC, images by google.
Odd. I’m on 0.71 but they aren’t working for me
Hmm, curious, can you check whether your plant entity has an entity_picture
property set using the Developer Tools - States <> . That should at least ensure you have things configured properly. If not then post the relevant customize:
section so we can see if there is any problem.
Could it be that the image format might not be supported but that feels like a long shot. Is it a common format?
Finally, if you are using Chrome then you could open the browser’s More Tools -> Developer Tools to see if there are any error messages showing.
Having said all of the above, would be interested to know if anyone else has had this problem (or better yet can confirm working for them 8)
Works for me on 0.71, thanks for pointing that out. Nice feature!
I had to do a total restart of HA, reloading customize didn’t do it.
Wonder if you can use a camera stream…
I’ve had mine a week now and it just doesn’t work with Home Assistant. I paired it with the app to see if it actually works and it did, so I updated it and unpaired it and it is still the same. BT finds it fine but it shows up as unknown and the debug error is
2018-06-16 09:58:07 INFO (SyncWorker_6) [homeassistant.components.sensor.miflora] Polling error Exit read_ble, no data (<Thread(SyncWorker_6, started daemon 139648797959936)>)
2018-06-16 09:58:07 DEBUG (SyncWorker_3) [homeassistant.components.sensor.miflora] Polling data for Greenhouse Temperature
2018-06-16 09:58:07 DEBUG (SyncWorker_3) [miflora.miflora_poller] Using cache (0:17:04.302044 < 0:20:00)
2018-06-16 09:58:07 INFO (SyncWorker_3) [homeassistant.components.sensor.miflora] Polling error Could not read data from Mi Flora sensor C4:7C:8D:66:5F:A4
2018-06-16 09:58:07 DEBUG (SyncWorker_8) [homeassistant.components.sensor.miflora] Polling data for Greenhouse Light intensity
2018-06-16 09:58:07 DEBUG (SyncWorker_8) [miflora.miflora_poller] Using cache (0:17:04.379128 < 0:20:00)
2018-06-16 09:58:07 INFO (SyncWorker_8) [homeassistant.components.sensor.miflora] Polling error Could not read data from Mi Flora sensor C4:7C:8D:66:5F:A4
2018-06-16 09:58:08 DEBUG (SyncWorker_7) [homeassistant.components.sensor.miflora] Polling data for Greenhouse Moisture
2018-06-16 09:58:08 DEBUG (SyncWorker_7) [miflora.miflora_poller] Using cache (0:17:04.769768 < 0:20:00)
2018-06-16 09:58:08 INFO (SyncWorker_7) [homeassistant.components.sensor.miflora] Polling error Could not read data from Mi Flora sensor C4:7C:8D:66:5F:A4
2018-06-16 09:58:08 DEBUG (SyncWorker_8) [homeassistant.components.sensor.miflora] Polling data for Greenhouse Conductivity
2018-06-16 09:58:08 DEBUG (SyncWorker_8) [miflora.miflora_poller] Using cache (0:17:04.802385 < 0:20:00)
2018-06-16 09:58:08 INFO (SyncWorker_8) [homeassistant.components.sensor.miflora] Polling error Could not read data from Mi Flora sensor C4:7C:8D:66:5F:A4
2018-06-16 09:58:08 DEBUG (SyncWorker_7) [homeassistant.components.sensor.miflora] Polling data for Greenhouse Temperature
2018-06-16 09:58:08 DEBUG (SyncWorker_7) [miflora.miflora_poller] Using cache (0:17:04.875416 < 0:20:00)
2018-06-16 09:58:08 INFO (SyncWorker_7) [homeassistant.components.sensor.miflora] Polling error Could not read data from Mi Flora sensor C4:7C:8D:66:5F:A4
2018-06-16 09:58:08 DEBUG (SyncWorker_5) [homeassistant.components.sensor.miflora] Polling data for Greenhouse Light intensity
2018-06-16 09:58:08 DEBUG (SyncWorker_5) [miflora.miflora_poller] Using cache (0:17:04.908035 < 0:20:00)
2018-06-16 09:58:08 INFO (SyncWorker_5) [homeassistant.components.sensor.miflora] Polling error Could not read data from Mi Flora sensor C4:7C:8D:66:5F:A4
2018-06-16 09:58:08 DEBUG (SyncWorker_0) [homeassistant.components.sensor.miflora] Polling data for Greenhouse Battery
and
gatttool --device=C4:7C:8D:66:5F:A4 --char-read -a 0x35
Characteristic value/descriptor: aa bb cc dd ee ff 99 88 77 66 00 00 00 00 00 00
gatttool --device=C4:7C:8D:66:5F:A4 --char-read -a 0x3
Characteristic value/descriptor: 46 6c 6f 77 65 72 20 63 61 72 65
any ideas please? it is currently sat 5 ft away from the NUC
Cheers
Mark
My bad! The file wasn’t included in my commit, works fine now. Thanks!