forked from daniel-jong/esp8266_p1meter
-
Notifications
You must be signed in to change notification settings - Fork 4
/
p1_sensors.yaml
176 lines (146 loc) · 6 KB
/
p1_sensors.yaml
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# Sensors for esp8266_p1meter to be used in Home Assistant
mqtt:
sensor:
- name: P1 Consumption Low Tariff
unique_id: 'sensor.p1_consumption_low_tariff'
device_class: energy
state_class: total_increasing
unit_of_measurement: kWh
state_topic: "sensors/power/p1meter/consumption_low_tarif"
value_template: "{{ value|float / 1000 }}"
- name: P1 Consumption High Tariff
unique_id: 'sensor.p1_consumption_high_tariff'
device_class: energy
state_class: total_increasing
unit_of_measurement: kWh
state_topic: "sensors/power/p1meter/consumption_high_tarif"
value_template: "{{ value|float / 1000 }}"
- name: P1 Return Delivery High Tariff
unique_id: 'sensor.p1_delivery_high_tariff'
device_class: energy
state_class: total_increasing
unit_of_measurement: kWh
state_topic: "sensors/power/p1meter/returndelivery_high_tarif"
value_template: "{{ value|float / 1000 }}"
- name: P1 Return Delivery Low Tariff
unique_id: 'sensor.p1_delivery_low_tariff'
device_class: energy
state_class: total_increasing
unit_of_measurement: kWh
state_topic: "sensors/power/p1meter/returndelivery_low_tarif"
value_template: "{{ value|float / 1000 }}"
- name: P1 Actual Power Consumption
unique_id: 'sensor.p1_actual_power_consumption'
device_class: power
state_class: measurement
unit_of_measurement: 'kW'
state_topic: "sensors/power/p1meter/actual_consumption"
value_template: "{{ value|float / 1000 }}"
- name: P1 Actual Return Delivery
unique_id: 'sensor.p1_actual_return_delivery'
device_class: power
state_class: measurement
unit_of_measurement: 'kW'
state_topic: "sensors/power/p1meter/actual_returndelivery"
value_template: "{{ value|float / 1000 }}"
- name: P1 L1 Instant Power Usage
unique_id: 'sensor.p1_l1_instant_power_usage'
device_class: power
state_class: measurement
unit_of_measurement: 'kW'
state_topic: "sensors/power/p1meter/l1_instant_power_usage"
value_template: "{{ value|float / 1000 }}"
- name: P1 L2 Instant Power Usage
unique_id: 'sensor.p1_l2_instant_power_usage'
device_class: power
state_class: measurement
unit_of_measurement: 'kW'
state_topic: "sensors/power/p1meter/l2_instant_power_usage"
value_template: "{{ value|float / 1000 }}"
- name: P1 L3 Instant Power Usage
unique_id: 'sensor.p1_l3_instant_power_usage'
device_class: power
state_class: measurement
unit_of_measurement: 'kW'
state_topic: "sensors/power/p1meter/l3_instant_power_usage"
value_template: "{{ value|float / 1000 }}"
- name: P1 L1 Instant Power Current
unique_id: 'sensor.p1_l1_instant_power_current'
device_class: current
state_class: measurement
unit_of_measurement: 'A'
state_topic: "sensors/power/p1meter/l1_instant_power_current"
value_template: "{{ value|float / 1000 }}"
- name: P1 L2 Instant Power Current
unique_id: 'sensor.p1_l2_instant_power_current'
device_class: current
state_class: measurement
unit_of_measurement: 'A'
state_topic: "sensors/power/p1meter/l2_instant_power_current"
value_template: "{{ value|float / 1000 }}"
- name: P1 L3 Instant Power Current
unique_id: 'sensor.p1_l3_instant_power_current'
device_class: current
state_class: measurement
unit_of_measurement: 'A'
state_topic: "sensors/power/p1meter/l3_instant_power_current"
value_template: "{{ value|float / 1000 }}"
- name: P1 L1 Voltage
unique_id: 'sensor.p1_l1_voltage'
device_class: voltage
state_class: measurement
unit_of_measurement: 'V'
state_topic: "sensors/power/p1meter/l1_voltage"
value_template: "{{ value|float / 1000 }}"
- name: P1 L2 Voltage
unique_id: 'sensor.p1_l2_voltage'
device_class: voltage
state_class: measurement
unit_of_measurement: 'V'
state_topic: "sensors/power/p1meter/l2_voltage"
value_template: "{{ value|float / 1000 }}"
- name: P1 L3 Voltage
unique_id: 'sensor.p1_l3_voltage'
device_class: voltage
state_class: measurement
unit_of_measurement: 'V'
state_topic: "sensors/power/p1meter/l3_voltage"
value_template: "{{ value|float / 1000 }}"
- name: P1 Gas Usage
unique_id: 'sensor.p1_gas_usage'
device_class: gas
state_class: total_increasing
unit_of_measurement: 'm³'
state_topic: "sensors/power/p1meter/gas_meter_m3"
value_template: "{{ value|float / 1000 }}"
- name: P1 Actual Tariff Group
unique_id: 'sensor.p1_actual_tariff_group'
state_topic: "sensors/power/p1meter/actual_tarif_group"
- name: P1 Short Power Outages
unique_id: 'sensor.p1_short_power_outages'
state_topic: "sensors/power/p1meter/short_power_outages"
- name: P1 Long Power Outages
unique_id: 'sensor.p1_long_power_outages'
state_topic: "sensors/power/p1meter/long_power_outages"
- name: P1 Short Power Drops
unique_id: 'sensor.p1_short_power_drops'
state_topic: "sensors/power/p1meter/short_power_drops"
- name: P1 Short Power Peaks
unique_id: 'sensor.p1_short_power_peaks'
state_topic: "sensors/power/p1meter/short_power_peaks"
- name: P1 Actual Average 15m Peak
unit_of_measurement: 'W'
device_class: power
state_class: measurement
state_topic: "sensors/power/p1meter/actual_average_15m_peak"
- name: P1 Thismonth Average 15m Peak
unit_of_measurement: 'W'
device_class: power
state_class: measurement
state_topic: "sensors/power/p1meter/thismonth_max_15m_peak"
- name: P1 Last13months Average 15m Peak
unit_of_measurement: 'W'
state_topic: "sensors/power/p1meter/last13months_average_15m_peak"
- name: P1 Last13months Average 15m Peak
unit_of_measurement: 'W'
state_topic: "sensors/power/p1meter/last13months_peaks_json"