GithubHelp home page GithubHelp logo

ansible-pibeacon's Introduction

PiBeacon-Ansible

I needed to set up an iBeacon for a project I'm working on so I followed the Radius Networks guide to setting up a Raspberry Pi with a Bluetooth LE USB dongle. I've wrapped the process in an Ansible playbook because I may need to create a few more beacons and I didn't want to have to repeat this process on each one.

To run the playbook you'll need to follow a few steps

  • Make sure you are running SSHD on the Raspberry Pi - this is included in the graphical installer
  • Add your SSH key to the pi user's ~/.ssh/authorized_keys2 file
$ cat .ssh/id_rsa.pub | ssh pi@<your raspberry pi> "cat >> ~/.ssh/authorized_keys"
  • Then run the playbook against the selected inventory
$ ansible-playbook -i inventory/dev 

It takes quite a long time for the process to complete but once it does you should be able to stop and start the beacon using;

# /etc/init.d/ibeacon stop/start

ansible-pibeacon's People

Contributors

grahamoregan avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.