(Alpha) Location Task [HS]

by Lionfar Teewo

Version 6 (August 7, 2016)

Download (198 downloads)

Absolutely pre-alpha! Reworking my location task flow to be as modular as my car flow. This version is only for interested people that want to report bugs.
I will maybe modify the config, so don't be annoyed when your configured locations stop working in the next versions.

For example there still is a bug, that the location at block leave the location, but by location get you are still in range and location at won't enter again. Then leaving the location will not detect.

Version 2:
- Automate isn't well supporting large flows. The path finding algorithm called A* need very long to recalculate. So I have replaced lines by goto blocks. Now we end up with 300+ blogs, what is causing lags due moving your screen through the flow.
- Adding dynamically payload, unfortunately not as well as I was aiming, may keep working on. The payload input is a string, so it has to be json encoded, I.e. {"company":"SAP"}
- Some little improvements

Version 3:
- Payload support payload creation via Call&Return so users are not needed to handle json. You only need to select the beginning of the flow with Call&Return integration. It can be identified by the (*C&R) suffix.

Version 4:
- Added self update

Version 5:
- Added power mode for save battery and high accuracy.
I've noticed that the bug of the location at block in Android 6(see bottom text) is gone. That makes me bring back this mode, but for buildings the block is still not working fine. So I keep the more accurate get location block and furthermore optimized the algorithm. It's tested only once, so tell me if it is working for you(I am not rejoining my house as often a day :P)

Version 6:
- Hotfix, wrong index when check if location was removed to prevent restart

WORKING ON:
1- Show help if no valid C&R beginning was selected
2- Refactoring
3- Leave alpha/beta and republish this flow. Mark old location flow as deprecated.

KNOWN BUG:
-

What we try to fix with this Flow:
My old and the most other flows build the location fix only based on the location at block.
This results without moving in something like:
2016-05-08 03:27:29.353 Arrived
2016-05-08 04:13:24.516 Left
2016-05-08 04:14:29.001 Arrived
2016-05-08 06:15:22.100 Left
2016-05-08 06:16:22.288 Arrived
2016-05-08 06:17:22.636 Left
2016-05-08 06:18:22.900 Arrived
2016-05-08 06:20:23.291 Left
2016-05-08 06:21:23.521 Arrived
2016-05-08 08:24:49.429 Left
2016-05-08 08:52:20.446 Arrived
2016-05-08 08:55:28.979 Left
2016-05-08 08:57:29.030 Arrived
2016-05-08 08:58:29.973 Left
2016-05-08 08:59:29.891 Arrived

Must have flows in combination with this one:
http://llamalab.com/automate/community/flows/5547
http://llamalab.com/automate/community/flows/2969
http://llamalab.com/automate/community/flows/3236


- - - -
Have a look on my other flows. Search for '[HS]'.

5.0 average rating from 3 reviews

5 stars
3
4 stars
0
3 stars
0
2 stars
0
1 star
0
Warnings
0

Reviews and ratings can be submitted in the app.