Instructables Wireless Contest 2017 First Prize Winner!!! :D
https://www.instructables.com/id/IoT-Air-Freshner-with-NodeMCU-Arduino-IFTTT-and-Ad/
For this project I used a NodeMCU LoLin to controll my 3D printer IoT air freshener. NodeMCU is an open source IoT platform, which runs on an ESP8266 Wi-Fi SoC from Espressif Systems. It's hardware is based on the ESP-12 module.
The development board connects a given Wi-fi network, and receives some commands from Adafruit.io plafrom. A NeoPixel ring is used for the indication of the status (if the Wi-fi connection was successfull, or if a given command was received, for instance). The control board also actuates a servomotor, that will avtivate an air freshener refill. A push button is used for local commands. An 5V, 2A USB charger was used to power the control board and all the peripherals.
The code was programmed using Arduino IDE. Four different applets were created for activation of the air freshener: manual push button, location trigger, timer trigger and gmail notification.
could you add a co2 sensor and sound sensor to automatically spray after you go to the bathroom?