Announcement

Collapse
No announcement yet.

PHLocation2 in HS4

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Jon
    replied
    hey guys, I'm sorry to revive an old thread, but i'm tryiing to get PHL2 set up from scratch after a major failure here. I was previously using PHL1. I have the plugin installed and i'm trying to configure phones for geofency. The test connections from the old setup on the phones is failing. I suspect there must be a different URL to use. I'm not seeing anything that says what to use for the URL in geofency. My geofency app is currently set up to use http://hs.domain.com:8085/phlgeofency. Does PHL2 use this same URL for the webhooks?

    Leave a comment:


  • lorenjz
    replied
    I've tried to get PHLocation2 to run on HS4 on Linux. Currently though I'm not sure that I did it correctly. The manual shows several options available from Plugins > PHLocation2 but the only option that I see is Configuration. Did I miss something?

    Leave a comment:


  • jmaddox
    replied
    You're on the right track. There is no native presence detection in HS4, and geofency cannot work directly with HS4 as no one has written a plug-in for it; other than PHLocation2. I'm assuming you want more than just detecting when you're home or not? You mention geofency which is compatible with PHlocation2 (and you're asking here). So I assume you have multiple fences.

    Download and install PHLocation2 (there are some hoops, sorry). There is a userguide here for setup: https://jphuddlestone.co.uk/phlocati...userguide.html

    PHlocation supports geofency; go to the appropriate section for the webhooks. Of note you'll need to get your device id from your HS log when you first test your connection. I suggest doing this test first so you have the id when you create the device; I just did this on my android after switching from iphone and ended up with 3 duplicate devices before I realized what was going on. When you do create the device, the id goes on the phlocation tab; this isn't immediately self evident so put in your id before you hit 'save'. PHlocation2 is a legacy app but works just fine on HS3 as well as HS4. Unfortunately the author is no longer available, we're all hoping it gets taken over as it's a very useful add-on.

    You'll end up with your Phones device; and any fences you enter/exit will automagically create child devices with 'inside/outside'. If you test all your current fences you'll fast track this process. You'll also have an overall 'inside/outside any fence' device. You'll be able to create events based on the fence status.

    Do not mess with an icloud device, it expires after 2 weeks and will just annoy you.

    Of note; I found that geofency worked just fine for my usage. Most old dogs will suggest a layered approach to presence detection. They suggest ibeacons, checking for wifi connection of your phone on your home network, etc.

    My wife's fences, to let you know what to expect: (I do not condone nor endorse fencing in your spouse)

    Click image for larger version

Name:	vanessa fences.PNG
Views:	615
Size:	87.9 KB
ID:	1427710

    Adding a new device, circled the phlocation tab where you add your device userid.

    Click image for larger version

