Hi,
I tried the log-reader on a logifle. I thought the variables are update the time the logfile changes but for me no updates take place (I already tried to change the file manually, I tried to chmoid 777 and I tried to recreate it, I also tried to append new lines…nothing changed the situation so far)
The only way to update the variables is to edit and re-create the device. This works flawless.
Any clue? How can I check if the watchdog? is up and running? Maybe the service checking changes of the log is not able to run on my raspi setup?
As everything works once after creation of the device it should not have to do somethin witrh my config or the logfile itself?!
{
"file": "/home/pi/pimatic-beta/logs2parse/nu.lg",
"attributes": [
{
"name": "State",
"type": "string"
}
],
"lines": [
{
"match": "STATE:1",
"State": "YES"
},
{
"match": "STATE:0",
"State": "NO"
}
],
"xAttributeOptions": [],
"id": "nu",
"name": "Nu",
"class": "LogWatcher"
}
Logile has currently just one line:
STATE:1
or
STATE:0
br
Mike