Beacon: a Geohopper/Beecon plugin

Plugins that users have built. NOTE: plugins that were developed for Indigo versions older than 2022.1 will have to be updated to work with Indigo 2022.1 (Python 3 - see this blog post for details). If the plugin listed here is not in the Plugin Store (which will show updated plugins) then you will need to ask on the appropriate thread below if it has been updated and where you get get the update.
jltnol
Posts: 1162
Joined: Tue Oct 15, 2013 11:11 pm

Re: Beacon: a Geohopper/Beecon plugin

Post by jltnol »

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 ?
wolterink
Posts: 7
Joined: Mon Oct 12, 2015 1:12 am

Re: Beacon: a Geohopper/Beecon plugin

Post by wolterink »

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?
flic
Posts: 128
Joined: Thu Nov 30, 2006 1:35 pm
Location: Lidingö, Sweden

Re: Beacon: a Geohopper/Beecon plugin

Post by flic »

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.
wolterink
Posts: 7
Joined: Mon Oct 12, 2015 1:12 am

Re: Beacon: a Geohopper/Beecon plugin

Post by wolterink »

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?
flic
Posts: 128
Joined: Thu Nov 30, 2006 1:35 pm
Location: Lidingö, Sweden

Re: Beacon: a Geohopper/Beecon plugin

Post by flic »

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/ ... proper.zip

It's part of the new version, you'll find the settings under Indigo->Plugins->Beacon->Configure... Enable custom application.
wolterink
Posts: 7
Joined: Mon Oct 12, 2015 1:12 am

Re: Beacon: a Geohopper/Beecon plugin

Post by wolterink »

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
flic
Posts: 128
Joined: Thu Nov 30, 2006 1:35 pm
Location: Lidingö, Sweden

Re: Beacon: a Geohopper/Beecon plugin

Post by flic »

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.
wolterink
Posts: 7
Joined: Mon Oct 12, 2015 1:12 am

Re: Beacon: a Geohopper/Beecon plugin

Post by wolterink »

Thanks I will give it a go,
philipbasile
Posts: 126
Joined: Thu Jan 08, 2015 8:59 pm
Location: NJ

Re: Beacon: a Geohopper/Beecon plugin

Post by philipbasile »

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 [email protected]@@home

thanks

philip
midd
Posts: 374
Joined: Sun Apr 18, 2010 3:00 pm

Re: Beacon: a Geohopper/Beecon plugin

Post by midd »

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?
M4 Mac mini.
RAID5
Posts: 104
Joined: Fri Jan 16, 2015 6:46 am
Location: Sweden

Re: Beacon: a Geohopper/Beecon plugin

Post by RAID5 »

Yes it works fine for me also.


Skickat från min iPhone med Tapatalk
RAID5 "A happy Swede addicted to automation"
flic
Posts: 128
Joined: Thu Nov 30, 2006 1:35 pm
Location: Lidingö, Sweden

Re: Beacon: a Geohopper/Beecon plugin

Post by flic »

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.
User avatar
macpro
Posts: 818
Joined: Thu Dec 29, 2005 6:10 am
Location: Third byte on the right

Re: Beacon: a Geohopper/Beecon plugin

Post by macpro »

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
flic
Posts: 128
Joined: Thu Nov 30, 2006 1:35 pm
Location: Lidingö, Sweden

Re: Beacon: a Geohopper/Beecon plugin

Post by flic »

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
User avatar
macpro
Posts: 818
Joined: Thu Dec 29, 2005 6:10 am
Location: Third byte on the right

Re: Beacon: a Geohopper/Beecon plugin

Post by macpro »

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

Return to “User Plugins”