Announcement

Collapse
No announcement yet.

PHLocation V2 Discussion

Collapse
This is a sticky topic.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • sooty
    started a topic PHLocation V2 Discussion

    PHLocation V2 Discussion

    As a result of various personal circumstances, the release of PHLocation V2 has been delayed far longer than I would have liked

    As the majority of recently reported issues with the plug-in appear to be related to Google API's, I have decided to make V2 available here as it should resolve most of those issues.

    Although there are still some things to do before V2 can be considered a "release", for the most part it is functional and will allow users to use different API's which should solve (or at least reduce) the issues with failed reverse geocode lookups etc.

    The big issue with making it available now (and the main reason V2 has not been released yet) is that I have not completed the user guide.
    On the surface it has some similarities to V1, but underneath it is 95% new.

    The main differences are:
    Multiple API's can be specified for things like reverse geocode and distance lookups. Some require API keys and some are free to use.
    Known places are now a single list shared between all position based users.
    Life360 is supported as a location provider.

    V2 is a complete new install (there is no upgrade from V1).
    Any HS3 events will need modifying to use V2 devices
    It can coexist on the same HS3 system as V1 and they can both be running at the same time.
    If you are pushing data into the plug-in over the MyHS service, then the url's on any mobile devices will need changing from ..../phlapi to ..../phl2api
    There is no built-in http server in V2. MyHS or posting directly to your HS3 machine are the only supported means of pushing data to the plug-in.


    I'll sit back and await the inevitable barrage of support requests....
    Only joking, fire away if there's something that you don't understand or something doesn't work.

    Randy Prade has been running V2 for a while and has agreed to help with any support requests.

    The plug-in can be downloaded in the PHLocation2 Release Notes thread


    Paul..

  • CeeTee
    replied
    Originally posted by sparkman View Post

    You’ll likely need to reauthenticate every month. Set a schedule so that you can do it proactively, as Murphy’s law says that it will happen at an inopportune time if you don’t.
    Thanks, I'll set up a reminder.

    Leave a comment:


  • sparkman
    replied
    Originally posted by CeeTee View Post
    Was having issues under PHL1 with Apple sending me the "account access" message every hour so I came here and discovered PHL2. I installed it and had some trouble getting the 2FA working but discovered that if I just kept trying over and over again, sometimes re-loading the page I finally got the "verify" button , go the code and was good to go. For my wife's account, got the "verify" button right away but had to keep trying the code...about 20 times until I finally got verification.

    Pleased to report that all seems to be working properly...and no more "account access" messages from Apple.

    Will start playing the maps and geofences next.
    Cheers! ...and thanks Paul ...donation on its way.
    You’ll likely need to reauthenticate every month. Set a schedule so that you can do it proactively, as Murphy’s law says that it will happen at an inopportune time if you don’t.

    Leave a comment:


  • CeeTee
    replied
    Was having issues under PHL1 with Apple sending me the "account access" message every hour so I came here and discovered PHL2. I installed it and had some trouble getting the 2FA working but discovered that if I just kept trying over and over again, sometimes re-loading the page I finally got the "verify" button , go the code and was good to go. For my wife's account, got the "verify" button right away but had to keep trying the code...about 20 times until I finally got verification.

    Pleased to report that all seems to be working properly...and no more "account access" messages from Apple.

    Will start playing the maps and geofences next.
    Cheers! ...and thanks Paul ...donation on its way.

    Leave a comment:


  • Moskus
    replied
    Wow, didn't realise that phLocation2 was in the works. I absolutely LOVE the Life360 integration, and it's much more stable than the other android apps I've tried!

    However, I've already made some locations in LIfe360, and I was hoping to import them rather than having to recreate them in phLocation2. The app has syncronized multiple times, but there's still no button showing up on my Life360 account root device (under properties, of course).

    Am I missing something?

    Leave a comment:


  • slbuck
    replied
    sooty

    I'm seeing an issue when leaving my home area. I've noticed that after just one or two location updates (I have Backitude sending updates every 30 seconds with a minimum distance to move set to .08 miles), my Home Direction will change from Stopped to Approaching. My path leaving home winds back around through the neighborhood so I'm sure that between the first and second location update that my distance may get closer to Home. The issue is that I thought there is supposed to be at least 3 location updates before the direction is updated from Stopped to either approaching or leaving. It's almost like the plugin is remembering the last updates from the previous day and sn't being reset to 0 when the direction changes to stopped after I've been home for some time.

    Here are my config file values:

    HomeLocDirTimeOut=5
    HomeLocDirCount=3
    HomeLocDirBuff=128

    Leave a comment:


  • jayman13
    replied
    This may have been answered before but I cannot find it. Is there a way to have the map viewer trace a route as opposed to spot collections of locations? It would be much better if it just followed the road rate in the numerical order. This may be too difficult to accomplish however?

    Leave a comment:


  • randman
    replied
    Some questions regarding PHLocation. First some background - I'm a longtime user and fan of PHLocation V1. I use it with Geofency to trigger events when an iPhone goes in and out of specified fence areas. I also have iBeacons in my home and cars so Geofency can tell if we're at home or in the car. So far, I've only used Geofency with PHLocation. I haven't had a need (yet) for HomeSeer to know our actual locations. When I need to know someone's location, I can use the iPhone's "Find Friends" app. But, I haven't had a use-case for sending location-specific (e.g. latitude/longitude) information to HomeSeer. Having said that, some questions:

    1. Other than "keeping up to date" for future fixes/enhancements, if Geofency is all I need for now, any benefits to upgrade from PHLocation V1 to V2?

    2. Is the interface between PHLocation V2 and Apple location information based on official Apple APIs?

    3. If I don't need location-specific information (latitude/longitude), is Geofency still the best way for Geofence use, or can built-in Apple functionality provide Geofence info to PHLocation so as not to need Geofency?

    Regards.

    Leave a comment:


  • Tomgru
    replied
    Figured it out..for some reason they werent selected in device type dropdown. Funny, I never use that filter on the device manger page.

    Sent from my SM-T813 using Tapatalk

    Leave a comment:


  • Tomgru
    replied
    I see this under user/devices. one enabled/one not?
    Click image for larger version

