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
81cbc498
Commit
81cbc498
authored
3 years ago
by
Jan Grewe
Browse files
Options
Downloads
Patches
Plain Diff
clean up Nous A1T template and rename stuff for displayed order
parent
fd25098f
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
base.yaml
+1
-0
1 addition, 0 deletions
base.yaml
include/nous_a1t.yaml
+14
-13
14 additions, 13 deletions
include/nous_a1t.yaml
propbox.yaml
+13
-13
13 additions, 13 deletions
propbox.yaml
with
28 additions
and
26 deletions
base.yaml
+
1
−
0
View file @
81cbc498
...
...
@@ -43,6 +43,7 @@ web_server:
# include_internal: true
prometheus
:
# include_internal: true
sensor
:
-
platform
:
wifi_signal
...
...
This diff is collapsed.
Click to expand it.
include/nous_a1t.yaml
+
14
−
13
View file @
81cbc498
...
...
@@ -9,7 +9,7 @@ time:
light
:
-
platform
:
status_led
id
:
"
led_status
"
id
:
led_status
pin
:
number
:
GPIO13
inverted
:
true
...
...
@@ -17,18 +17,18 @@ light:
binary_sensor
:
# toggle relay on/off
-
platform
:
gpio
id
:
"
button_state
"
id
:
button_state
pin
:
number
:
GPIO00
mode
:
INPUT_PULLUP
on_press
:
-
switch.toggle
:
"
power
"
-
switch.toggle
:
power
switch
:
-
platform
:
template
name
:
"
Power"
optimistic
:
true
id
:
"
power
"
id
:
power
lambda
:
|-
if (id(relay).state) {
return true;
...
...
@@ -36,19 +36,19 @@ switch:
return false;
}
turn_on_action
:
-
switch.turn_on
:
"
relay
"
-
light.turn_on
:
"
led_status
"
-
switch.turn_on
:
relay
-
light.turn_on
:
led_status
turn_off_action
:
-
switch.turn_off
:
"
relay
"
-
light.turn_off
:
"
led_status
"
-
switch.turn_off
:
relay
-
light.turn_off
:
led_status
-
platform
:
gpio
id
:
relay
pin
:
GPIO14
sensor
:
-
platform
:
total_daily_energy
name
:
"
Electric
Consumption
[kWh]
"
power_id
:
"
nous_a1t_
watt
"
name
:
"
Daily
Consumption"
power_id
:
watt
filters
:
# Multiplication factor from W to kW is 0.001
-
multiply
:
0.001
...
...
@@ -75,11 +75,12 @@ sensor:
accuracy_decimals
:
3
voltage
:
name
:
"
Volt
age
"
name
:
"
Volt"
unit_of_measurement
:
V
accuracy_decimals
:
1
power
:
name
:
"
Power"
id
:
"
nous_a1t_w
att"
id
:
watt
name
:
"
W
att"
unit_of_measurement
:
W
accuracy_decimals
:
1
This diff is collapsed.
Click to expand it.
propbox.yaml
+
13
−
13
View file @
81cbc498
...
...
@@ -41,14 +41,14 @@ sensor:
update_interval
:
5s
temperature
:
id
:
temperature
name
:
"
Temperature"
name
:
"
Sensor:
Temperature"
accuracy_decimals
:
2
on_value
:
then
:
-
script.execute
:
fan_control
humidity
:
id
:
humidity
name
:
"
Humidity"
name
:
"
Sensor:
Humidity"
accuracy_decimals
:
2
on_value
:
then
:
...
...
@@ -56,12 +56,12 @@ sensor:
pressure
:
id
:
pressure
accuracy_decimals
:
2
name
:
"
Pressure"
name
:
"
Sensor:
Pressure"
-
platform
:
dallas
index
:
0
id
:
temperature_water
name
:
"
Water
Temperature"
name
:
"
Sensor:
Water
Temperature"
accuracy_decimals
:
2
# requires: https://github.com/esphome/feature-requests/issues/1746
...
...
@@ -99,49 +99,49 @@ sensor:
select
:
-
platform
:
template
id
:
schedule
name
:
"
Light
Schedule"
name
:
"
Light
:
Schedule"
options
:
[
"
Disabled"
,
"
Grow"
,
"
Bloom"
]
initial_option
:
"
Disabled"
optimistic
:
true
restore_value
:
true
-
platform
:
template
id
:
temperature_max
name
:
"
Temperature
:
Fan
On"
name
:
"
Fan:
Temperature
On"
options
:
[
"
21"
,
"
22"
,
"
23"
,
"
24"
,
"
25"
,
"
26"
,
"
27"
,
"
28"
,
"
29"
]
initial_option
:
"
27"
optimistic
:
true
restore_value
:
true
-
platform
:
template
id
:
temperature_hysteresis
name
:
"
Temperature
:
Fan
Hysteresis"
name
:
"
Fan:
Temperature
Hysteresis"
options
:
[
"
1"
,
"
2"
,
"
3"
,
"
4"
,
"
5"
]
initial_option
:
"
2"
optimistic
:
true
restore_value
:
true
-
platform
:
template
id
:
temperature_min
name
:
"
Temperature
:
Fan
Off"
name
:
"
Fan:
Temperature
Off"
options
:
[
"
19"
,
"
20"
,
"
21"
,
"
22"
,
"
23"
,
"
24"
,
"
25"
]
initial_option
:
"
21"
optimistic
:
true
restore_value
:
true
-
platform
:
template
id
:
humidity_max
name
:
"
Humidity
:
Fan
On"
name
:
"
Fan:
Humidity
On"
options
:
[
"
40"
,
"
45"
,
"
50"
,
"
55"
,
"
60"
,
"
65"
,
"
70"
,
"
75"
]
initial_option
:
"
70"
optimistic
:
true
restore_value
:
true
-
platform
:
template
id
:
humidity_hysteresis
name
:
"
Humidity
:
Fan
Hysteresis"
name
:
"
Fan:
Humidity
Hysteresis"
options
:
[
"
5"
,
"
10"
,
"
15"
]
initial_option
:
"
5"
optimistic
:
true
restore_value
:
true
-
platform
:
template
id
:
humidity_min
name
:
"
Humidity
:
Fan
Off"
name
:
"
Fan:
Humidity
Off"
options
:
[
"
20"
,
"
25"
,
"
30"
,
"
35"
,
"
40"
,
"
45"
,
"
50"
]
initial_option
:
"
40"
optimistic
:
true
...
...
@@ -150,7 +150,7 @@ select:
switch
:
-
platform
:
template
id
:
propbox_light
name
:
"
Light
Status"
name
:
"
Status
:
Light
"
optimistic
:
true
turn_on_action
:
-
http_request.post
:
...
...
@@ -160,7 +160,7 @@ switch:
url
:
http://${hostname_light}/switch/power/turn_off
-
platform
:
template
id
:
propbox_fan
name
:
"
Fan
Status"
name
:
"
Status
:
Fan
"
optimistic
:
true
turn_on_action
:
-
http_request.post
:
...
...
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