Install user driver - Location Tracker User Driver (LTUD.groovy)
On Phone:
Have Tasker installed and operating correctly
Have add-on AutoLocation installed (how to setup is below)
Follow the next few sections carefully to setup Tasker
Requires only 2 Tasks and 1 Profile
IMPORTANT: Capitalization counts when working with Tasker!
.
How to setup - AutoLocation
Setting up AutoLocation
Click 'Start Monitor'
That's it!
How to setup - Task - New Places from Tasker
Setting up Location Tracker - New Places
This will be the same for each for you want to setup.
Create New Task
Open Tasker, go to Tasks, click the '+' in the lower right hand corner
Enter in a name for the Task - 'Location Tracker - New Place' and hit the 'check mark'
On new screen, hit the '+' again, on bottom 'Filter' type 'Query', select 'Variable Query'
Title: Name of New Place?
Variable: %PLACE
Hit the 'back arrow' at the top of screen
Hit the '+' again, on bottom 'Filter' type 'HTTP', select 'HTTP Request'
Method: Get
URL: This is the URL found in MakerAPI. Replace YOURAPPNO and YOURDEVICENO with your info and also be sure to include the /addPlace/%PLACE,%LOC,200 portion.
ie. https://cloud.hubitat.com/api/19i34kajdi-kdjfdk-kdfjdk-kdjfdk/apps/YOURAPPNO/devices/YOURDEVICENO/addPlace/%PLACE,%LOC,200?access_token=akdjfdksj-akdfj-kdfjd-kakjf
Hit the 'back arrow' at the top of screen
On new screen, hit the '+' again, on bottom 'Filter' type 'Pop', select 'Popup'
This will be different for each device you want to setup.
Create New Task
Open Tasker, go to Tasks, click the '+' in the lower right hand corner
Enter in a name for the Task - 'Location Tracker - Push Loc' and hit the 'check mark'
On new screen, hit the '+' again, on bottom 'Filter' type 'get', select 'Get Location V2' (make sure it's the V2)
Hit the '+' again, on bottom 'Filter' type 'if', select 'if'
Condition: %gl_coordinates 'NEQ' %PrevLoc
Hit the 'back arrow' at the top of screen
Hit the '+' again, on bottom 'Filter' type 'HTTP', select 'HTTP Request'
Method: Get
URL: This is the URL found in MakerAPI. Replace YOURAPPNO and YOURDEVICENO with your info and also be sure to include the deviceLoc/%DATE,%TIME,%gl_coordinates,%LOCSPD,%LOCALT portion.
ie. https://cloud.hubitat.com/api/19i34kajdi-kdjfdk-kdfjdk-kdjfdk/apps/YOURAPPNO/devices/YOURDEVICENO/deviceLoc/%DATE,%TIME,%gl_coordinates,%LOCSPD,%LOCALT?access_token=akdjfdksj-akdfj-kdfjd-kakjf
Hit the 'back arrow' at the top of screen
Hit the '+' again, on bottom 'Filter' type 'variable', select 'Variable Set'
Name: %gl_coordinates
To: %PrevLoc
Hit the 'back arrow' at the top of screen
Hit the '+' again, on bottom 'Filter' type 'end', select 'End If'
How to setup - Profile - Location Tracker - Activity
Setting up Location Tracker - Activity
Create New Profile
Open Tasker, go to Profiles, click the '+' in the lower right hand corner
Enter in a name for the Profile - 'Location Tracker - Activity' and hit the 'check mark'
Choose 'Event', type in 'auto' and select 'AutoLocation A...'
Click the 'Pencil' and select the ways you want to track.
-- I have: In Vehicle, On Foot, Walking, Running, On a Bicycle and Unknown checked off. Min Confidence: 50
Hit the 'check mark' at the top of screen
Hit the 'back arrow' at the top of screen
Choose 'Location Tracker - Push Loc' that we made earlier
Whether you use Life360 and/or Tasker, anyone can create Places. All places are stored in a device called 'Location Tracker - Places' and is automatically created for you. Within this device you can Add, Edit or Delete any Place.
You do great work. Your Life360 with states allows lat/long to 1.0E-4 (and yes, I know the values waiver with sensor report positioning changes). What is your minimum usable nRadius for this new app?
Not sure if this maybe got turned on when you were fixing the L360 problem a debug message pops up for me even with debug logging turned off for the device.
I created a pull request to fix it... I know it's picky.