Skip to content

Application to monitor bluetooth device proximity and hit RESTful endpoints in response.

Notifications You must be signed in to change notification settings

ike18t/bluetooth_hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Code Climate Test Coverage Dependency Status

##bluetooth_hook

The Bluetooth Hook is a web application which configures devices to fire web requests based on bluetooth visibility. Users can add and remove devices as well as specify endpoints and HTTP Request methods. Then, by running the application, endpoints will respond based on device proximity.

Dependencies

  • a linux box with bluetooth
  • ruby
  • hcitool
  • root privileges (req'd by hcitool unfortunately)

Usage

  • Clone the repository and install dependent gems
  • To run the application:
./bin/bluetooth_hook.rb
  • To run the web interface for adding/removing devices:
./bin/bluetooth_web.rb
  • Configure devices in the web interface running on port 4567

Screenshots

Device List:

device list

Add Device:

add device

** Special thanks to Manheim's Seller Tools team for allowing me and Rex to work on this during the team Hackathon. **

About

Application to monitor bluetooth device proximity and hit RESTful endpoints in response.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •