You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_integrations/utility_meter.markdown
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ offset:
44
44
description: "Cycle reset occur at the beginning of the period (0 minutes, 0h00 hours, Monday, day 1, January). This option enables the offsetting of these beginnings. Supported formats: `offset: 'HH:MM:SS'`, `offset: 'HH:MM'` and Time period dictionary (see example below)."
45
45
required: false
46
46
default: 0
47
-
type: time
47
+
type: time
48
48
type: integer
49
49
net_consumption:
50
50
description: Set this to True if you would like to treat the source as a net meter. This will allow your counter to go both positive and negative.
@@ -65,7 +65,7 @@ offset:
65
65
# At least one of these must be specified:
66
66
days: 1
67
67
hours: 0
68
-
minutes: 0
68
+
minutes: 0
69
69
```
70
70
71
71
## Services
@@ -151,35 +151,35 @@ When using the [DSMR component](/integrations/dsmr) to get data from the utility
151
151
152
152
If you want to create a daily and monthly sensor for each tariff, you have to track separate sensors:
153
153
154
-
- `sensor.power_consumption_low`for off-peak power
155
-
- `sensor.power_consumption_normal`for peak power
154
+
- `sensor.energy_consumption_tarif_1`for tarif 1 power (for example off-peak)
155
+
- `sensor.energy_consumption_tarif_2`for for tarif 2 power (for example peak)
156
156
- `sensor.gas_consumption`for gas consumption
157
157
158
158
So, tracking daily and monthly consumption for each sensor, will require setting up 6 entries under the `utility_meter` component.
159
159
160
160
```yaml
161
161
utility_meter:
162
162
daily_power_offpeak:
163
-
source: sensor.power_consumption_low
163
+
source: sensor.energy_consumption_tarif_1
164
164
cycle: daily
165
165
daily_power_peak:
166
-
source: sensor.power_consumption_normal
166
+
source: sensor.energy_consumption_tarif_2
167
167
cycle: daily
168
168
daily_gas:
169
169
source: sensor.gas_consumption
170
170
cycle: daily
171
171
monthly_power_offpeak:
172
-
source: sensor.power_consumption_low
172
+
source: sensor.energy_consumption_tarif_1
173
173
cycle: monthly
174
174
monthly_power_peak:
175
-
source: sensor.power_consumption_normal
175
+
source: sensor.energy_consumption_tarif_2
176
176
cycle: monthly
177
177
monthly_gas:
178
178
source: sensor.gas_consumption
179
179
cycle: monthly
180
180
```
181
181
182
-
Additionally, you can add template sensors to compute daily and monthly total usage.
182
+
Additionally, you can add template sensors to compute daily and monthly total usage.
0 commit comments