Hello together,
after changing from v0.8.107 to the last pimatic version I have some touble with my configuation. Here ist one of them. I create a device for the variable $reverse-date like this:
{
"id": "reverse-date",
"name": "Datum (reverse)",
"class": "ShellSensor",
"attributeName": "date",
"attributeType": "string",
"attributeUnit": "",
"command": "date +%Y-%m-%d",
"interval": 60000
}
The rule is:
when openelec is absent
then execute "date +'%d.%m.%Y %H:%M - Kodi aus' >> /mnt/devices/ereignisse_$reverse-date.date.log"
and in “pimatic-daemon.log” is this message:
[pimatic] error: rule status-openelec-aus error executing an action: Array.isArray(tags)
After searching in the forum I find another way to create the reverse date
when openelec is absent
then execute "date +'%d.%m.%Y %H:%M - Kodi aus' >> /mnt/devices/ereignisse_{date("YYYY-MM-DD")}.log"
but there is the same error, but both roles works perfect (only the “pimatic-daemon.log” reports the error)