mwittig / pimatic-filter

Pimatic Plugin which provides various filtering functions for sensor data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

not a bug not an error but not nice

mwittig opened this issue · comments

Reported by @hansjeu on pimatic/pimatic#773

i use the pulgin filter to eliminate some extremes in my location readings.
{
"class": "SimpleTruncatedMeanFilter",
"id": "filter2",
"name": "Filter2",
"size": 5,
"output": {
"name": "afstand_weg",
"expression": "$iphone-xxxxx.routeDistance",
"acronym": "AW2",
"type": "number",
"unit": "m"
}

when i start pimatic i get the error
error [pimatic-filter]: Error on device filter2: Input value is null or undefined

i understand filter needs 5 readings in this example, but is there no way to suppress this error?
As i said no bug, not an error but ......

Greetings Hans

Hello mwittig.
Whey did you close this?

Greetings Hans

I closed ticket #773 on pimatic and created this ticket in place of it - which is open, btw.

@hansjeu The issue should be fixed now. Please let me know if it still does not work for you.