Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 107864

Device screwed utility meter when jumping to 0 for a short time

$
0
0

As per title, the utility meter caught a spike in the source sensor when for some reason it reset.


shelly3em_energia_totale is the device measuring the total energy

Pompa_di_calore_giornaliero is the utility meter that resets daily

As you can see at a certain point the source sensor jumped to 0 and then recovered for some reason, but the utility meter interpreted that jump as a real consumption

The sensor is defined as the sum of the energy measured on the 3 phases in configuration.yaml

  - platform: template
    sensors:
      shelly3em_energia_totale:
       unit_of_measurement: 'kWh'
       value_template: "{{((states('sensor.faseA_energia')|float(0)+states('sensor.faseB_energia')|float(0)+states('sensor.faseC_energia')|float(0))/1000) |round(3)}}"

How can I prevent this?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 107864


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>