Announcement

Collapse
No announcement yet.

PHLocation V2 Discussion

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

  • 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:


  • rprade
    replied
    Originally posted by MNB View Post
    Thanxs Randy for the clarification. The reason I was asking is after review MikeSnook's PHL2 event in post #254 it appeared that he was using GF as iCloud users? Mike
    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"

    Leave a comment:


  • Spudjr
    replied
    What is a recommended polling time for an Icloud account. Is there a daily limit. Is bandwidth a concern. Thanks

    Leave a comment:


  • racerfern
    replied
    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.
    Click image for larger version  Name:	Screen Shot 01-18-19 at 02.47 PM.PNG Views:	1 Size:	424.1 KB ID:	1277184

    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.
    Click image for larger version  Name:	Screen Shot 01-18-19 at 02.46 PM.PNG Views:	1 Size:	466.9 KB ID:	1277185
    Lastly, here's the crumb trail from PHL1 without any events, just using the Map Viewer. This was probably a 5 minute polling rate.
    Click image for larger version  Name:	Screen Shot 01-18-19 at 02.37 PM.PNG Views:	1 Size:	452.8 KB ID:	1277186

    Leave a comment:


  • MNB
    replied
    Thanxs Randy for the clarification. The reason I was asking is after review MikeSnook's PHL2 event in post #254 it appeared that he was using GF as iCloud users? Mike

    UPDATE:
    [QUOTE=mikesnook;n1276982][/QUOTE}

    Leave a comment:


  • rprade
    replied
    Originally posted by MNB View Post
    Paul, dumb question I noticed that when I use the PHLocation2 Trigger command within a event that when I select "a User" that I only get my iPhone iCloud Device and not my GeoFency Device am I missing something? Mike
    GeoFency and iCloud are unrelated. ICloud devices have users. GeoFency uses HS Devices.

    Click image for larger version  Name:	Capture1.PNG Views:	1 Size:	18.5 KB ID:	1277173

    Leave a comment:


  • MNB
    replied
    Paul, dumb question I noticed that when I use the PHLocation2 Trigger command within a event that when I select "a User" that I only get my iPhone iCloud Device and not my GeoFency Device am I missing something? Mike

    Leave a comment:


  • mikesnook
    replied
    Originally posted by sooty View Post

    Just had a look through the code and there is an issue with triggering events when known locations overlap.

    I'm working on a fix now.

    Paul..
    Great thanks Paul.

    Leave a comment:


  • MNB
    replied
    Thanxs Randy. I'm thinking my problem is related to my older PHL1 events (updated to PHL2) about using EasyTrigger command "This device's value was and becomes" with "Outside" as was and "Inside" as becomes to, instead of the HS3 "Changes and Becomes" command to avoid the retriggering of the event every time there is a polling occurrence.

    The tolerances I was referencing are related to using events for triggering using the iPhone values instead of GF if I can't fix hunting condition (work around). mike

    Leave a comment:


  • rprade
    replied
    Originally posted by MNB View Post
    Randy, I noticed that my three GF which are set at;
    1. 100m = 328' - Home Boundary
    2. 200m= 656' - Inner Boundary
    3. 3200m= 2 mile - Outer Boundary
    from my home Lat/Log seem to be triggering randomly with GF 1 and 2 both moving from Inside to Outside to Inside several time within the day and GF 3 moving the same but at a lesser frequently when polled. Is there something I need to do in order to dampen this false alarms? However my iBeacons seem to be working great.

    I'm wondering if maybe I should only use my iPhone Virtual Devices such as "iCloud Device SL Dist to Home" or "PHL NearestLocation" instead some tolerance for moving values e.g. 0.02-0.05?
    I don't know what to suggest. It would seem that the GPS on your phone hunts for location. Since all methods rely on the same GPS, I don't know what would work. I use a 100 meter ring and a 1700 meter outer ring and both of them are predictable and reliable. Pull up a history report and see if the accuracy is drifting. mine is always around 10 meters. On the rare occasions the accuracy is lower, GeoFency never reports a fence exit

    You may need to condition the reporting by only reporting inside and outside a fence when it is true for more than x minutes. This would reject short duration changes.

    I also don't know what you mean by "moving values e.g. 0.02-0.05". If you are referring to the "minimum distance to move" those tolerances are much too tight. That translates to 100-264 feet. I recommend .1 as a minimum and .2 as optimal. That setting has no affect on GeoFency as the radius is set in the app. GeoFency offers a minimum of 100 meters (328 feet).

    Leave a comment:

Working...
X