-
Android and Tasker. I want to automate Owntracks a bit. I saw in the Booklet how to send an intent for changing the Monitoring interval. I would like to also be able to do a push location then exit the app when I return to home. Tasker would run it when I connect to my home SSID. Do you have a list of other intents / commands we can use from Tasker? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I spent some time learning about APK's and the AndoidManifest.xml file. Therefore I can now answer my own question:
I hope this helps others. |
Beta Was this translation helpful? Give feedback.
I spent some time learning about APK's and the AndoidManifest.xml file. Therefore I can now answer my own question:
org.owntracks.adroid.REREQUEST_LOCATION_UPDATES triggers OwnTracks to get it's current location from the phone and publish it out to your MQTT server. This is different to the org.owntracks.android.SEND_LOCATION_USER. Which I think only pushes the last location info and that can be very old data.
org.owntracks.adroid.EXIT Shuts down OwnTracks. Handy if you are going to be stationary for a long time and want to save your phone battery.
I hope this helps others.