Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

PIBeacon

PIBeacon is a simple command line script to setup a Raspberry PI as an IBeacon.

Usage

Run PIBeacon as root with three commandline arguments:

  • ProximityUUID (A unique id that distinguishes your beacon from another)
  • Major (Used to group related sets of beacons)
  • Minor (Used to identify a beacon within a group)
# ./PIBeacon.sh DCEF54A2-31EB-467F-AF8E-350FB641C97D 99 0

The changes PIBeacon makes are not permanent, the script will need to be run at boot using either cron or systemd.

Installation

Before installing PIBeacon edit the service file and replace UUID, MAJOR and MINOR with your chosen settings.

To install and enable PIBeacon at boot run

sudo make install