Close
0%
0%

IOT Button

A button built using a particle photon with IFTTT to trigger a light to turn off through Smartthings Hub.

Similar projects worth following
This is an internet button I built using a particle photon, 4 AAA batteries, a gigantic sparkfun button, and a 3d printed housing. I use it to turn off a light that is connected to my smartthings hub.

The particle stays in deep sleep mode until it is woke up by the button press. It then publishes an event called Button, waits a half second to make sure the event was sent, then goes back to sleep.

Since the board is asleep 99% of the time, the normal ifttt channel for Particle doesn’t work, it relies on a heartbeat signal that it can’t respond to. Therefore the maker channel has to be used where it looks for a post request from a generic device.

Moved steps into the correct location.

iot_button.ino

particle code.

ino - 725.00 bytes - 08/09/2016 at 15:15

Download

wifi_button_body_2.STL

The enclosure for the button, photo, and batteries.

Standard Tesselated Geometry - 358.19 kB - 08/09/2016 at 15:12

Download

  • 1
    Step 1

    Go to IFTTT and create a new recipe using the maker channel

  • 2
    Step 2

    Name the Event the same name as the one published from the code below and create the trigger

  • 3
    Step 3
    Select your action that you want triggered by your IOT Button.

View all 10 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates