I've uploaded version 3.0.0.47.
See the release notes post for the changes.
Paul..
Announcement
Collapse
No announcement yet.
PHLocation V2 Discussion
Collapse
This is a sticky topic.
X
X
-
Originally posted by The Profit View PostPaul, PHLocation2 no longer requires resetting/reauthorizing Apple devices every few months, correct?
Sent from my iPad using Tapatalk
Leave a comment:
-
This morning it was for every poll
Now it seems to be fixed.
I wil monitor it for today, till now itw working perfect.
regards
Originally posted by sooty View Post
I suspect the iCloud service was not available for some reason.
Did this happen on just a few occasions or are you seeing these errors on every poll?
Paul..
Leave a comment:
-
Originally posted by Malosa View Posthi sooty and
After i did change the accuracy to 100 meters it works.
But this morning i got a new error in icloud.
regards
Jan-21 09:35:26 PHLocation2 Warning (PollAccount) iCloud Logout problem account: s@gmail.com Jan-21 09:35:26 PHLocation2 Error (Logout) IC WebException for Ref:4142 Msg:The remote server returned an error: (421) Misdirected Request. Jan-21 09:35:20 PHLocation2 Warning (UpdateDevices) IC GetDevices attempt 2 returned empty for s@gmail.com. Aborting update. Jan-21 09:35:20 PHLocation2 Error (GetDevices) WebException for Ref:4142 Msg:The remote server returned an error: (450). Jan-21 09:35:20 PHLocation2 Warning (UpdateDevices) IC GetDevices attempt 1 returned empty for s@gmail.com. Trying again. Jan-21 09:35:20 PHLocation2 Error (GetDevices) WebException for Ref:4142 Msg:The remote server returned an error: (450). Jan-21 09:35:14 PHLocation2 Warning (UpdateDevices) IC GetDevices attempt 2 returned empty for s. Aborting
Did this happen on just a few occasions or are you seeing these errors on every poll?
Paul..
Leave a comment:
-
hi sooty and
After i did change the accuracy to 100 meters it works.
But this morning i got a new error in icloud.
regards
Jan-21 09:35:26 PHLocation2 Warning (PollAccount) iCloud Logout problem account: s@gmail.com Jan-21 09:35:26 PHLocation2 Error (Logout) IC WebException for Ref:4142 Msg:The remote server returned an error: (421) Misdirected Request. Jan-21 09:35:20 PHLocation2 Warning (UpdateDevices) IC GetDevices attempt 2 returned empty for s@gmail.com. Aborting update. Jan-21 09:35:20 PHLocation2 Error (GetDevices) WebException for Ref:4142 Msg:The remote server returned an error: (450). Jan-21 09:35:20 PHLocation2 Warning (UpdateDevices) IC GetDevices attempt 1 returned empty for s@gmail.com. Trying again. Jan-21 09:35:20 PHLocation2 Error (GetDevices) WebException for Ref:4142 Msg:The remote server returned an error: (450). Jan-21 09:35:14 PHLocation2 Warning (UpdateDevices) IC GetDevices attempt 2 returned empty for s. Aborting
Leave a comment:
-
Originally posted by mikesnook View Post
Paul, if it would help i can also test the new version with the overlapping locations, i noticed the issue a few days back. I'm just testing PHL2 currently so wont be a big deal if something else breaks as a result, PHL1 is taking care of my location based automation currently. No worries if not, i will happily wait until you make the update available to everyone.
Cheers,
Mike
Drop me an email and I'll send you the latest version.
Paul..
Leave a comment:
-
Originally posted by The Profit View PostPaul, PHLocation2 no longer requires resetting/reauthorizing Apple devices every few months, correct?
Sent from my iPad using Tapatalk
Paul..
Leave a comment:
-
Originally posted by mitchmitchell1616 View PostPaul,
Will you provide an api/http interface to let another app (like tasker) define a new known location? I'd like to be able to create a tasker task I could trigger to add my current location as a known location to Phlocation2 so I could easily "mark" locations I visit frequently when I'm there. I could set this up on my wife's phone so she could do this as she travels for her business.
Thanks!
Mitch
Sent from my SM-N950U using Tapatalk
The url format will be
PHP Code:../phl2api?dtype=CD&type=KL&enabled={0/1}&name={NewLocationName}&lat={LocationLatitude}&lon={Locat i onLongitude}&radius={Radius}
enabled {0=No 1=Yes}
name {The name you want to give the new location} See note below
lat {Latitude in decimal degrees}
lon {Longitude in decimal degrees}
radius {Radius in whatever units you are using miles or kilometers}
Note:
If the passed name already exists in the collection of known locations, the new location name will be appended with " - YYYYMMDDhhmmss"
Paul..
- Likes 1
Leave a comment:
-
Paul, PHLocation2 no longer requires resetting/reauthorizing Apple devices every few months, correct?
Sent from my iPad using Tapatalk
Leave a comment:
-
Originally posted by sooty View PostQuick Update as I've been quiet on the updates front for a day or two.
Due to a fundamental design flaw on my partits taken rather longer than anticipated to fix the issue with triggers not working when the user device was within more than 1 known location (i.e. overlapping known locations).
I've been testing the fix here and it does now appear to be working as expected so I'll be sending it to Randy for further testing tomorrow and hopefully there will be an update for all soon after.
As users of both V1 and V2 will know, unlike V1, V2 does not have HS devices for the known locations and instead uses triggers and conditions. When making this change I had totally neglected to cater for the fact that a device could be within more than 1 known location at the same time.
There is a slight caveat with the next version in that the "Current Location" device cannot be used reliably to detect an "At Home" status as it will have an additional "Multiple Locations" status to reflect a user being in more than 1 known location.
Distance to home will still be reported in a device and of course the "Enters Location" trigger and "At Location" condition can be used in events.
Paul..
Cheers,
Mike
Leave a comment:
-
I was thinking of Known Locations but I will check out the Custom Fence option.
Leave a comment:
-
Originally posted by mitchmitchell1616 View PostPaul,
Will you provide an api/http interface to let another app (like tasker) define a new known location? I'd like to be able to create a tasker task I could trigger to add my current location as a known location to Phlocation2 so I could easily "mark" locations I visit frequently when I'm there. I could set this up on my wife's phone so she could do this as she travels for her business.
Thanks!
Mitch
Sent from my SM-N950U using Tapatalk
Leave a comment:
-
Originally posted by sooty View PostQuick Update as I've been quiet on the updates front for a day or two.
Due to a fundamental design flaw on my partits taken rather longer than anticipated to fix the issue with triggers not working when the user device was within more than 1 known location (i.e. overlapping known locations).
I've been testing the fix here and it does now appear to be working as expected so I'll be sending it to Randy for further testing tomorrow and hopefully there will be an update for all soon after.
As users of both V1 and V2 will know, unlike V1, V2 does not have HS devices for the known locations and instead uses triggers and conditions. When making this change I had totally neglected to cater for the fact that a device could be within more than 1 known location at the same time.
There is a slight caveat with the next version in that the "Current Location" device cannot be used reliably to detect an "At Home" status as it will have an additional "Multiple Locations" status to reflect a user being in more than 1 known location.
Distance to home will still be reported in a device and of course the "Enters Location" trigger and "At Location" condition can be used in events.
Paul..
Will you provide an api/http interface to let another app (like tasker) define a new known location? I'd like to be able to create a tasker task I could trigger to add my current location as a known location to Phlocation2 so I could easily "mark" locations I visit frequently when I'm there. I could set this up on my wife's phone so she could do this as she travels for her business.
Thanks!
Mitch
Sent from my SM-N950U using Tapatalk
Leave a comment:
-
Quick Update as I've been quiet on the updates front for a day or two.
Due to a fundamental design flaw on my partits taken rather longer than anticipated to fix the issue with triggers not working when the user device was within more than 1 known location (i.e. overlapping known locations).
I've been testing the fix here and it does now appear to be working as expected so I'll be sending it to Randy for further testing tomorrow and hopefully there will be an update for all soon after.
As users of both V1 and V2 will know, unlike V1, V2 does not have HS devices for the known locations and instead uses triggers and conditions. When making this change I had totally neglected to cater for the fact that a device could be within more than 1 known location at the same time.
There is a slight caveat with the next version in that the "Current Location" device cannot be used reliably to detect an "At Home" status as it will have an additional "Multiple Locations" status to reflect a user being in more than 1 known location.
Distance to home will still be reported in a device and of course the "Enters Location" trigger and "At Location" condition can be used in events.
Paul..
- Likes 1
Leave a comment:
Leave a comment: