Hey everyone! I wanted to share a fun and useful DIY project I recently completed. I stumbled upon an old smoke detector and an ESP8266 module, and I thought, why not turn this into a smart smoke detector? The result? A simple, cost-effective solution that integrates seamlessly with my smart home setup!
Here’s a quick rundown of what I did:
-
Hardware Setup:
- Connected the ESP8266’s GND to the smoke detector’s GND.
- Linked the detector’s tweeter to the ESP8266’s GPIO5 pin.
-
Software Configuration:
- Used ESPHome with a GPIO platform and input mode.
- Added a filter to ensure the binary sensor works reliably.
The final configuration looked like this:
markdown
binary_sensor:
- platform: gpio
pin: GPIO5
mode: INPUT
filters:- delayed_off: 2s
name: “Smart Smoke Detector”
device_class: smoke
- delayed_off: 2s
It’s been working perfectly so far! I even made a short video demonstrating the setup and functionality. If you’re curious, you can check it out here.
I’d love to hear your thoughts or suggestions for improvement. Whether you have tips for making it even more reliable or ideas for expanding its functionality, I’m all ears! Let’s keep the DIY spirit alive and make our homes safer and smarter together! ![]()