The purpose of this project is to notify user(s) when a door has opened or closed a door by having a button mounted in the door frame. Once the button is released (the door has been opened), the first Particle Photon will send an event to the Particle Cloud, and the second photon will receive a signal that the notification has been published confirming a two-way communication between the photons. This event will the be subscribed by another Particle Photon as well as the Thingspeak graphing platform. A link to the live graph can be found below. Additionally, an SMS notification will be sent to the user(s) mobile device via the IFTTT app. We decided to create this product as an alert system for any home/apartment application, especially for when the user(s) is/are away from home. The user(s) may also log into Thingspeak where a live stream can be viewed of the system. The video below shows a demonstration of our device successfully working. Enjoy!
Thingspeak graph: https://thingspeak.com/channels/477048
We first built the circuit shown below consisting of one Particle Photon with a switch, jumper wires, button, and LED. Then the circuit was mounted by a door and tested.