Beacon: a Geohopper/Beecon plugin
-
philipbasile
- Posts: 126
- Joined: Thu Jan 08, 2015 8:59 pm
- Location: NJ
Re: Beacon: a Geohopper/Beecon plugin
Sounds good, no problem with the scripting, I'll check it out this weekend!
Philip
Philip
-
philipbasile
- Posts: 126
- Joined: Thu Jan 08, 2015 8:59 pm
- Location: NJ
Re: Beacon: a Geohopper/Beecon plugin
flic,
what is the difference between the following
device name - auto creates [email]@@[location] from geohopper. If I change this then the device is not found on the next geohopper call. is that correct ?
sender name - auto creates [email]@@[location] from geohopper. If I change this then the device is not found on the next geohopper call. is that correct ?
in the indigo device list there is a column ADDRESS which corresponds to the sender field.
philip
what is the difference between the following
device name - auto creates [email]@@[location] from geohopper. If I change this then the device is not found on the next geohopper call. is that correct ?
sender name - auto creates [email]@@[location] from geohopper. If I change this then the device is not found on the next geohopper call. is that correct ?
in the indigo device list there is a column ADDRESS which corresponds to the sender field.
philip
Re: Beacon: a Geohopper/Beecon plugin
Well, for starters you found a bug in the manual device creation dialog. Sender name/location name is not used anymore, it should just say address and nothing more. I've fixed that and committed 1.4.1 to github. No other changes so no real reason to upgrade if you don't usually create your devices manually.
On auto-creation both the Device Name and the Address is set to [sender]@@[location], but I only use the Address to identify the device. You can change the Device Name to whatever you want, that wont affect the functionality at all.
On auto-creation both the Device Name and the Address is set to [sender]@@[location], but I only use the Address to identify the device. You can change the Device Name to whatever you want, that wont affect the functionality at all.
Re: Beacon: a Geohopper/Beecon plugin
Hi!
I have another bug to report (minor one though
): if I name region in Geohopper "työpaikka" (workplace in Finnish ), Beacon wont trigger when I arrive to my office. If I replace ö-character with "o", it triggers just fine. So I guess either Beacon has trouble with character encodings or Geohopper has (or both
)
I have another bug to report (minor one though
Re: Beacon: a Geohopper/Beecon plugin
Assuming it's me and not Geohopper I'll fix that. We umlaut-users need to stick together...juntta wrote:Hi!
I have another bug to report (minor one though): if I name region in Geohopper "työpaikka" (workplace in Finnish ), Beacon wont trigger when I arrive to my office. If I replace ö-character with "o", it triggers just fine. So I guess either Beacon has trouble with character encodings or Geohopper has (or both
)
Re: Beacon: a Geohopper/Beecon plugin
Juntta, try upgrading to 1.4.2 now on GitHub, it should fix your umlaut problem.
Re: Beacon: a Geohopper/Beecon plugin
Wow, that was fast!
Hmm, unfortunately I didn't get it working. I replaced o's with ö's on both, Geohopper and Beacon device settings, but if I test location in Geohopper, nothing shows on Indigo log. But with o's in location name, test gets logged immediately. So can we make assumption that bug is at Geohoppers end?
Re: Beacon: a Geohopper/Beecon plugin
I tried it with Geohopper, created a location with åäöÅÄÖ in the name, and that worked. I'll try to create a location with the same name as you and see what happens.
Re: Beacon: a Geohopper/Beecon plugin
Looks like it's working
Could you try to delete the old device and let the plugin re-create it?
Code: Select all
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: None
Beacon Debug Received JSON data: {"sender":"[email protected]","location":"työpaikka","event":"LocationTest","time":"2015-10-28 12:42:35 +0000"}
Beacon Debug parseResult called
Beacon Debug No device found
Beacon Error Received LocationTest from [email protected]@@työpaikka but no corresponding device exists
Beacon Debug deviceCreate called
Beacon Debug Created new device, [email protected]@@työpaikka
Beacon Debug Created device of type "beacon"
Beacon Debug deviceUpdate called
Beacon Test location notification received from sender/location [email protected]@@työpaikka
Re: Beacon: a Geohopper/Beecon plugin
I tried to delete the device and let the plugin create it and it created the device, showed the test event on the log. Great. I tried to test it again with other location, works fine, shows up in the log, updates Beacon variables, I'm happy.
But: tried again with "työpaikka" location, now it doesnt show nothing on the log?!? Tried again and noticed it updates Beacon device id but no other signs - nothing on log, beacon name and location doesn't update. When I try with other locations, it works fine and all appropriate updates are done. Thats pretty weird
But: tried again with "työpaikka" location, now it doesnt show nothing on the log?!? Tried again and noticed it updates Beacon device id but no other signs - nothing on log, beacon name and location doesn't update. When I try with other locations, it works fine and all appropriate updates are done. Thats pretty weird
Re: Beacon: a Geohopper/Beecon plugin
Strange, it still works for me. Can you enable debugging under Beacon config and post a debug log when it fails?
Edit: hang on, I found something. It's related to the variables, I didin't have "create variables" enabled.
Edit: hang on, I found something. It's related to the variables, I didin't have "create variables" enabled.
Re: Beacon: a Geohopper/Beecon plugin
Yes, it was related to variable creation. Try 1.4.3, see if it works for you.
Re: Beacon: a Geohopper/Beecon plugin
Success! Now it works without issues! You showed umlauts who's the man 
-
stuartcolman
- Posts: 81
- Joined: Sun Nov 01, 2015 2:56 pm
- Location: Essex, United Kingdom
Re: Beacon: a Geohopper/Beecon plugin
I have been using the Beacon plugin for a little while and had the idea of revering things slightly. Instead of using the phone as the presence device, why not use the ibeacon itself. So you carry a small beacon with you on your keyring, then on the mac something like "beaconscan" (https://bitbucket.org/twocanoes/beaconscan) could scan for your ibeacon every second. When it shows itself this is passed to the Beacon plugin and voila! iBeacons that leave the area would be cleared out after about 15 seconds.
I put an idea here (http://forums.indigodomo.com/viewtopic. ... 84#p105284), however instead of re-inventing the wheel, this may be an easy extension of the current plugin.
Thanks
Stuart
I put an idea here (http://forums.indigodomo.com/viewtopic. ... 84#p105284), however instead of re-inventing the wheel, this may be an easy extension of the current plugin.
Thanks
Stuart
Re: Beacon: a Geohopper/Beecon plugin
I see no real reason why this wouldn't work already. As a matter of fact, I'm already using a variant of this where I have an Estimote iBeacon on my MC and an old iPhone in the garage that senses it's presence when I arrive. If you'd prefer to use a computer you need an application that allows you to do a HTTP POST to Beacon, should be doable.stuartcolman wrote:I have been using the Beacon plugin for a little while and had the idea of revering things slightly. Instead of using the phone as the presence device, why not use the ibeacon itself.