Announcement

Collapse
No announcement yet.

iBeacon/BLE, Android and PHLocation - Location Tracking.

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

    iBeacon/BLE, Android and PHLocation - Location Tracking.

    Hi all, i have been using EGIGeoZone for a few years now and it works perfectly in conjunction with PHLocation for fences and geo tracking, I've recently purchased a few BLE devices to play with, for improved occupancy detection and anything else i can think of.

    There seems to be little to no documentation on using beacons with an android device, just some software that only runs on apple devices (i don't and never will own any Apple crap ), I have installed the BT version of EGIGeoZone and it updates the virtual device in HS3 to Near/NotNear when the phone is powered on, as soon as the app closes or phone turns off however updates to the device or app stop, ive added the app to the battery usage 'white list' to allow the app to run at all times etc etc, but no luck.

    I've also noticed it looks like development has stopped for the BT version of EGIGeoZone if not both versions, are any of you using Beacons with Android and/or has anyone managed to discover any beacons using Tasker, I've not managed to be able to discover them even with 3rd party plugins.


    Many thanks as always,
    Mike



    #2
    Hopefully this will help someone - Using the Tasker app on Android works pretty well, When 'BT Near' / MAC = iBeaconMacaddress, post the following string to PHlocation and again for the exit action. (Emulating GeoFency):

    (Use STunnel for SSL if required)

    NEAR:
    Code:
    http://admin:pass@servername:8585/phlgeofency/device=1&id=<HSdeviceRefID>&name=Lounge1Beacon&entry=1&
    NOT NEAR:
    Code:
    http://admin:pass@servername:8585/phlgeofency/device=1&id=<HSdeviceRefID>&name=Lounge1Beacon&entry=0&
    This is the BT Near section, BLE devices are not displayed when searching so the MAC address has to be entered manually and both LE and unpaired check boxes are required:

    Click image for larger version

Name:	Screenshot_20180906-115624_Tasker.jpg
Views:	196
Size:	35.8 KB
ID:	1245883

    I've now also moved to Tasker for GEO tracking, these both work whilst the phone is asleep unlike EGIGeoZoneBT.


    Thanks,
    Mike

    Comment


      #3
      Hi Mike,

      The post url is not working for me. Could this be new with HS4?

      I'm using

      Code:
      http://user123:password123@mydns.com:8085/phl2api?dtype=CD&type=F&device=00000001&name=Study&entry=0
      I think Tasker is not liking the usernameassword@. Can you share how you got around it?

      Comment


        #4
        You can do a bit of digging into this : https://www.room-assistant.io/guide/ and no, I have not implemented it yet but seems like fun.
        Start here : https://www.youtube.com/watch?v=nZAr_e2JCtE&t=55s


        Eman.
        TinkerLand : Life's Choices,"No One Size Fits All"

        Comment

        Working...
        X