Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GrowSmart - ESPHome
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Grewe
GrowSmart - ESPHome
Commits
766621a5
Commit
766621a5
authored
Jul 30, 2022
by
Jan Grewe
Browse files
Options
Downloads
Patches
Plain Diff
relabeling of metrics
parent
a30a87d9
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
base.yaml
+20
-1
20 additions, 1 deletion
base.yaml
propbox.yaml
+34
-37
34 additions, 37 deletions
propbox.yaml
with
54 additions
and
38 deletions
base.yaml
+
20
−
1
View file @
766621a5
...
...
@@ -12,6 +12,7 @@ esphome:
substitutions
:
domain
:
!secret
domain
timezone
:
!secret
timezone
preferences
:
flash_write_interval
:
0s
...
...
@@ -43,7 +44,25 @@ web_server:
# include_internal: true
prometheus
:
# include_internal: true
include_internal
:
true
filters
:
map
:
-
Wifi Signal -> RSSI
-
wifi_signal -> rssi
-
Device Uptime -> Uptime
-
device_uptime -> uptime
-
"
Status:
Light
->
Light"
-
status_light -> light
-
"
Status:
Fan
->
Fan"
-
status_fan -> fan
-
"
Sensor:
Temperature
->
Temperature"
-
sensor_temperature -> temperature
-
"
Sensor:
Humidity
->
Humidity"
-
sensor_humidity -> humidity
-
"
Sensor:
Pressure
->
Pressure"
-
sensor_pressure -> pressure
-
"
Sensor:
Water
Temperature
->
Temperature
Water"
-
sensor_water_temperature -> temperature_water
sensor
:
-
platform
:
wifi_signal
...
...
This diff is collapsed.
Click to expand it.
propbox.yaml
+
34
−
37
View file @
766621a5
...
...
@@ -55,8 +55,8 @@ sensor:
-
script.execute
:
fan_control
pressure
:
id
:
pressure
accuracy_decimals
:
2
name
:
"
Sensor:
Pressure"
accuracy_decimals
:
2
-
platform
:
dallas
index
:
0
...
...
@@ -64,37 +64,34 @@ sensor:
name
:
"
Sensor:
Water
Temperature"
accuracy_decimals
:
2
# requires: https://github.com/esphome/feature-requests/issues/1746
# - platform: template
# id: sensor_temperature_max
# name: "temperature_max"
# lambda: return atoi(id(temperature_max).state.c_str());
# internal: true
# - platform: template
# id: sensor_temperature_hysteresis
# name: "temperature_max"
# lambda: return atoi(id(temperature_hysteresis).state.c_str());
# internal: true
# - platform: template
# id: sensor_temperature_min
# name: "temperature_max"
# lambda: return atoi(id(temperature_min).state.c_str());
# internal: true
# - platform: template
# id: sensor_humidity_max
# name: "humidity_max"
# lambda: return atoi(id(humidity_max).state.c_str());
# internal: true
# - platform: template
# id: sensor_humidity_hysteresis
# name: "humidity_max"
# lambda: return atoi(id(humidity_hysteresis).state.c_str());
# internal: true
# - platform: template
# id: sensor_humidity_min
# name: "humidity_max"
# lambda: return atoi(id(humidity_min).state.c_str());
# internal: true
-
platform
:
template
name
:
"
schedule"
lambda
:
return id(schedule).active_index();
internal
:
true
-
platform
:
template
name
:
"
temperature_max"
lambda
:
return atoi(id(temperature_max).state.c_str());
internal
:
true
-
platform
:
template
name
:
"
temperature_hysteresis"
lambda
:
return atoi(id(temperature_hysteresis).state.c_str());
internal
:
true
-
platform
:
template
name
:
"
temperature_min"
lambda
:
return atoi(id(temperature_min).state.c_str());
internal
:
true
-
platform
:
template
name
:
"
humidity_max"
lambda
:
return atoi(id(humidity_max).state.c_str());
internal
:
true
-
platform
:
template
name
:
"
humidity_hysteresis"
lambda
:
return atoi(id(humidity_hysteresis).state.c_str());
internal
:
true
-
platform
:
template
name
:
"
humidity_min"
lambda
:
return atoi(id(humidity_min).state.c_str());
internal
:
true
select
:
-
platform
:
template
...
...
@@ -107,7 +104,7 @@ select:
-
platform
:
template
id
:
temperature_max
name
:
"
Fan:
Temperature
On"
options
:
[
"
21"
,
"
22"
,
"
23"
,
"
24"
,
"
25"
,
"
26"
,
"
27"
,
"
28"
,
"
29"
]
options
:
[
"
21"
,
"
22"
,
"
23"
,
"
24"
,
"
25"
,
"
26"
,
"
27"
,
"
28"
,
"
29"
,
"
30"
]
initial_option
:
"
27"
optimistic
:
true
restore_value
:
true
...
...
@@ -115,7 +112,7 @@ select:
id
:
temperature_hysteresis
name
:
"
Fan:
Temperature
Hysteresis"
options
:
[
"
1"
,
"
2"
,
"
3"
,
"
4"
,
"
5"
]
initial_option
:
"
2
"
initial_option
:
"
1
"
optimistic
:
true
restore_value
:
true
-
platform
:
template
...
...
@@ -128,14 +125,14 @@ select:
-
platform
:
template
id
:
humidity_max
name
:
"
Fan:
Humidity
On"
options
:
[
"
40"
,
"
45"
,
"
50"
,
"
55"
,
"
60"
,
"
65"
,
"
70"
,
"
75"
]
options
:
[
"
40"
,
"
45"
,
"
50"
,
"
55"
,
"
60"
,
"
65"
,
"
70"
,
"
75"
,
"
80"
]
initial_option
:
"
70"
optimistic
:
true
restore_value
:
true
-
platform
:
template
id
:
humidity_hysteresis
name
:
"
Fan:
Humidity
Hysteresis"
options
:
[
"
5"
,
"
10"
,
"
15"
]
options
:
[
"
1"
,
"
2"
,
"
3"
,
"
4"
,
"
5"
,
"
10"
,
"
15"
]
initial_option
:
"
5"
optimistic
:
true
restore_value
:
true
...
...
@@ -176,7 +173,7 @@ interval:
time
:
-
platform
:
sntp
id
:
sntp_time
timezone
:
$timezone
timezone
:
$
{
timezone
}
update_interval
:
1h
on_time
:
-
cron
:
${schedule_grow_on}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment