Announcement

Collapse
No announcement yet.

PHLocation V2 Discussion

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

  • MNB
    replied
    Originally posted by rprade View Post
    My new iPhone doesn't false trigger even at 100 meters. I honestly do not see any reason the fence needs to be that tight. the iOS devices can also be adjusted in terms of minimum distance to move and the Known Locations by virtue of their radius.

    It is all a matter of tuning your system to match the stability and accuracy of your GPS equipped devices.
    I think one mistake people make is trying to get the radius of fences and the minimum distance to move too tight.
    Randy, whilst looking through earlier posts I happen upon this conversation above in conjunction with your most recent post (below) I noticed that my PHL tab for my iPhone, "Maximum Accuracy" was set to 2000 Meters with a "minimum Distance to Move" set to 0.1 mile (I'm assuming that that default). So my question is what should we set our min and max values to eliminate bad reports?

    Originally posted by rprade View Post

    That means it has lost GPS. You can stop those errors from reporting by reducing the Maximum Accuracy on the PHL tab of the root for that user. I use 100 meters to eliminate bad reports. I watched mine and GPS accuracy is always within 10-30 meters and any accuracy greater than 100 meters is usually 1414 meters and is a bad fix. 1414 is usually a network fix and 1414 is an arbitrary number Apple uses.

    Leave a comment:


  • sooty
    replied
    Originally posted by Malosa View Post
    Hi,

    i don't know if this has something to do with the plugin but everytime when it updates every 10 minutes it does change from home to an other location and then back.
    but the strange thing its always 1400 meter and it writes it down in history... i really dont know why, when it updates again after it it goes normal.

    // im using an iphone*

    2019-01-19 15:39:23 50.******** 6******* 65 m Ka, Ke, ***XN NL Details
    2019-01-19 15:39:18 50.******** 6******* 1414 m 61 Kwi, Ke, ***XG NL Details
    2019-01-19 10:29:11 50.******** 6******* 65 m Ka, Ke, ***XN NL Details
    2019-01-19 10:29:06 50.******** 6******* 1414 m 61 Kwi, Ke, ***XG NL Details
    2019-01-19 09:59:10 50.******** 6******* 65 m Ka, Ke, ***XN NL Details
    2019-01-19 09:59:05 50.******** 6******* 1414 m 61 Kwi, Ke, ***XG NL Details
    2019-01-19 08:39:08 50.******** 6******* 65 m Ka, Ke, ***XN NL Details


    Regards
    There are a lot of changes in V2 WRT iCloud.

    I won't try to explain the whole boring procedure of polling an iCloud account here but when an account is polled it returns data for all devices on that account. If any device has incomplete data, the plug-in will not process any location updates and will re poll the account after 5 seconds. This continues for up to 6 times before it aborts the poll and waits for the next interval.

    There are some situations where it will let updates through even if something is incomplete and this may be the cause of your issue.

    I'll check the code later this evening but what appears to be happening in your case is that it is letting the low accuracy update through then re-polling and letting another high accuracy update through.
    2019-01-19 10:29:11 50.******** 6******* 65 m Ka, Ke, ***XN NL Details
    2019-01-19 10:29:06 50.******** 6******* 1414 m 61 Kwi, Ke, ***XG NL Details
    If you put both of the actual coordinates from these 2 entries into Google maps, what is the distance between them?
    What setting do you have on the Root User device in "Minimum distance to move" ?

    Paul..

    Leave a comment:


  • rprade
    replied
    Originally posted by Malosa View Post
    Hi,

    i don't know if this has something to do with the plugin but everytime when it updates every 10 minutes it does change from home to an other location and then back.
    but the strange thing its always 1400 meter and it writes it down in history... i really dont know why, when it updates again after it it goes normal.

    // im using an iphone*

    2019-01-19 15:39:23 50.******** 6******* 65 m Ka, Ke, ***XN NL Details
    2019-01-19 15:39:18 50.******** 6******* 1414 m 61 Kwi, Ke, ***XG NL Details
    2019-01-19 10:29:11 50.******** 6******* 65 m Ka, Ke, ***XN NL Details
    2019-01-19 10:29:06 50.******** 6******* 1414 m 61 Kwi, Ke, ***XG NL Details
    2019-01-19 09:59:10 50.******** 6******* 65 m Ka, Ke, ***XN NL Details
    2019-01-19 09:59:05 50.******** 6******* 1414 m 61 Kwi, Ke, ***XG NL Details
    2019-01-19 08:39:08 50.******** 6******* 65 m Ka, Ke, ***XN NL Details


    Regards
    Paul thinks the double reporting at each poll shouldn't be getting through. He will be looking into it.

    Leave a comment:


  • rprade
    replied
    Originally posted by Malosa View Post
    Hi,

    i don't know if this has something to do with the plugin but everytime when it updates every 10 minutes it does change from home to an other location and then back.
    but the strange thing its always 1400 meter and it writes it down in history... i really dont know why, when it updates again after it it goes normal.

    // im using an iphone*
    2019-01-19 15:39:23 50.******** 6******* 65 m Ka, Ke, ***XN NL Details
    2019-01-19 15:39:18 50.******** 6******* 1414 m 61 Kwi, Ke, ***XG NL Details
    2019-01-19 10:29:11 50.******** 6******* 65 m Ka, Ke, ***XN NL Details
    2019-01-19 10:29:06 50.******** 6******* 1414 m 61 Kwi, Ke, ***XG NL Details
    2019-01-19 09:59:10 50.******** 6******* 65 m Ka, Ke, ***XN NL Details
    2019-01-19 09:59:05 50.******** 6******* 1414 m 61 Kwi, Ke, ***XG NL Details
    2019-01-19 08:39:08 50.******** 6******* 65 m Ka, Ke, ***XN NL Details
    Regards
    That is the phone. If you look at the fix type it is sending (click on “Details” on that line) you will see “Network”. That means it has lost GPS. You can stop those errors from reporting by reducing the Maximum Accuracy on the PHL tab of the root for that user. I use 100 meters to eliminate bad reports. I watched mine and GPS accuracy is always within 10-30 meters and any accuracy greater than 100 meters is usually 1414 meters and is a bad fix. 1414 is usually a network fix and 1414 is an arbitrary number Apple uses.

    I don’t understand why you are getting two reports at each poll.

    Leave a comment:


  • rprade
    replied
    Originally posted by sparkman View Post

    I see post 254 as Mike's as well. It's this one: https://forums.homeseer.com/forum/te...82#post1276982 and he's using Tasker, not Geofency.
    That is interesting and I will have to be careful from now on. That shows as #257 for me. I am a moderator on this forum, so three deleted posts are shown to me, incrementing my post numbering. This means I can no longer refer to post numbers without first checking if any posts were deleted and the same will apply when I look for a post number that someone else references. Users have deleted three of their own posts in this thread.

    Posts are not deleted, they are “soft deleted”. Moderators can view or restore a soft deleted post.

    Leave a comment:


  • Malosa
    replied
    Hi,

    i don't know if this has something to do with the plugin but everytime when it updates every 10 minutes it does change from home to an other location and then back.
    but the strange thing its always 1400 meter and it writes it down in history... i really dont know why, when it updates again after it it goes normal.

    // im using an iphone*

    2019-01-19 15:39:23 50.******** 6******* 65 m Ka, Ke, ***XN NL Details
    2019-01-19 15:39:18 50.******** 6******* 1414 m 61 Kwi, Ke, ***XG NL Details
    2019-01-19 10:29:11 50.******** 6******* 65 m Ka, Ke, ***XN NL Details
    2019-01-19 10:29:06 50.******** 6******* 1414 m 61 Kwi, Ke, ***XG NL Details
    2019-01-19 09:59:10 50.******** 6******* 65 m Ka, Ke, ***XN NL Details
    2019-01-19 09:59:05 50.******** 6******* 1414 m 61 Kwi, Ke, ***XG NL Details
    2019-01-19 08:39:08 50.******** 6******* 65 m Ka, Ke, ***XN NL Details


    Regards

    Leave a comment:


  • slbuck
    replied
    Originally posted by MNB View Post
    Stephen, looking at your event you have a phone field "Phone Home Direction" and "Drive Time to Home" are these a iPhone field or other phone type or something else?
    I created a backitude user and renamed it "Steve phone". The home direction device is what Paul added in the latest release. I had to rebuild child devices to get it.

    Leave a comment:


  • racerfern
    replied
    Doh! I was expecting to have to dig deep somewhere. Sorry!

    Anyways, one phone has over 40 positions, but no map shows and the other one has only 5 positions which all show. I'll double check to make sure all the settings are identical and see what happens. STRANGE!

    Leave a comment:


  • rprade
    replied
    Originally posted by racerfern View Post
    rprade

    I found a db3 file called phlocation2.db3 but not readable. Where am I looking for a history database please?

    You get lunch, you don't make lunch?
    I get lunch when SWMBO asks for it

    The history viewer is on the dropdown from PHL2.

    Click image for larger version  Name:	Capture.PNG Views:	1 Size:	88.4 KB ID:	1277232

    Then select the user, end date, end time and duration.

    Click image for larger version  Name:	Capture1.PNG Views:	1 Size:	35.0 KB ID:	1277233

    Leave a comment:


  • racerfern
    replied
    rprade
    The history map is generated form the database. That will be determined by the minimum distance to move setting as well as the polling rate. What does your DB history look like?
    I found a db3 file called phlocation2.db3 but not readable. Where am I looking for a history database please?

    You get lunch, you don't make lunch?

    Leave a comment:


  • jayman13
    replied
    Forget my rambling post. I figured it out. I apologize.

    Leave a comment:


  • jayman13
    replied
    I have a monitored position device using my cars latitude and longitude. It seems to be working fine regarding location and distance and all the other sub devices that are produced. However, should there be a location device under my monitored position device as there are under Geofency? For instance, when I get home under geofency the home device is inside. However, when I get home with my car there is no corresponding home device. Does that make sense? What I am looking for is the redundancy that was there with V1. Shouldn't it be the if Geofency becomes inside home or the car becomes inside home that a global home location device would be inside?

    Leave a comment:


  • rprade
    replied
    Originally posted by racerfern View Post
    rprade I'm still only seeing the current point as opposed to a series of points. When I was at my office, it just showed me at the office. Now that I'm home it just shows me at home.

    With a simple event I do get a bread crumb trail but unsure why there are so few points. I have BK set at 15 minutes. I assure you it takes longer than 15 minutes to go anywhere in this area. This is a map from a few days ago just before I disabled and removed PHL1.
    The history map is generated form the database. That will be determined by the minimum distance to move setting as well as the polling rate. What does your DB history look like?

    I've been home all day with only a short trip to get lunch for my wife. I have 18 points in the database and a map showing 19 points. There is always one extra point in the history map, because it looks at the last location previous to the time period as the starting point.

    Here is my history

    Click image for larger version  Name:	Capture.PNG Views:	1 Size:	85.1 KB ID:	1277200

    Here is my map


    Click image for larger version  Name:	Capture2.jpg Views:	1 Size:	206.3 KB ID:	1277201

    Yesterday I drove twice to a place about 8 miles away and there were 133 points

    Click image for larger version  Name:	Capture2.jpg Views:	1 Size:	279.8 KB ID:	1277202

    Leave a comment:


  • rprade
    replied
    Originally posted by Spudjr View Post
    What is a recommended polling time for an Icloud account. Is there a daily limit. Is bandwidth a concern. Thanks
    There are no limits. There are no bandwidth concerns. It may use some of your plan's data, but I would think it is a vary small amount. Every time iCloud is polled, it reaches out to all devices on that account and queries their location. When your phone is queried, it does impact battery life. 1 minute polling on my old iPhone 6 would kill the battery within 12 hours. My new phone hardly feels it. Polling as frequently as a minute will give you near real time updates. That is the fastest PHL2 can poll the account. You just need to make your decision balancing battery life and the need for position updates. We poll ours at 1 minute intervals when we are moving, not at a known location and within 25 miles of home. At known locations, we reduce it. When we are beyond 25 miles from home we reduce it. When the batteries are below 60% we reduce it.

    Leave a comment:


  • sparkman
    replied
    Originally posted by rprade View Post
    I'm confused. Post #254 was from Fernando, so I cannot see the Event to which you are referring. Regardless, GeoFency does not have a service account, nor is it at all related to iCloud, so it doesn't have "users"
    I see post 254 as Mike's as well. It's this one: https://forums.homeseer.com/forum/te...82#post1276982 and he's using Tasker, not Geofency.

    Leave a comment:

Working...
X