A script to add Bluetooth proximity detection to IFTTT flows (using an IFTTT webhook). As this uses hcitool, it does not work on Windows or macOS.
Environment variables:
IFTTT_TOKEN: the webhook tokenKNOWN_DEVICES: the MAC addresses of Bluetooth devices you want to sense, seperated by commasINTERVAL_SECONDS: (optional, default 5) the interval in seconds between scansAT_LEAST_1_EVENT: (optional, default someone_home) the IFTTT event that's emitted when at least one device is nearbyAT_MOST_0_EVENT: (optional, default everyone_gone) the IFTTT event that's emitted when all devices are not foundExample run command:
docker run -d \
--name bluetooth-proximity \
--privileged \
--net=host \
--restart always \
codetheweb/ifttt-bluetooth-proximity
Content type
Image
Digest
Size
88 MB
Last updated
over 7 years ago
docker pull codetheweb/ifttt-bluetooth-proximity