I just started to use pimatic-filter plugin and have several problems. My first filter looks like this:
{
"stats": [
"min",
"max",
"mean",
"source"
],
"output": {
"name": "temperature",
"expression": "$ESP02.temp"
},
"xAttributeOptions": [
{
"name": "min",
"displaySparkline": false
},
{
"name": "max",
"displaySparkline": false
},
{
"name": "mean",
"displaySparkline": false
},
{
"name": "source",
"displaySparkline": false
},
{
"name": "temperature",
"displaySparkline": false
}
],
"id": "esp02tempfiltered",
"name": "ESP02TempFiltered",
"class": "SimpleTruncatedMeanFilter"
}
Firstly the filtered temperature does not appear in the variables list of the UI (Whereas all stats attributes are present, like $esptempfiltered.min, $esptempfiltered.source etc.)
Secondly the filtered temperature can not be referred in rules.
Further it is named with leading $ ($temperature and not temperature) on the graph page.