I use shell execute in rules for several purposes like
execute \"sudo reboot\"
execute \"sudo service pimatic restart\"
This has always worked well. Lately, however, there have been problems.
After a while, maybe hours or a few days, execute does not work anymore. There are no
errors logged. When I restart pimatic application via unix shell everthing is OK again.
I use the execute command intensively for controlling speech output with woli and I detect the problem when the tablet stays quiet for a certain time.
when $woli-speech changes and $woli-speech != \"\" then execute \"echo -n wolido:volume:12 | $woli1\" and execute \"echo -n wolido:speak:$woli-speech . | $woli1\" and after 1 second set $woli-speech to \"\"