I’m happy to do the PR. I’ll see what I can do.
EDIT: PR done
Thanks @PHiAX for your work
CARD
type: 'custom:flower-card'
entity: plant.sempervivum
species: sempervivum tectorum
CONFIG
plant:
Sempervivum:
sensors:
moisture: sensor.flower_white_m
temperature: sensor.flower_white_t
conductivity: sensor.flower_white_c
brightness: sensor.flower_white_l
Why does the card display no image
browser cache needed clearing.
I’m trying to set this card up and installed this version in HACS but am getting the below error., even after a hard cache refresh
Which version / fork of the card are people using?
Just tried this version as well. This time I looked in the Chrome dev console and saw this:
I’m using the original repo but without HACS.
folder structure as follows
CONFIG/WWW:.
| card-tools.js
| flower-card.js
└───lovelace-flower-card
└───data
data.js <--- converted file from earlier post
└───Images
Lovelace resources loaded from GUI with paths /local/card-tools.js and /local/flower-card.js
edit: Come to think of it, I did restart my HA instance completely.
edit 2: I’ve now switched to the repo from post 85 MiFlora Sensor Plant Database and that also seems fine.
Hi guys,
I created free cloud Plants DB which can be used by community. Please take a look.
I think I found the problem, since I was stuck where you were. In the .js file, is always making reference to /local/lovelace-flower-card/data/data.js
I you install everything via hacs, you need to change the local references to /hacsfiles/lovelace-flower-card/data/data.js
To do this You need to edit the flower-card.js file.
Change line 163 to: <span id="name"> ${this.stateObj.attributes.friendly_name}</span>
Save the file and most probably refresh your browser’s cache.
Hi all,
Just forked this repo, made it installable with HACS, removed the hassle of installing dependencies and removed the step with running convert.py
.
Here it is: https://github.com/Yolandavdvegt/lovelace-flower-card
You could also have a look at this project: Cloud Plant DB with API for PlantCard where we are trying to get rid of the whole issue with the plant db by creating an open API to fetch the data. We also add the information about max/min values to the plant component itself, instead of each card having to read and parse the whole db.
@yvdv, thx a lot for your great job!
Can you also consider adding a name:
property ?
One last question: which is supposed to be the best image size for plants ?
Simone
You can take a look at my current implementation here .
Code as follow:
type: 'custom:stack-in-card'
cards:
- type: 'custom:flower-card'
entity: plant.pilea_peperomioides_salotto
species: pilea peperomioides
- type: plant-status
entity: plant.pilea_peperomioides_salotto
name: ' '
To make it perfect:
name:
Simone
It works perfectly for me, kudos!
Did anybody face the issue with sizing ?
Any changes to .js required ?
Data from openplantbook
image in /lmages/plants/
openplantbook:
client_id: !secret plantbook_client_id
secret: !secret plantbook_secret
Flower1:
species: zamioculcas zamiifolia
sensors:
moisture: sensor.flower_1_moisture
battery: sensor.flower_1_battery
temperature: sensor.flower_1_temperature
conductivity: sensor.flower_1_conductivity
brightness: sensor.flower_1_light_intensity
Hi there,
For me, the card shows up “perfectly” but I can’t manage to get the popups.
Any idea of what could I be doing wrong?
Thanks
Hi peter,
I’m an italian electronic engineering student, i’m about to graduate and i’m working on a project of complitely automated smart greenhouse; i’d really need to ask you informations about your plants DataBase to emprove my project, thanks.
best regards,
AC
17/04/2021
p.s.:
you can reach me on:
Please someone can create a new link for the image database? looks like 4Shared its KO and mediafire file is damaged
Thanks
I happened to find the following link which contains the image database etc. https://www.transfernow.net/dl/20210520jIVAA00U apparently this link will expire in 7 days…
Tnx so much