Blog2015 ≫ More beacon fun

I did some more work with bluetooth beacons, like I mentioned before, this time I did it work as part of our project lounge hack day. And I actually published something1!

The idea is you can go to that page, tap in a url and then it's magically on the ball / beanbag / whatever that you throw around the office. Then the next person gets it, holds it near their computer and they get the url. It sort of works...

I made beacon ball1 in a day, trying out a few bits of new technology, new to me anyway:

At first I was going to publish to aws s3 but realised it could sit happily on github, so all the code is here2 and it is served up from here1.

I've used IBM's cloudant3 as a database to sync to, because I could easily set it up on a free trial. If we keep this I'll probably move it to a work account.

It needs a password for the database to sync to, which I'm not telling you. You can just cancel that password popup and it'll only save the urls on your local machine, but you can see how it works, the software side anyway.

The css is HUMUNGOUS, so is the javascript really, I was lazy and just bundled in bootstrap for the styling as that's what they do at work, I can optimise this later.

I keep misspelling beacon as bacon which is annoying...

js: Programming language of the internets, mostly how I make my living.

⬅️ :: ➡️

Paul Clarke's weblog - I live in A small town. Married and dad to 2, I am a full stack web developr, + I do mostly js / Node, some ruby, python, php ect ect. I like pubbing, parkrun, eating, home-automation + other diy jiggery-pokery, history, genealogy, Television, squirrels, pirates, lego, and TIME TRAVEL.