Beacon: a Geohopper/Beecon plugin

Posted on
Sun Jan 17, 2016 9:38 am
jltnol offline
Posts: 989
Joined: Oct 15, 2013

Re: Beacon: a Geohopper/Beecon plugin

Yeah... very disappointed in the $60.00 a year fee for GeoHopper. I'm all for people getting paid for their services and work, but $60.00 a year is just too much. Something along the lines of $19.99 a year would be more appealing.

Will try to get Beecon working...

Hoping with more income from subscriptions that Indigo 7 will have some kind of location based protocol built into the iPhone app...


AND... now that I'm exploring other options, there is a plethora of apps that come up when searching for Geofence and Beecon. Would like to make sure I pay for the right one. Can any one give me the publisher for one or the other ?

Posted on
Fri Jan 29, 2016 11:15 am
wolterink offline
Posts: 7
Joined: Oct 12, 2015

Re: Beacon: a Geohopper/Beecon plugin

Has anyone successfully setup "Beecon" V7.4.3 app to work with "Beacon" V1.4.8 plugin?

I only managed to get this response in the debug mode

Beacon setup as a single action

Beacon Debug New httpHandler thread: Thread-60, total threads: 3
Beacon Debug Received HTTP POST
Beacon Debug Sending HTTP 200 response
Beacon Debug User-agent: Beecon/7.4.3 CFNetwork/758.2.8 Darwin/15.0.0
Beacon Debug Received Beecon data: region=Home&action=Test
Beacon Debug parseResult called
Beacon Debug Found userLocation device: Beecon@@Home
Beacon Debug deviceUpdate called
Beacon Debug triggerEvent called

I like to manage the different parameters as descriptor in the Beacon text section.
for example
http://1.2.3.4:6192/?sender=MyName&loca ... cationExit

I tried this with no success.
Also when I use "your Regions" in the app and use the Call URL I have no response in the debug log at all.

I do have "use URL actions with POST vars" selected in the options section, otherwise I don't get any response at all.

Any successful users out there?

Posted on
Sat Jan 30, 2016 9:25 am
flic offline
Posts: 128
Joined: Nov 30, 2006
Location: Lidingö, Sweden

Re: Beacon: a Geohopper/Beecon plugin

wolterink wrote:
I like to manage the different parameters as descriptor in the Beacon text section.
for example
http://1.2.3.4:6192/?sender=MyName&loca ... cationExit

I tried this with no success.
Also when I use "your Regions" in the app and use the Call URL I have no response in the debug log at all.

I do have "use URL actions with POST vars" selected in the options section, otherwise I don't get any response at all.

Any successful users out there?


Try the new 1.5.0 release and play around with the "custom application" settings in the config dialogue. As long as Beecon is POSTing the data to the plugin you should be able to get it to work.

https://github.com/flic/Beacon/archive/1.5.0.zip

Please let me know if you find any bugs.

Posted on
Sat Jan 30, 2016 10:59 am
wolterink offline
Posts: 7
Joined: Oct 12, 2015

Re: Beacon: a Geohopper/Beecon plugin

I have downloaded the file but it's still showing as version 1.4.8

And is the "custom application" part of the new version or part of the beecon app?

Posted on
Sat Jan 30, 2016 11:13 am
flic offline
Posts: 128
Joined: Nov 30, 2006
Location: Lidingö, Sweden

Re: Beacon: a Geohopper/Beecon plugin

wolterink wrote:
I have downloaded the file but it's still showing as version 1.4.8

And is the "custom application" part of the new version or part of the beecon app?


Yeah, it might work better if I actually press the button to publish the new version to GitHub... Sorry about that. Try this:

https://github.com/flic/Beacon/archive/v1.5.0-proper.zip

It's part of the new version, you'll find the settings under Indigo->Plugins->Beacon->Configure... Enable custom application.

Posted on
Tue Feb 02, 2016 7:02 am
wolterink offline
Posts: 7
Joined: Oct 12, 2015

Re: Beacon: a Geohopper/Beecon plugin

Thanks!

It looked promising at first, but I'm still unable to change any of the notifications send by "beecon". Even with the "enable beecon" setting switch off, I was able to receive URL POST notifications but the plugin recognises it has been send by an Beecon App and refuses to read the custom url. I believe Beecon sends default notifications (sender/location/action) which you can't alter via the URL string.

url string send from an location called Hometest1
http://server:6192/?sender=test?locatio ... tion=enter

I get

Beacon Debug New httpHandler thread: Thread-49, total threads: 3
Beacon Debug Received HTTP POST
Beacon Debug Sending HTTP 200 response
Beacon Debug User-agent: Beecon/7.4.3 CFNetwork/758.2.8 Darwin/15.0.0, Content-type: application/x-www-form-urlencoded
Beacon Debug Data (UTF-8 decoded): region=Hometest1&action=enter
Beacon Debug Recognised Beecon
Beacon Debug parseResult called
Beacon Debug Found userLocation device: Beecon@@Hometest1
Beacon Debug deviceUpdate called
Beacon Enter location notification received from sender/location beecon@@hometest1
Beacon Debug triggerEvent called
Beacon Debug triggerEvent called

