Back to Parent

Process

The first step was to configure the sensor. I used a simple circuit with a led attached to verify if the sensor and the related code worked. I then went on the check the values I was receiving to set a threshold for the device. The next step involved setting up the IFTTT connection and writing code specifically for it.  My initial code was incorrect as I had not created a separate function to publish the event. On correcting the code, I got the desired result. I set up publish and subscribe event and added a button which would switch the device on and off.


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0