Announcement

Collapse
No announcement yet.

PHLocation V2 Discussion

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

  • mda
    replied
    Originally posted by rprade View Post
    Paul is aware of the 2FA expiration issue and is trying to fix it. It was all good until Apple changed something. He does not have a fix at this time but is endeavoring to find one.
    rprade sooty Curious if you think you are close to a solve for the 2FA expiration issue? I am holding off rolling our PHLocation2 pending this so just checking on timing. Thanks for all you do!

    Leave a comment:


  • goldriver
    replied
    help with PNG images

    Until yesterday, for all my icloud users I had PNG images that were created for current location of all users.

    Suddenly tody for no apperent reasons the PNG files are not created anymore.

    The only thing I did, all users stop updating for no apparent reaons so I had to reset the polling interval and did s manual poll wich restarted all updates except the png files.

    using 3.0.0.63

    thanks for any help

    Last edited by goldriver; March 13th, 2019, 12:59 PM. Reason: edited 03-13, I have fix my issue by loging in my google account and regenerated an API key that I have updated in the plugin and this fixed the problem.

    Leave a comment:


  • woodyc79
    replied
    GREAT Paul - Now with version2 the whole iCloud thing seem to work again!! Hopefully it stays like that.
    Finally donation time has come ;-D

    One questions: will the device to device approximation (where i could setup a connection between 2 devices and also trigger it) also come to version2?

    Thank you!

    Leave a comment:


  • MNB
    replied
    Steve, confirmed that my CurrentLocation device only puts a string value out with known location names once that location radius has been broached other wise the string field is blank and the status displays the value; Home, Multiple Location, or None. Based on this I need to adjust my events to cover, also I noticed that my increased polling (1 minute) needs to be looked at I've gotten situations that it was left at 15 minutes which means that none of my iCloud devices reflect reality until 15 minutes later... Mike

    Update: re polling, I changed my events to primarily use more GeoFency (GF) instead of iCloud devices.. Looking back at an earlier post from Randy he also intimated that he was using GF within his events as they were fast. I also used the 5 sec recurring trigger for my Home Arrived and Depart events rather than relying on a iCloud condition only, Thanxs Randy. Mike

    Leave a comment:


  • MNB
    replied
    Thanxs Steve, I will have to look at my CurrentLocation whilst not at home to view what your indicating, I noticed that I do get "None" being TTS and/or logged (like when I leave home) so I will need to adjust my event to exclude "None". I have to say I'm learning a lot more about Virtual Devices and their capabilities.. Mike

    Leave a comment:


  • slbuck
    replied
    The current location device will not have anything in the string value if it has a value of 0 ("Home"), -1 ("None"), or -2 ("Multiple Locations"). When the value is 1-9999999, then the string value is updated to reflect the name of the known location that matches the current value. For example, if the value of the current location is 2 and you have a known location of "Starbucks near home" that has an ID of 2, then the string value of the current location device will contain "Starbucks near home". When you enter the home location, the string value goes to blank and the value changes to 0.

    For me, this works ok since I'm using $$DSR to announce when I'm entering or leaving a known location as long as it's not home. I'm using another event to announce when I'm home. I got lucky with my event since it would not work correctly with the string being empty when entering the home location. I think if you update your event as I did, so that when you enter or exit a known location, as long as it's not home, then you should be able to use the $$DSR (again, not sure why this works since the status value is technically just 1-999999). Then, when entering or exiting the home location, you could do something else with a separate event.

    Leave a comment:


  • MNB
    replied
    Ok guys, I'm confused..... when I look at that PHL CurrentLocation device advance tab I only see "Status" and "Value" being populated with "String" remaining blank (see attached I), if I look at PHL NearestLocation that device has "Status", "Value" and "String" populated (see attached II) along with some of the other devices e.g. PHL Driving Time ect. So using the DTR:XX: for CurrentLocation produces nothing since the "String" field is not being populated where as the other Virtual Devices are, so only DSR:XX: will work with the PHL CurrentLocation, newly created VD; CurrentLocation Temp and PreviousLocation as they are being copied from PHL CurrentLocation will never have their "String" field populated, am I missing something? Mike (sorry for the rambling)
    Attached Files

    Leave a comment:


  • slbuck
    replied
    Mike,

    Since I'm only using my previous location virtual device to announce when I'm entering or leaving known locations other than home, I didn't have to worry about using DTR. For me, DSR just worked and HS3 would announce the location that was in the string value. Honestly, looking at what Randy put about DTR, I'm not even sure how this is working since the status value would simply be 1,2,3, etc. to indicate the index of the known location. The string value would contain the actual text of the known location. I've used the DSR reference from the beginning and it's just worked for me, but again, I wasn't using this event when entering the Home location since I had a separate event to handle arrival to home.

    Leave a comment:


  • MNB
    replied
    Thanxs Randy, I told you I was being "thick as a brick" (JT) I was looking at the forest (VD) and didn't see the trees (DTR vs DSR). That did the trick, Mike

    Leave a comment:


  • rprade
    replied
    Originally posted by MNB View Post
    Steve, thanxs for the comeback, I'm being a little thick.. I'm not sure what your implying? When I look at the either the Paul's Current location devices (1st graphic) and my Current Location2 (2nd graphic) both do not have any string value populated, what am I missing? MikeI
    $$DSR:1234: is the Status of the device which would be "Home". $$DTR;1234: would be the String.

    Leave a comment:


  • MNB
    replied
    Steve, thanxs for the comeback, I'm being a little thick.. I'm not sure what your implying? When I look at the either the Paul's Current location devices (1st graphic) and my Current Location2 (2nd graphic) both do not have any string value populated, what am I missing? MikeI

    As far as announcing where you just departed, you have to use the status value instead of the value. The status(string) value is where Paul writes the name of the known location.
    Attached Files

    Leave a comment:


  • slbuck
    replied
    Just got back into town the other day. I've added the additional current location temp virtual device, per Randy's suggestion. I also marked it hidden in views and mobile views. When entering any known location, I copy the current location to the current location temp virtual device using the script commands. Then when leaving any known location, I copy the current location temp virtual device to the previous location virtual device.

    I haven't had a chance to play with this to see if my other event works correctly which announce when I just left and how far away from home I am. I may have to add the script commands to each event that I have for leaving any known location (except home and the vortext), leaving home, and leaving the vortex. It will depend upon how fast the previous location is updated and before my departed event fires.

    As far as announcing where you just departed, you have to use the status value instead of the value. The status(string) value is where Paul writes the name of the known location. In my case, my previous location ref ID is 2826. When leaving a known location, I speak this: "Steve just left $$DSR:2826:. He's about $$DSR:2713: away." The 2713 ref ID is for my drive time home device.

    Click image for larger version

