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

Moving average filter not behaving as expected

$
0
0

@sithmein wrote:

I have added an entity that should be the 12-hour moving average of the outside temperature:

  - platform: filter
    name: Gedämpfte Aussentemperatur
    entity_id: sensor.temperatur_aussen
    filters:
      - filter: time_simple_moving_average
        window_size: 12:00

However what I get isn’t anywhere close to the moving average:
grafik

The green/blue line is the original sensor values, the red one the filtered one. As you can see it’s almost exactly following the original values, there is no averaging over the last 12 hours. Is this a bug or did I configure (or understand) the filter wrong?

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 96121

Trending Articles



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