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.