-
Notifications
You must be signed in to change notification settings - Fork 185
/
plant.yaml
executable file
·113 lines (104 loc) · 3.44 KB
/
plant.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
---
#-
# _ _
# _ __ | | __ _ _ __ | |_
# | '_ \| |/ _` | '_ \| __|
# | |_) | | (_| | | | | |_
# | .__/|_|\__,_|_| |_|\__|
# |_|
#
#- from github.com/basnijholt/home-assistant-config
# Get information with the following Python code
# import pandas as pd
# pd.set_option("display.max_colwidth", -1)
# pd.set_option("display.max_columns", 100)
# # https://github.com/khronimo/MiFloraDB/blob/master/PlantDB_5335_U0.csv
# df = pd.read_csv("PlantDB_5335_U0.txt")
# row = df[df.pid.str.contains("basil")].iloc[0]
# d = {
# "min_moisture": "min_soil_moist",
# "max_moisture": "max_soil_moist",
# "min_conductivity": "min_soil_ec",
# "max_conductivity": "max_soil_ec",
# "min_brightness": "min_light_lux / 10", # not sure about the units
# "max_brightness": "max_light_lux / 10",
# "min_temperature": "min_temp",
# "max_temperature": "max_temp",
# }
# for k, v in d.items():
# print(f" {k}: {row[v]}")
# ficus_microcarpa_ginseng:
# sensors:
# moisture: sensor.mi_flora_ficus_microcarpa_ginseng_moisture
# battery: sensor.mi_flora_ficus_microcarpa_ginseng_battery
# temperature: sensor.mi_flora_ficus_microcarpa_ginseng_temperature
# conductivity: sensor.mi_flora_ficus_microcarpa_ginseng_conductivity
# brightness: sensor.mi_flora_ficus_microcarpa_ginseng_light_intensity
# min_moisture: 20
# max_moisture: 60
# min_conductivity: 350
# max_conductivity: 2000
# min_brightness: 250
# max_brightness: 3500
# min_temperature: 8
# max_temperature: 32
# yucca_elephantipes:
# sensors:
# moisture: sensor.mi_flora_yucca_elephantipes_moisture
# battery: sensor.mi_flora_yucca_elephantipes_battery
# temperature: sensor.mi_flora_yucca_elephantipes_temperature
# conductivity: sensor.mi_flora_yucca_elephantipes_conductivity
# brightness: sensor.mi_flora_yucca_elephantipes_light_intensity
# min_moisture: 15
# max_moisture: 60
# min_conductivity: 350
# max_conductivity: 2000
# min_brightness: 150
# max_brightness: 2000
# min_temperature: 8
# max_temperature: 32
kentia_palm:
sensors:
moisture: sensor.mi_flora_kentia_palm_moisture
battery: sensor.mi_flora_kentia_palm_battery
temperature: sensor.mi_flora_kentia_palm_temperature
conductivity: sensor.mi_flora_kentia_palm_conductivity
brightness: sensor.mi_flora_kentia_palm_light_intensity
min_moisture: 15
max_moisture: 60
min_conductivity: 350
max_conductivity: 2000
min_brightness: 150
max_brightness: 2500
min_temperature: 8
max_temperature: 32
northern_light:
sensors:
moisture: sensor.mi_flora_northern_light_moisture
battery: sensor.mi_flora_northern_light_battery
temperature: sensor.mi_flora_northern_light_temperature
conductivity: sensor.mi_flora_northern_light_conductivity
brightness: sensor.mi_flora_northern_light_light_intensity
min_moisture: 15
max_moisture: 60
min_conductivity: 350
max_conductivity: 2000
min_brightness: 150
max_brightness: 2500
min_temperature: 8
max_temperature: 32
royal_haze:
sensors:
moisture: sensor.mi_flora_royal_haze_moisture
battery: sensor.mi_flora_royal_haze_battery
temperature: sensor.mi_flora_royal_haze_temperature
conductivity: sensor.mi_flora_royal_haze_conductivity
brightness: sensor.mi_flora_royal_haze_light_intensity
min_moisture: 15
max_moisture: 60
min_conductivity: 350
max_conductivity: 2000
min_brightness: 150
max_brightness: 2500
min_temperature: 8
max_temperature: 32