Nick, a hackster member had asked a questionnaire to another of my projects and only roughly described his requirements. I commented on his contribution and asked Nick to name more details. By the time offset I have so far still no answer, but the problem position has motivated me already a solution with this project here to portray.
You can read the dialogue here (scroll down).
Instead of switching on an LED chain via a relay in Nick's case, the task provides the information about the motion detection on a smartphone, for example. This allows him to leave his house / shop location for a break / leave and is nevertheless informed about unplanned activities.
In this case, the relay is subsumed by using a free web service: access to the Particle Devices (Core / Photon / Electron) available with the Particle account is given at www.ifttt.com (thank you people!). The highlight of the case is the following: this trigger fires when an interesting event comes from a particular device. Send events using Particle.publish (in our case "Nicks Security Project").
If this trigger in case of motion detection fires you can define what the service should do, namely to sent an E-Mail/SMS/Twitter or what ever.
a.) Flash the code after your wiring
b.) Create a IFTTT.com Account and create a new applet with this IF-steps:
c.) Set the target for the IFTTT service. This is wizard-based and very easy to handle.
By the way noticed in the case of a detection synonymous for the time of the delay (here 3 seconds) the control LED and the active buzzer makes a "peep" sound (did not find the vibrator of my wife ;-).
At the end you will find the published event in the Particle Log:
The communication recipient, eg the e-mail, stored in the IFTTT service immediately receives his message with the previously defined sending information:
Here is my Paypal link, if you have also presented it to you, Nick.
Like my description? You will find more under my account.
Comments