Hi,
I have a device that update each 10 minutes. I am interested in last value of each day so I defined a variablesdevice. My purpose is to create a rule for update this variable at 23:59 each day with last device value. I don’t know if there are better approach. Anyway, i am very frustrated doing early first step… Define the variablesdevice.
This is my definition:
{
"id": "kwh24h",
"name": "Kwh24h",
"class": "VariablesDevice",
"variables": [
{
"name": "Kwh24hTermo",
"expression": "$Kwh24hTermo",
"type": "number",
"unit": "Wh"
}
]
},
When i start pimatic i always have the next error:
00:28:07.329 [pimatic] error: Could not get attribute value of Kwh24h.Kwh24hTermo: Could not parse expression
00:28:10.727 [pimatic] warn: Could not update variable kwh24h.Kwh24hTermo: Could not parse expression
Please help. I feel i am loosing some important concept…
Thanks a lot, and very very very good work. Thanks for sharing with the world!!!