I’m trying to switch from Dark Sky to OpenWeatherMap and the only area that I find troublesome is the cloud forecast. It’s not as stable as that of Dark Sky, with lot’s of peaks and valleys. So it resembles more the actual cloud percentage than a forecast:
Now I thought about using a filter sensor to try and smooth things out, but I am no mathematician and tweaking the sensor would take a long time to see it’s affects.
If someone could point me in the right direction that would be great.
What I would ideally like have is the red line:
My current sensor has been tweaked to much today to show it’s settings nicely. But the yaml looks as follows:
- platform: filter
name: OpenWeatherMap Forecast Cloud coverage filter
entity_id: sensor.openweathermap_forecast_cloud_coverage
filters:
- filter: outlier
window_size: 60
radius: 15.0
- filter: lowpass
time_constant: 10
precision: 0