Repository navigation
Expand file tree
/
Copy pathenergymonitor.yaml
More file actions
138 lines (116 loc) · 2.25 KB
/
Copy pathenergymonitor.yaml
File metadata and controls
138 lines (116 loc) · 2.25 KB
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
esphome:
name: energymonitor
friendly_name: EnergyMonitor
esp8266:
board: nodemcuv2
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "C95l8q44KFaRHqi7Gc97FYUBCnVtIBw821nMbWtBvmE="
ota:
- platform: esphome
password: "c107ae6b5ea56e3dbc6ca03e404627db"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Energymonitor Fallback Hotspot"
password: "McTDOvNa3362"
web_server:
port: 80
light:
- platform: neopixelbus
id: energymonitor
type: GRB
variant: LC8812
pin: GPIO2
num_leds: 18
color_correct: [75%, 75%, 75%]
name: "Energy Monitor"
- platform: partition
name: "Now"
segments:
- id: energymonitor
from: 0
to: 2
- platform: partition
name: "P1_1"
segments:
- id: energymonitor
from: 3
to: 3
- platform: partition
name: "P1_2"
segments:
- id: energymonitor
from: 4
to: 4
- platform: partition
name: "P1_3"
segments:
- id: energymonitor
from: 5
to: 5
- platform: partition
name: "P1_4"
segments:
- id: energymonitor
from: 6
to: 6
- platform: partition
name: "P1_5"
segments:
- id: energymonitor
from: 7
to: 7
- platform: partition
name: "P1_6"
segments:
- id: energymonitor
from: 8
to: 8
- platform: partition
name: "P1_7"
segments:
- id: energymonitor
from: 9
to: 9
- platform: partition
name: "P1_8"
segments:
- id: energymonitor
from: 10
to: 10
- platform: partition
name: "P1_9"
segments:
- id: energymonitor
from: 11
to: 11
- platform: partition
name: "P1_10"
segments:
- id: energymonitor
from: 12
to: 12
- platform: partition
name: "P1_11"
segments:
- id: energymonitor
from: 13
to: 13
- platform: partition
name: "P1_12"
segments:
- id: energymonitor
from: 14
to: 14
- platform: partition
name: "Next"
segments:
- id: energymonitor
from: 15
to: 17