Background In a previous post, I wrote about building a presence sensor to automatically turn my bedroom lights on and off (smart bulbs connected to ...