Name:	Capture.PNG
Views:	31
Size:	64.0 KB
ID:	1301333

    Leave a comment:


  • Tomgru
    replied
    Think I got this setup correctly with Egizone… it even saw my first zone (home).

    but no devices are showing up in device manager. this is what the log looks like:
    Apr-26 8:15:05 AM PHLocation2 (BuildDeviceLists) Device list rebuild complete.
    Apr-26 8:15:05 AM PHLocation2 (BuildDeviceLists) No external devices to monitor, disabling monitoring.
    Apr-26 8:15:05 AM PHLocation2 (BuildDeviceLists) Found a total of 2 root and 1 child devices.
    Apr-26 8:15:05 AM PHLocation2 (BuildDeviceLists) Added Egi Fence root device 1324 : EgiGeoZone Fence to known F list.
    Apr-26 8:15:05 AM PHLocation2 Error (BuildDeviceLists) Error: DeviceID EDO is nothing for EgiFence Ref:1323
    Apr-26 8:15:05 AM PHLocation2 (BuildDeviceLists) Rebuilding device lists following a config change.
    Apr-26 8:15:05 AM PHLocation2 (AddRebuildChildDevices) Created 1 child devices for EgiGeoZone FenceRef:1324

    Leave a comment:


  • MNB
    replied
    We based on others indicating that the 2FA is working (limited to a month) I tried to re enable my icloud service and requested a new 2FA code but received the following error and idea what's happening and what to do? Mike
    Apr-25 7:41:31 PM PHLocation2 Error (idmsaAuthenticate) Missing result data for Ref:70

    Leave a comment:


  • MattL0
    replied
    rprade Thanks

    Leave a comment:


  • rprade
    replied
    No word from Paul regarding 2FA yet. It is working again as of a week or two ago, but it still expires after a month or so.

    Leave a comment:


  • MNB
    replied
    Is there any status on the 2FA for iCloud solution? I noticed that the thread seemed to be quite for the past week or so. Mike

    Leave a comment:

Working...
X