Skip to content

Instantly share code, notes, and snippets.

View penrods's full-sized avatar

Steve Penrod penrods

View GitHub Profile
@penrods
penrods / btWatcher.py
Created June 18, 2018 18:56
Bluetooth scanning
#!/usr/bin/python
# Huge thanks to: https://github.com/blakeman399/Bluetooth-Proximity-Light/blob/master/https/github.com/blakeman399/Bluetooth-Proximity-Light.py
# This script scans the area looking for a list of devices with known Bluetooth
# MAC addresses. Once seen, a notification is immediately sent to the Bomba
# system. After that an occasional scan occurs to see if the device is still
# in the area, notifying when it is "missing" then again several minutes later
# when it still hasn't been seen and is certainly "gone".