Name:	user device.PNG
Views:	535
Size:	50.9 KB
ID:	1427711

    If you don't enter the id when you create the device. You wont see the device in the PHLocation user/device configuration; and you'll add it again wondering why it's not showing up in the list. The unused devices will gladly clutter up your HS device list however. if you forget and make a bunch of zombies it's fine to delete the unused devices.


    Leave a comment:


  • pcgirl65
    replied
    Can anybody explain how geofency works in HS4? I am trying to get presence detection working in HS. I had it working through webCore and smartthings and sending a http command to HS but since smartthings updated to their newest app things aren't working as well. I am looking for other options and this seems interesting. Can geofency work directly with HS?

    Leave a comment:


  • CoyoteRay
    replied
    Is PHLocation2 to work on a HS4 ZEE S2 running Linux?

    Thank you,
    Coyote Ray

    Leave a comment:


  • randy
    replied
    I’ll give it a try. Unfortunately my job has been so demanding, I have very little time for much else

    Leave a comment:


  • w.vuyk
    replied
    I can also confirm Steves note. Geofency started working over MyHS after I made a password correction. It is a near 100% reliable again.

    Wim

    Leave a comment:


  • SteveMSJ
    replied
    Originally posted by rprade View Post
    GeoFency will work with PHL under HS4, but will not post JSON through MyHS. I have tried throughout the beta and with release versions up until about a month ago. It has not worked with HS4 for me yet, which leaves me on HS3 and is why I have sort of shelved further testing since August. If it has been fixed, the devs have not stated, nor have they responded to any questions about why it isn't working with HS4, but continues to work with HS3. HS3 is working beautifully for me
    It is working for me although I did have some trouble at first.
    I have only been running HS4 production system since 4.1.6.0 due to a serious bug affecting thermostat plug-ins up to that point.

    When I converted over I couldn't get successful Geofency reporting to PHL2 through MyHS. I got time out messages in Geofency. My MyHS account was correctly linked to my HS4 installation and I could log onto my system through MyHS but couldn't get Geofency to post to PHL2. After a lot of messing around and testing I finally changed my MyHS password and it then started working and has been fine since. I did have a ^ special character in my original password which may have been the issue. MyHS won't let you create a password without some special characters but try sticking to 'less special' special characters😉 I also removed the check against 'No password required for local login' but I think that might have been to get Node Red to work rather than PHL2 so may or may not be necessary.

    Try changing your password and see if that helps. Of course you then have to go through all your fences changing the password as well as any other places that you access MyHS such as HSTouch🙁

    Steve

    Leave a comment:


  • randy
    replied
    Originally posted by rotunnoe View Post

    MNB - Just to be clear, If I'm reading this correctly, GeoFency will still work in PHLOCATION2 in HS4? Is that correct? If it is correct, do any modifications need to be made on my iPhone in the GeoFency app? When I last checked in last month, there was a problem with HS 4.1.3.0 and passing JSON commands through MyHS which prevented GeoFency from updating PHLocation2 devices. I was curious if that issue was repaired in the latest version of HS4 (4.1.6.0).
    GeoFency will work with PHL under HS4, but will not post JSON through MyHS. I have tried throughout the beta and with release versions up until about a month ago. It has not worked with HS4 for me yet, which leaves me on HS3 and is why I have sort of shelved further testing since August. If it has been fixed, the devs have not stated, nor have they responded to any questions about why it isn't working with HS4, but continues to work with HS3. HS3 is working beautifully for me

    Leave a comment:


  • CoyoteRay
    replied
    Will the current PHLocation2 work on my HS4 ZEE S2? The file is a exe and the HS4 ZEE S2 runs Linux.

    Got Geofency to work and am eager to try out PHLocation2, when it is official.

    Thank you,
    Coyote Ray

    Leave a comment:


  • rotunnoe
    replied
    Bump

    Leave a comment:


  • rotunnoe
    replied
    Originally posted by I did see that for iPhone users the only replacement for the now defunked PHLOCATION2 - iCloud Services is the [B
    Followmee[/B] App, the down side is that it now costs with yearly fees for both the basic and API services. Which potentially means that we will have two apps running on the iPhone; Followmee as the iCloud replacement and GeoFency, must be the price of technology I guess!
    MNB - Just to be clear, If I'm reading this correctly, GeoFency will still work in PHLOCATION2 in HS4? Is that correct? If it is correct, do any modifications need to be made on my iPhone in the GeoFency app? When I last checked in last month, there was a problem with HS 4.1.3.0 and passing JSON commands through MyHS which prevented GeoFency from updating PHLocation2 devices. I was curious if that issue was repaired in the latest version of HS4 (4.1.6.0).

    Leave a comment:


  • MNB
    replied
    Randy, slow question I take it that iCloud Services are not working, I noticed that when I do a 2FA Controls code, it submits the request to the iPhone as I get a code but within the PHLocation2 I get an error message first "Request Failed. Check Log for details." when I enter the proper code from iPhone I get "Click Request Code first!" even though PHLocation2 made the proper request is there a work around? Mike

    Side Note: Have you made the total transition to HS4 and if so what HS3 capabilities did you lose if any?

    UPDATE:

    Well after scanning through the many PHLocation2 threads within this plugin topic I believe the short answer is... For iPhone users you must delete both iCloud Services and Devices since PHLocation2 in its current state can no longer supported it.

    From the many responses, I believe that the corresponding PHLocation2 S/W code is still MIA and there is no software Developer in the wings to pick it, Randy can you confirm this?

    I did see that for iPhone users the only replacement for the now defunked PHLOCATION2 - iCloud Services is the Followmee App, the down side is that it now costs with yearly fees for both the basic and API services. Which potentially means that we will have two apps running on the iPhone; Followmee as the iCloud replacement and GeoFency, must be the price of technology I guess!

    Leave a comment:


  • rotunnoe
    replied
    ok thank you

    Leave a comment:


  • jmaddox
    replied
    Originally posted by rotunnoe View Post
    I'm just curious if PHLocation2 does indeed fully work with HS4. Specifically with GeoFency. I know when i tried the HS4 beta a few months ago it wasn't working.
    There is currently a problem with 4.1.3.0 and passing JSON commands through MyHS which prevents GeoFency from updating PHLocation2 devices. My understanding is that if you set up a VPN it works.

    Leave a comment:

Working...
X