Hi everyone,
I just configured my energy dashboard with sensors coming from the Home Wizard P1 meter.
Now I’m wondering:
-
is it possible to create a sensor that recalculates the m3 to kWh? From my distributor, I have the factor 1m3 = 10,2346 Kwh
-
is it possible to show on (2) the total kWh, thus the sum of energy of electricity and gas?
looking forward to this!
Kind regards,
Bart
For the record:
added following sensor to my config
template:
- sensor:
- name: "P1 meter Total Gas kWh"
unique_id: "sensor.p1_meter_total_gas_kwh"
icon: mdi:gas-cylinder
unit_of_measurement: "kWh"
device_class: energy
state_class: total_increasing
state: >
{% set gasm3 = states('sensor.p1_meter_total_gas') | float %}
{{ (gasm3 * 10.2346) | round(2, default=0) }}
and measurements are coming in kWh:
So far so good.
Does anybody know how I can display the SUM of gas + electricity at “home”?
grtz
B
1 Like