Hey everyone, I wanted to share a fun project I recently completed in my home. It’s a simple yet effective bathroom occupancy indicator that I built using a Tuya Smart Life sensor and some basic DIY skills. Here’s how it all came together:A few months ago, I noticed that my family was having trouble keeping track of whether the bathroom was occupied or not. It led to some awkward moments and unnecessary waits. I decided to tackle this problem head-on and came up with a clever solution.I started by purchasing a Tuya Smart Life sensor, which I knew was compatible with my existing smart home setup. The sensor itself is small and unobtrusive, making it perfect for my needs. I also picked up a microswitch and some cable connectors to complete the setup.The next step was to install the sensor. I opted for a non-invasive approach since I live in a rental property and didn’t want to leave any permanent marks. I carefully positioned the sensor on the bathroom door frame and connected it to a microswitch that I installed on the door itself. This way, whenever the door is closed, the sensor detects the change and triggers the connected smart devices.To add a visual indicator, I placed a smart LED bulb in the hallway outside the bathroom. I programmed the system so that when the bathroom door is closed, the LED bulb turns on, indicating that the bathroom is occupied. When the door opens, the light turns off, signaling that it’s free.I integrated this setup with my Home Assistant ecosystem using the Local Tuya integration. This allowed me to create a simple automation rule that switches the LED bulb on and off based on the door sensor’s input. The whole system is powered by a single long cable that runs discreetly along the wall, ensuring there are no unsightly wires.One of the best parts of this project is how adaptable it is. I can easily expand it to other rooms or modify the automation rules to suit different needs. For instance, I could add additional sensors to other doors or integrate voice commands for hands-free operation.This DIY project has been a huge success in my home. It’s not only functional but also adds a touch of smart technology to our daily routines. Plus, it was a satisfying challenge to bring it all together using basic tools and a bit of creativity.If anyone has similar needs or is looking for a simple smart home project, I highly recommend giving this a try. It’s a great way to enhance home functionality without breaking the bank or damaging your property.Here’s a quick summary of the components I used:- Tuya Smart Life sensor- Microswitch- Smart LED bulb- Long cable for wiring- Basic tools for installationWould love to hear if anyone else has tackled a similar project or has tips for improving this setup. Happy tinkering! ![]()