If door state changed, send email #oak #particle

This is a simple event that sends an email when the correct event is published. The matching code for the Digistump Oak (although this could be used for the Particle Photon with no or only minor changes) is located at https://gist.github.com/pfeerick/318383bc45b7d1af7cea350123c308a1 All you need to do is set the publish event name to the same one you use in the sample code (i.e. "door/middle-room"), pick which device is monitoring that door, and enter the email address for the message to be sent to. You'll then get an email whenever the door is opened or closed, telling you what state the door is now in, and when it was changed.

by pfeerick

This Applet uses the following services:

Install 2
works with
  • Gmail