A Docker container that can detect presence via BTLE for use in presence dection and home automation.
I am using home-cluster for a cheap fleet of raspberry pis in my house. Each one acts as a home-assistant kiosk. This containerized implementation of EspruinoHub and Node-Red lets each act as a "beacon."
If you're running home-cluster with Kubernetes, just kubectl apply -f https://raw.githubusercontent.com/zaneclaes/cluster-beacon/master/kubernetes/home-cluster-beacon.yaml
. If you're using Kubernetes in some other manner, you may need to adjust the nodeAffinity
values. The file contains comments which may be helpful in modifying your deployment.
My first pass at Home Assistant beacons used monitor deployed via host-cluster to Raspberry Pis. In the process of attempting to dockerize monitor, I discovered EsprinoHub to be a much more sophisticated BTLE -> MQTT bridge. I found an existing dockerization, but it was out-of-date and buggy for me. I shamelessly hacked all these pieces together using LTE supported base images and recent releases of relevant software.