Skip to content

Instantly share code, notes, and snippets.

View noahbaron's full-sized avatar

Noah Baron noahbaron

View GitHub Profile
@noahbaron
noahbaron / ibeacon-scan.bash
Created March 19, 2018 23:31 — forked from elliotlarson/ibeacon-scan.bash
iBeacon Scanning Bash Script
#!/bin/bash
# iBeacon Scanner
# refactored script from Radius Networks referenced in this StackOverflow answer:
# http://stackoverflow.com/questions/21733228/can-raspberrypi-with-ble-dongle-detect-ibeacons?lq=1
# Process:
# 1. start hcitool lescan
# 2. begin reading from hcidump
# 3. packets span multiple lines from dump, so assemble packets from multiline stdin
# 4. for each packet, process into uuid, major, minor, power, and RSSI
@noahbaron
noahbaron / README.md
Last active April 3, 2018 19:36
Tilt Pi

Uses bluetooth to scan for Tilt hydrometers (http://tilthydrometer.com) and report data in a dashboard and log data to the cloud and locally.