DIY Smart home project: Presence-activated lights

Background&#xA;I got these Antela smart bulbs a while ago. They connect to my home network, and I control them from my phone via either the Tuya Smart ap...