GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - tbrasser/lovelace-flower-card

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

28 Commits
28 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
README.md
README.md
 
 
convert.py
convert.py
 
 
flower-card.js
flower-card.js
 
 
lovelace-flower-card_popup.png
lovelace-flower-card_popup.png
 
 

Repository files navigation

Release

See https://community.home-assistant.io/t/miflora-sensor-plant-database/53131 for more information of this particular MiFlora / Home-Assistant card. Also see my detailed post in this same thread at https://community.home-assistant.io/t/miflora-sensor-plant-database/53131/73

Disclaimer

I looked into several forks of the original card https://github.com/thomasloven/lovelace-flower-card. Some forks were very interesting and I edited several of those source codes changes into my own new fork. Credits to those original authors.

Dependencies

  1. lovelace-card-tools (https://github.com/thomasloven/lovelace-card-tools)
  2. MiFlora database (PlantDB_5335_U0.csv)
  3. Plant sensor (https://www.home-assistant.io/integrations/plant)

Instructions

1: Install the card

1a: Go to Configuration -> Lovelace Dashboards -> Resources -> press the + (lower right corner of screen) and add the following information:

  Url: /local/lovelace-flower-card/flower-card.js
  Resource type: JavaScript Module

image

1b: Press Create afterwards to add the new resource.

2: Get CSV database file (https://github.com/khronimo/MiFloraDB)

3: Run python3 convert.py DBFileName.csv > data.js

3a: Execute convert.py on a Linux machine (not Windows)

3b: Check data.js via cli command: file data.js. Correct is:

data.js: ASCII text, with very long lines

4: Move data.js to www/lovelace-flower-card/data/data.js

5: Get flower images and extract to www/lovelace-flower-card/data/Images

6: Setup card

type: custom:flower-card
entity: plant.my_plant
species: "tulipa 'hollandia'"

To get a list of the available species run python3 convert.py DBFilename.csv species. The value you want is the one after the colon. Enter it exactly like it says, with quotes and all.

7: configuration.yaml

Add the following to configuration.yaml (bottom of this file) plant: !include plants.yaml

I do this to separate my config files.

8: plants.yaml

Create, edit and add the following to plants.yaml. Change accordingly. Repeat this section for other plants. Separate each section with a blank line.

spathiphyllum_bingo_cupido:
  sensors:
    moisture: sensor.spathiphyllum_moisture
    battery: sensor.spathiphyllum_battery
    temperature: sensor.spathiphyllum_temperature
    conductivity: sensor.spathiphyllum_conductivity
    brightness: sensor.spathiphyllum_brightness

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

5 stars

Watchers

2 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.