Skip to content

Commit

Permalink
Merge pull request #1 from maziggy/dev
Browse files Browse the repository at this point in the history
2025.01.01
  • Loading branch information
maziggy authored Feb 1, 2025
2 parents ebbce67 + 278be6c commit 21a5f0e
Show file tree
Hide file tree
Showing 5 changed files with 271 additions and 251 deletions.
15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@ A custom Lovelace card for Home Assistant that checks if CO2 content is in a goo

First try writing a custom card. I know it's not perfect. Any contributions, recommendations and comments are welcome!

Base data used in script:

| PPFD | CO2 (ppm) |
| -------------- | -----------|
| 200-450 | 400 |
| 450-800 | 800 |
| 800-1000 | 1400 |
| 1000-1400 | > 1400 |


## Screenshot

![Screenshot](https://raw.githubusercontent.com/maziggy/co2Card/refs/heads/main/screenshots/co2CardGreen2.png)
Expand Down Expand Up @@ -44,8 +34,13 @@ or simply
type: custom:co2Card
entity: sensor.growbox_water_tds
entity_ppfd: input_number.grow_ppfd
stage: seed|vegetation|flowering
seedCo2: desired ppm value for seed stage
vegetationCo2: desired ppm value for vegetation stage
floweringCo2: desired ppm value for flowering stage
rangeGreen: 100 # ppm difference to desired value | in range
rangeYellow: 200 # ppm difference to desired value | slightly out of range
rangeRed: 201 # ppm difference to desired value | out of range
theme:
bgColor: "#2c2c2e"
textColor: "#fff"
Expand Down
507 changes: 266 additions & 241 deletions co2Card.min.js

Large diffs are not rendered by default.

Binary file modified screenshots/co2CardGreen2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/co2CardRed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/co2CardYellow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 21a5f0e

Please sign in to comment.