Improves documentation with better example and link to algorithm (#4883)

* Added history_period

* added link

* history_period is no longer needed
This commit is contained in:
Diogo Gomes 2018-03-23 20:55:27 +00:00 committed by Franck Nijhof
parent 3c45088ac3
commit 6585332701

View File

@ -37,6 +37,15 @@ sensor:
- filter: lowpass
time_constant: 10
precision: 2
- platform: filter
name: "filtered realistic temperature"
entity_id: sensor.realistic_temperature
filters:
- filter: outlier
window_size: 4
radius: 2.0
- filter: lowpass
time_constant: 10
- filter: time_simple_moving_average
window_size: 00:05
precision: 2
@ -95,7 +104,7 @@ filters:
The Low-pass filter (`lowpass`) is one of signal processing most common filters, as it smooths data by shortcutting peaks and valleys.
The included Low-pass filter is very basic and is based on a moving average, in which the previous data point is weighted with the new data point.
The included Low-pass filter is very basic and is based on [exponential smoothing](https://en.wikipedia.org/wiki/Exponential_smoothing), in which the previous data point is weighted with the new data point.
```python
B = 1.0 / time_constant