The location and action are correct by default, my problem is the sender ("Beecon@@". This field is always beecon and I can't change this via any url string or via custom application with a different field like (sender field = sender_custom with url including ?sender_custom=test).

I can get around it by making a different locations for me and my wife (home_wife and home_me) but it would be nice if I could override the sender field in beecon. Thanks for your help

Posted on
Tue Feb 02, 2016 7:38 am
flic offline
Posts: 128
Joined: Nov 30, 2006
Location: Lidingö, Sweden

Re: Beacon: a Geohopper/Beecon plugin

wolterink wrote:
Thanks!

It looked promising at first, but I'm still unable to change any of the notifications send by "beecon". Even with the "enable beecon" setting switch off, I was able to receive URL POST notifications but the plugin recognises it has been send by an Beecon App and refuses to read the custom url. I believe Beecon sends default notifications (sender/location/action) which you can't alter via the URL string.


Oh, I see. I was under the impression that you'd been able to get Beecon to send the extra data in the POST, but that doesn't seem to be the case. I'm not at all familiar with Beecon so I'm afraid I can't help you there. If you can get it to send the extra information then you can use the custom settings to get the Beacon plugin to recognize it, but if not, well, not much to do I'm afraid.

You might want to try one of the other apps perhaps, like Geofency or Geofancy for instance.

Posted on
Tue Feb 02, 2016 3:06 pm
wolterink offline
Posts: 7
Joined: Oct 12, 2015

Re: Beacon: a Geohopper/Beecon plugin

Thanks I will give it a go,

Posted on
Wed Feb 03, 2016 7:39 pm
philipbasile offline
Posts: 113
Joined: Jan 08, 2015
Location: NJ

Re: Beacon: a Geohopper/Beecon plugin

flic,

I'm using the plugin with geohopper webservices and it works great ! I would like for it to recognize location testing. right now I have to jump in the car and drive around the block to test it.

when I use test location it shows up in the event log but does not seem to trigger anything. Can you add that ?

Test location notification received from sender/location philip@gmail.com@@home

thanks

philip

Posted on
Thu Feb 04, 2016 8:25 am
midd offline
Posts: 372
Joined: Apr 18, 2010

Re: Beacon: a Geohopper/Beecon plugin

I was using Geohopper and Beacon to tell me who was home and who had left the home geofence. I switched to iFindstuff in Indigo. But I still have Geohopper on my phone. I'm still receiving notifications on my phone from Geohopper even though it was supposed to discontinue on January 31. Anyone else still getting them?

Indigo 7, Monterey (12.1) on a 2009 Mac Pro..

Posted on
Thu Feb 04, 2016 1:49 pm
RAID5 offline
Posts: 104
Joined: Jan 16, 2015
Location: Sweden

Re: Beacon: a Geohopper/Beecon plugin

Yes it works fine for me also.


Skickat från min iPhone med Tapatalk

RAID5 "A happy Swede addicted to automation"

Posted on
Fri Feb 05, 2016 6:02 am
flic offline
Posts: 128
Joined: Nov 30, 2006
Location: Lidingö, Sweden

Re: Beacon: a Geohopper/Beecon plugin

philipbasile wrote:
when I use test location it shows up in the event log but does not seem to trigger anything. Can you add that ?


Sure.

https://github.com/flic/Beacon/archive/1.5.1.zip

Enable "Trigger on test message" under Configuration, and select what type of trigger you want.

Posted on
Thu Feb 11, 2016 2:32 pm
macpro offline
User avatar
Posts: 765
Joined: Dec 29, 2005
Location: Third byte on the right

Re: Beacon: a Geohopper/Beecon plugin

After noticing that my Beacon plugin wasn't working anymore I upgraded to version 1.5.1.
But it still doesn't work.
New devices are not automatically created.
And when I send a test message from Locative, this is shown in the Indigo log:

Beacon Error Exception: 'in <string>' requires string as left operand


It used to work with Locative and Beacon plugin version 1.2.0.

Here's log info with debugging enabled:

Beacon Preferences were updated.
Beacon Debug New httpHandler thread: Thread-3, total threads: 3
Beacon Debug Received HTTP POST
Beacon Debug Sending HTTP 200 response
Beacon Debug User-agent: Locative/1.10.0 (iPhone; iOS 9.2.1; Scale/2.00), Content-type: application/x-www-form-urlencoded
Beacon Debug Data (UTF-8 decoded): device=DEVICEID-3AE5-4C76-85A4-8B31626B0134&id=02A91A81-4387-4E6A-A7D3-SOMEID&latitude=<data>&longitude=<data>&timestamp=1455222771.859537&trigger=test
Beacon Debug Recognised Locative
Beacon Error Exception: 'in <string>' requires string as left operand

Posted on
Fri Feb 12, 2016 1:18 am
flic offline
Posts: 128
Joined: Nov 30, 2006
Location: Lidingö, Sweden

Re: Beacon: a Geohopper/Beecon plugin

macpro wrote:
Beacon Error Exception: 'in <string>' requires string as left operand


Found it, that was a bug. Try this:

https://github.com/flic/Beacon/archive/1.5.2.zip

Posted on
Fri Feb 12, 2016 2:29 am
macpro offline
User avatar
Posts: 765
Joined: Dec 29, 2005
Location: Third byte on the right

Re: Beacon: a Geohopper/Beecon plugin

Installed it and the test message is working now.
Thanks for the quick update.

Who is online

Users browsing this forum: No registered users and 5 guests