Name:	phlocation2-event-update-current-location-previous-location-script.PNG
Views:	1
Size:	82.7 KB
ID:	1289695

    Leave a comment:


  • MNB
    replied
    Steve, noticed you've been quite of late... have you per chance been updating your #528 events? I'm just about working with exception of Known Location - Departed, based on Randy's advise for Current and Previous virtual devices everything works with one exception and am troubleshooting. I noticed that my Virtual devices work but unless the value = Home there is a numeric value for one of the known locations which makes my announcement
    Code:
    Speak: ($SONOS$Office$:*):Mike has just departed from Value
    announce Value rather than the actual location. I noticed you avoided this my only announcing distance from home was this deliberate? Mike

    Leave a comment:


  • philiphill
    replied
    I started to get the following errors as was wondering if anyone else was and what was the cause?
    (GetWebFile) Error: System.Net.WebException: The remote server returned an error: (403) Forbidden. at System.Net.WebClient.DownloadFile(Uri address, String fileName) at System.Net.WebClient.DownloadFile(String address, String fileName) at j.a(String A_0, String A_1)
    Mar-01 8:48:43 PM PHLocation2 Error (BuildStaticMapImageG) Error in GetWebFile

    Leave a comment:


  • jyrki69
    replied
    Seems to be working again as of late last night, without me changing anything. Maybe Life 360 had some issues. Little strange, because the web solution of Life 360 and Life 360 app worked fine. I don't know how this is integrated in PHLocation2.

    Leave a comment:

Working...
X