Announcement

Collapse
No announcement yet.

PHLocation V1 Plug-In [No Longer in Development - See PHLocation2]

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

    Originally posted by rprade View Post
    Someone posted a link to the backitude apk file, but I cannot find it. A Google search turned up several links to download 5.3. I don't know how legitimate the links are.

    You saved me with that. Just Googling for "Backitude" didn't get anything but when I did it as Backitude 5.3.1, I found the APK on a website. It is clean according to my phone's virus scan.

    I'm back in service. Thanks!

    Comment


      While you are in there, can you add find my iPhone support with the cloud? And, is there a limit to iCloud accounts? I have 5 accounts with my family... Thanks,

      Comment


        Originally posted by rileydogmi View Post
        While you are in there, can you add find my iPhone support with the cloud? And, is there a limit to iCloud accounts? I have 5 accounts with my family... Thanks,
        I'm sure Paul will ask what you mean by this. In essence PHLocation uses "find my iPhone" in order to populate the iOS device for location.

        I don't think 5 iCloud accounts would be a problem, but Paul will have to answer that. I have 2.
        HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

        Comment


          I would love to be able to initiate the find my iPhone sound via the plugin... I believe once you have access that can be done. My wife is constantly looking for her phone - would be great to have that as a button on my HS Touch to play the sound. A text/call won't work if she has it on mute, find my iPhone is the only service that I know that will actually make a noise.

          Comment


            Originally posted by rileydogmi View Post
            I would love to be able to initiate the find my iPhone sound via the plugin... I believe once you have access that can be done. My wife is constantly looking for her phone - would be great to have that as a button on my HS Touch to play the sound. A text/call won't work if she has it on mute, find my iPhone is the only service that I know that will actually make a noise.
            Sorry, I wasn't thinking about having the phone play a sound, I was just thinking about the map. My bad!
            HS4 Pro, 4.2.19.0 Windows 10 pro, Supermicro LP Xeon

            Comment


              Originally posted by rileydogmi View Post
              While you are in there, can you add find my iPhone support with the cloud? And, is there a limit to iCloud accounts? I have 5 accounts with my family... Thanks,
              The plug-in currently supports a maximum of 5 iCloud accounts.

              Paul..

              Comment


                Originally posted by rileydogmi View Post
                I would love to be able to initiate the find my iPhone sound via the plugin... I believe once you have access that can be done. My wife is constantly looking for her phone - would be great to have that as a button on my HS Touch to play the sound. A text/call won't work if she has it on mute, find my iPhone is the only service that I know that will actually make a noise.
                Yes this is possible.

                I originally intended to add support for sending messages and / or alert sound but I don't believe anyone asked for it so I never added it.

                I just tested it with an iPhone 7 and iPad 4 mini and it works OK so I will add it in the next version.

                Paul..

                Comment


                  YES! Thanks - I so want a button on my home screen to play the find my iPhone sound - thanks!

                  Comment


                    Hi !

                    I have just got an Samsung S8 and trying to set up Tasker with PHLocator. I have used Geofency on my iPhone earlier, and it works like a charm.

                    I have in tasker a profile which called Home, and it triggers when I leave and reach Home, with an area of 100m. I have a task which sends the HTTP Post to the HS. The url are as follows : http://name@domain.com:password@doma...port/phlcustom

                    It triggers fine, but I got empty data string :

                    Se logdetails :
                    Code:
                    mar-28 07.21.20	 	PHLocation	(httpprocrequest) Time taken to process request = 15,6298 ms.
                    mar-28 07.21.20	 	PHLocation Error	(httpprocrequest) Empty data string!
                    mar-28 07.21.20	 	PHLocation	(httpprocrequest) POST data =
                    mar-28 07.21.20	 	PHLocation	(httpprocrequest) Request Type = POST
                    mar-28 07.21.20	 	PHLocation	(httpprocrequest) RawURL = /phlcustom
                    mar-28 07.21.20	 	PHLocation	(httpprocrequest) User and Password authenticated OK
                    mar-28 07.21.20	 	PHLocation	(httpprocrequest) Request received. Total Req's = 61

                    Comment


                      Originally posted by Xian View Post
                      Hi !

                      I have just got an Samsung S8 and trying to set up Tasker with PHLocator. I have used Geofency on my iPhone earlier, and it works like a charm.

                      I have in tasker a profile which called Home, and it triggers when I leave and reach Home, with an area of 100m. I have a task which sends the HTTP Post to the HS. The url are as follows : http://name@domain.com:password@doma...port/phlcustom

                      It triggers fine, but I got empty data string :

                      Se logdetails :
                      Code:
                      mar-28 07.21.20	 	PHLocation	(httpprocrequest) Time taken to process request = 15,6298 ms.
                      mar-28 07.21.20	 	PHLocation Error	(httpprocrequest) Empty data string!
                      mar-28 07.21.20	 	PHLocation	(httpprocrequest) POST data =
                      mar-28 07.21.20	 	PHLocation	(httpprocrequest) Request Type = POST
                      mar-28 07.21.20	 	PHLocation	(httpprocrequest) RawURL = /phlcustom
                      mar-28 07.21.20	 	PHLocation	(httpprocrequest) User and Password authenticated OK
                      mar-28 07.21.20	 	PHLocation	(httpprocrequest) Request received. Total Req's = 61
                      From your post, it appears that you are using Tasker as a geofencing solution. Although the plug-in can support fence data via the custom data feature, I don't believe that anyone has used it in this way.

                      The easiest way to get it working is to emulate another supported gefence user type.

                      Set up a new Gefency user (you could use your old iPhone user if not deleted) and then make Tasker send the data as though it is Geofency.

                      In your http post call the /phlgeofency url and as a minimum you need
                      to pass the following parameter in the request:
                      [id] [name] [entry]

                      [id] is the device id and should match whatever is entered on the geofency root device in the plug-in.

                      [name] is the name of the geofence.

                      [entry] 1=Enter 0=Exit

                      Example:
                      .../phlgeofency?id=1234567890&name=Home&entry=1

                      Try that. If it doesn't work as expected, drop me an email and I'll see if I can help you to get it working.

                      Paul..

                      Comment


                        Originally posted by sooty View Post
                        From your post, it appears that you are using Tasker as a geofencing solution. Although the plug-in can support fence data via the custom data feature, I don't believe that anyone has used it in this way.

                        The easiest way to get it working is to emulate another supported gefence user type.

                        Set up a new Gefency user (you could use your old iPhone user if not deleted) and then make Tasker send the data as though it is Geofency.

                        In your http post call the /phlgeofency url and as a minimum you need
                        to pass the following parameter in the request:
                        [id] [name] [entry]

                        [id] is the device id and should match whatever is entered on the geofency root device in the plug-in.

                        [name] is the name of the geofence.

                        [entry] 1=Enter 0=Exit

                        Example:
                        .../phlgeofency?id=1234567890&name=Home&entry=1

                        Try that. If it doesn't work as expected, drop me an email and I'll see if I can help you to get it working.

                        Paul..
                        I can't manage to have this to work, what is your email adress ?

                        Sent fra min SM-G950F via Tapatalk

                        Comment


                          My email address is at the top of the user guide or alternatively click my user name whilst logged into this board and you can send an email from there.

                          From a web browser on the same LAN as your HS3 machine, try the following url

                          Code:
                          http://yourhs3server:phlport/phlgeofency?device=1234567890&id=home&name=home&entry=1
                          You should get prompted for user credentials?
                          After entering the PHL credentials, you should get a data accepted message.

                          Unfortunately I don't have an Android device any longer to test Tasker but it should work with an http post task.

                          I can't remember if the credentials are entered in their own fields in Tasker. If not, then you will have to enter the credentials into the url

                          Code:
                          http://username:password@yourhs3server:phlport/phlgeofency?device=1234567890&id=home&name=home&entry=1
                          Paul..

                          Comment


                            I run from a local browser...

                            I got the login prompt. But I got an error. I have tried with :


                            http://192.168.253.4:9123/phlgeofenc...istian&entry=1
                            http://192.168.253.4:9123/phlgeofenc...hjemme&entry=1
                            http://192.168.253.4:9123/phlgeofenc...istian&entry=1
                            http://192.168.253.4:9123/phlgeofenc...hjemme&entry=1

                            The devices are as attached in the image.

                            The log is :
                            Code:
                            mar-29 09.32.28	 	PHLocation	(httpprocrequest) Time taken to process request = 28,0002 ms.
                            mar-29 09.32.27	 	PHLocation	(httpprocrequest) GeoFency response = Error! Fence data check type [F] failed.
                            mar-29 09.32.27	 	PHLocation Error	(ProcHttpFenceData) DataCheck Error. Did: Fid:1420 Fname:Christian Ftyp:F Fdir:1 Fpv:GC
                            mar-29 09.32.27	 	PHLocation	(httpprocrequest) Full GET data = id=1420&name=Christian&entry=1
                            mar-29 09.32.27	 	PHLocation	(httpprocrequest) Request Type = GET
                            mar-29 09.32.27	 	PHLocation	(httpprocrequest) RawURL = /phlgeofency
                            mar-29 09.32.27	 	PHLocation	(httpprocrequest) User and Password authenticated OK
                            mar-29 09.32.27	 	PHLocation	(httpprocrequest) Request received. Total Req's = 39
                            Attached Files

                            Comment


                              Can you try:

                              Code:
                              http://192.168.253.4:9123/phlgeofency?device=1420&id=Christian&name=Christian&entry=1
                              Paul..

                              Comment


                                Got GC data accepted, but find this in the log :

                                Code:
                                PHLocation Warning	(ProcessFenceQueue) No PHL user device found for incoming Fence device ID [1420]!

                                Comment

                                Working...
                                X