Skip to content

Instantly share code, notes, and snippets.

View j1nx's full-sized avatar
💭
Trying to keep all balls in the air.

Peter Steenbergen j1nx

💭
Trying to keep all balls in the air.
View GitHub Profile
@j1nx
j1nx / btWatcher.py
Created June 19, 2018 09:26 — forked from penrods/btWatcher.py
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".