Skip to content

This script removes the spikes (incorrect measurements) from a FHEM log. The log contains temperature und humidity data, which is coming in from a Alecto WS1700 sensor via Pilight.

Notifications You must be signed in to change notification settings

cyablo/remove_fhem_graph_spikes_alecto_ws1700

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

remove spikes from FHEM pilight log

This script removes the spikes (incorrect measurements) from a FHEM pilight temperature and humidty sensor log. The log contains temperature, humidity and battery values, which are coming in from a Alecto WS1700 protocol sensor via Pilight. It is interpreted by the pilight_ctrl plugin within FHEM.

It detects the spikes by running through the logfile and calculating the differences between every 3 consecutive values. If the difference reaches a given threshold, the spike is flattened to the average of is predecessor and successor.

About

This script removes the spikes (incorrect measurements) from a FHEM log. The log contains temperature und humidity data, which is coming in from a Alecto WS1700 sensor via Pilight.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages