Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joefiorini/ibeacon-deployment
https://github.com/joefiorini/ibeacon-deployment
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/joefiorini/ibeacon-deployment
- Owner: joefiorini
- License: mit
- Created: 2015-06-10T13:41:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-10T14:02:43.000Z (over 9 years ago)
- Last Synced: 2024-04-14T09:06:41.949Z (9 months ago)
- Language: Shell
- Size: 125 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Raspberry Pi iBeacon Setup
## Prerequisites
1. This is built for Raspberry Pi running [ArchLinux ARM](http://archlinuxarm.org)
2. It will try to install python & paramiko for you, but you may need to comment this out and do it yourself if you have problems (see the first block in `site.yml`)
3. Generate a UUID with `uuidgen` and update the inventory file (`beacons`) with the correct IP to your Raspberry Pi & the output from `uuidgen`## Usage
After following the instructions above, run:
```
ansible-playbook -i beacons site.yml
```You may need to append your Pi's user to that command (ie. `--user=root`)
This will leave you with:
1. A script to start advertising the iBeacon (`/usr/local/bin/start-beacon`)
2. A systemd service to control the beacon (`/etc/systemd/system/beacon`)## Caveats
1. Should be making major, minor and power configurable as well, currently they are hardcoded in `roles/beacon/templates/start-beacon`