Hi,
is it possible to readout a value with a shell command in a rule like this:
IF auslesen is pressed THEN set $value = (execute "wc -l /tmp/apache.log | cut -d/ -f1")
I can’t use a shellsensor because the logfile is generated with the first log entry, but it is not guaranteed that the file is all the time availible, especially after a reboot of the pi.
Regards daice