Almost every device is now connected to the Internet and now more than ever there is a real need for an Internet button. It's kinda surprising to see how there are very few affordable Internet buttons buttons out there (There are a ton of Bluetooth buttons but very few Wifi buttons). An Internet button means, a button you can press to trigger something on the Internet. Here we are trying to make a affordable button under 20$ that is connected to the Internet. You can use this open your garage, water your plants, order pizza or turn your lights on or off.
There is something about a Button that is so simple and natural an app or a smart phone cannot provide. I use my button to turn my lights off before I go to bed- makes me lazy but I love it :)
Connect a LED to the ESP8266 board. I am using PIN 14 for the LED, make sure you connect a resistor (check schematic). The button will be connected in series to the battery, this way the ESP will only turn ON and consume power when someone presses the button. The LED lights up if the POST was successful.
I have connected the button such that when you press the button, the 3.7v is applied at the Vin pin.
Once you have the ESP8266 board added to you Arduino IDE, clone the repo and run the code. You will have to create an IFTTT key on the maker channel and replace the IFTTT key in the code(line 15). Also replace the correct SSID and passkey for your Wifi(line 84).
No with IFTTT the possibilities are endless, From watering your plants using to turning lights ON / OFF using LiFx or WINK.
Comments