2016-04-30, 08:38 PM
Here's an example which might show the versatility of OP/android, a long winded way of having an alert sound on an android tablet triggered from 1wire sensors :
So when a sensor gets above a set value OP triggers an action which runs a bash script (the echo > file command didn't seem to work direct from the action for some reason) this script writes "1" to a file. Tasker then copies that file from the Pi to the tablet, opens the file and looks at line 1, if it =1 then it triggers an alert. There must be easier ways but it shows the connectivity and interaction possible between android & openplotter.
Sent from my SGP511 using Tapatalk
So when a sensor gets above a set value OP triggers an action which runs a bash script (the echo > file command didn't seem to work direct from the action for some reason) this script writes "1" to a file. Tasker then copies that file from the Pi to the tablet, opens the file and looks at line 1, if it =1 then it triggers an alert. There must be easier ways but it shows the connectivity and interaction possible between android & openplotter.
Sent from my SGP511 using Tapatalk