Smart Home Control

Connected AC and fan to internet

I wrote an Android app in Java, programmed and installed an ESP8266 nodemcu in an air conditioner, and set up a backend on Google Firebase. I configured the AC to turn on at a certain time of the day. I also wrote an app to remotely operate the AC through WiFi. To send signals to the AC, I copied the AC remote’s IR signals using a TSOP1738, then ripped out the IR LED from the remote and attached it to the ESP. The ESP and LED combination was hung from the ceiling in front of the AC.

Video shows my roommate and I entering the room after work on the day I set up the AC to turn on automatically for the first time.
ESP hanging from the ceiling with an IR LED attached.
The app's starting screen.
Toast message after signal sent to AC successfully.

Later that year, I added a makeshift PCB into the wiring of my house with relays to control fans and lights in my room.

The circuit board.
The circuit board attached to the wiring in my house (all stunts done by professionals).