File tree Expand file tree Collapse file tree 1 file changed +5
-46
lines changed Expand file tree Collapse file tree 1 file changed +5
-46
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,12 @@ substitutions:
2
2
devicename : ulanzi
3
3
friendly_name : LED Matrix
4
4
# Pin definition from https://github.com/aptonline/PixelIt_Ulanzi
5
- battery_pin : GPIO34
6
- ldr_pin : GPIO35
7
- matrix_pin : GPIO32
8
- left_button_pin : GPIO26
9
- mid_button_pin : GPIO27
10
- right_button_pin : GPIO14
11
- scl_pin : GPIO22
12
- sda_pin : GPIO21
13
-
5
+ matrix_pin : GPIO12
6
+
14
7
external_components :
15
8
- source :
16
9
type : local
17
- path : ../components
10
+ path : ../components
18
11
components : [ ehmtxv2 ]
19
12
20
13
esphome :
@@ -23,10 +16,7 @@ esphome:
23
16
project :
24
17
name : " TEST8266.EHMTXv2"
25
18
version : " 2.0.0"
26
- on_boot :
27
- then :
28
- - ds1307.read_time :
29
-
19
+
30
20
esp8266 :
31
21
board : nodemcuv2
32
22
framework :
38
28
id : default_font
39
29
glyphs : |-
40
30
!?"%()+*=,-_.:°0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnÖÄÜöäüopqrstuvwxyz@<>߀/
41
-
42
- binary_sensor :
43
- - platform : status
44
- name : " $devicename Status"
45
- - platform : gpio
46
- pin :
47
- number : $left_button_pin
48
- inverted : true
49
- name : " Left button"
50
- - platform : gpio
51
- pin :
52
- inverted : true
53
- number : $mid_button_pin
54
- mode : INPUT_PULLUP
55
- name : " Middle button"
56
- - platform : gpio
57
- pin :
58
- number : $right_button_pin
59
- inverted : true
60
- name : " Right button"
61
-
31
+
62
32
logger :
63
33
level : WARN
64
34
76
46
77
47
web_server :
78
48
79
- i2c :
80
- sda : $sda_pin
81
- scl : $scl_pin
82
- scan : true
83
- id : i2cbus
84
-
85
49
light :
86
50
- platform : neopixelbus
87
51
id : ehmtx_light
@@ -97,11 +61,6 @@ light:
97
61
98
62
time :
99
63
- platform : homeassistant
100
- on_time_sync :
101
- then :
102
- ds1307.write_time :
103
- - platform : ds1307
104
- update_interval : never
105
64
id : ehmtx_time
106
65
107
66
display :
You can’t perform that action at this time.
0 commit comments