Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible-warpzone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infrastruktur
ansible-warpzone
Commits
dfd99ead
Commit
dfd99ead
authored
2 years ago
by
3d
Browse files
Options
Downloads
Patches
Plain Diff
change display02 and main
parent
c3e2ce13
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
functions
+1
-1
1 addition, 1 deletion
functions
intern/docker_esphome/tasks/main.yml
+4
-0
4 additions, 0 deletions
intern/docker_esphome/tasks/main.yml
intern/docker_esphome/templates/config/esphome_display02.yaml
+41
-9
41 additions, 9 deletions
...rn/docker_esphome/templates/config/esphome_display02.yaml
with
46 additions
and
10 deletions
functions
@
900377e4
Compare
e8a04941
...
900377e4
Subproject commit
e8a049414bca2b14b158444dac1b94c2ca90d9be
Subproject commit
900377e4f72486f6699ecf736f96adfbc04e92da
This diff is collapsed.
Click to expand it.
intern/docker_esphome/tasks/main.yml
+
4
−
0
View file @
dfd99ead
...
@@ -47,6 +47,10 @@
...
@@ -47,6 +47,10 @@
-
config/esphome_luftfilter01.yaml
-
config/esphome_luftfilter01.yaml
-
config/esphome_strommesser.yaml
-
config/esphome_strommesser.yaml
-
config/esphome_vortragsraum.yaml
-
config/esphome_vortragsraum.yaml
-
config/esphome_plug01.yaml
-
config/esphome_plug02.yaml
-
config/esphome_plug03.yaml
-
config/esphome_plug04.yaml
register
:
config
register
:
config
-
name
:
"
stop
{{
servicename
}}
docker"
-
name
:
"
stop
{{
servicename
}}
docker"
...
...
This diff is collapsed.
Click to expand it.
intern/docker_esphome/templates/config/esphome_display02.yaml
+
41
−
9
View file @
dfd99ead
...
@@ -19,10 +19,18 @@ external_components:
...
@@ -19,10 +19,18 @@ external_components:
refresh
:
0s
refresh
:
0s
{
%
include "/includes/common.inc.yaml" %
}
{
%
include "/includes/common.inc.yaml" %
}
on_message
:
-
topic
:
ESPHome/esphome_display02/light/on/state
then
:
-
light.turn_on
:
matrix_light
-
topic
:
ESPHome/esphome_display02/light/off/state
then
:
-
light.turn_off
:
matrix_light
light
:
light
:
-
platform
:
monochromatic
-
platform
:
monochromatic
name
:
'
Brightness'
name
:
'
Brightness'
id
:
matrix_light
output
:
matrix_brightness
output
:
matrix_brightness
restore_mode
:
RESTORE_DEFAULT_ON
restore_mode
:
RESTORE_DEFAULT_ON
...
@@ -59,7 +67,7 @@ font:
...
@@ -59,7 +67,7 @@ font:
-
file
:
"
tall-pixel-edit.ttf"
-
file
:
"
tall-pixel-edit.ttf"
id
:
b03
id
:
b03
size
:
6
size
:
6
glyphs
:
'
!"%()+=,-_.:°0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzü'
glyphs
:
'
!"%()+=,-_.:°0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzü
µ
'
text_sensor
:
text_sensor
:
-
platform
:
mqtt_subscribe
-
platform
:
mqtt_subscribe
...
@@ -74,6 +82,18 @@ text_sensor:
...
@@ -74,6 +82,18 @@ text_sensor:
name
:
"
Sensor
Kuehlschrank
Temp"
name
:
"
Sensor
Kuehlschrank
Temp"
id
:
sensor_kuehlschrank_temp
id
:
sensor_kuehlschrank_temp
topic
:
ESPHome/esphome_kuehlschrank/sensor/kuehlschrank-temp/state
topic
:
ESPHome/esphome_kuehlschrank/sensor/kuehlschrank-temp/state
-
platform
:
mqtt_subscribe
name
:
"
Sensor
Feinstaub
2.5"
id
:
sensor_feinstaub_2_5
topic
:
ESPHome/esphome_feinstaub01/sensor/feinstaub_2_5/state
-
platform
:
mqtt_subscribe
name
:
"
Sensor
warpzone
Status"
id
:
sensor_warpzone_status
topic
:
warpzone/door/status
-
platform
:
mqtt_subscribe
name
:
"
Sensor
Stromverbrauch
kW"
id
:
sensor_stromverbrauch_kw
topic
:
ESPHome/esphome_strommesser/sensor/stromverbrauch/state
display
:
display
:
-
platform
:
obegraensad_panel
-
platform
:
obegraensad_panel
...
@@ -84,17 +104,29 @@ display:
...
@@ -84,17 +104,29 @@ display:
pages
:
pages
:
-
id
:
Page1
-
id
:
Page1
lambda
:
|-
lambda
:
|-
it.printf(0,
0
,id(b03),"Haup");
it.printf(0,
-1
,id(b03),"Haup");
it.printf(0,
8
,id(b03),"%s°C",id(sensor_hauptraum_temp).state.c_str());
it.printf(0,
7
,id(b03),"%s°C",id(sensor_hauptraum_temp).state.c_str());
-
id
:
Page2
-
id
:
Page2
lambda
:
|-
lambda
:
|-
it.printf(0,
0
,id(b03),"Vort");
it.printf(0,
-1
,id(b03),"Vort");
it.printf(0,
8
,id(b03),"%s°C",id(sensor_vortragsraum_temp).state.c_str());
it.printf(0,
7
,id(b03),"%s°C",id(sensor_vortragsraum_temp).state.c_str());
-
id
:
Page3
-
id
:
Page3
lambda
:
|-
lambda
:
|-
it.printf(0,
0
,id(b03),"Kühl");
it.printf(0,
-1
,id(b03),"Kühl");
it.printf(0,
8
,id(b03),"%s°C",id(sensor_kuehlschrank_temp).state.c_str());
it.printf(0,
7
,id(b03),"%s°C",id(sensor_kuehlschrank_temp).state.c_str());
-
id
:
Page4
-
id
:
Page4
lambda
:
|-
lambda
:
|-
it.strftime(4, 0, id(b03), "%H", id(ntp_time).now());
it.strftime(4,-1,id(b03),"%H",id(ntp_time).now());
it.strftime(4, 8, id(b03), "%M", id(ntp_time).now());
it.strftime(4,7,id(b03),"%M",id(ntp_time).now());
\ No newline at end of file
-
id
:
Page5
lambda
:
|-
it.printf(0,-1,id(b03),"Luft");
it.printf(0,7,id(b03),"%sµg",id(sensor_feinstaub_2_5).state.c_str());
-
id
:
Page6
lambda
:
|-
it.printf(0,-1,id(b03),"Stro");
it.printf(0,7,id(b03),"%s",id(sensor_stromverbrauch_kw).state.c_str());
-
id
:
Page7
lambda
:
|-
it.printf(0,-1,id(b03)," WZ");
it.printf(0,7,id(b03),id(sensor_warpzone_status).state.c_str());
\ No newline at end of file
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