Hey guys!
Am talkin with @hyperx about a little problem that needs to be solved.
He has a log with 10 or more lines. Each line has a temperature value but nothing else.
So lets say something like
18.5
23.4
13.6
etc…
Now the question is, how to get these values into Pimatic?
There’s no property of the value - no indicator or anything. Just plain text with the above sample values.
Each value needs to become a separate variable.
Anybody an idea?
since i failed with grep , awk and sed I was thinking of a script to take apart the logfile and write each value to a separate file in /tmp to read these files separately with the logreader or variables device.
what do you think? maybe it’s even possible without script …