I love my food. I hate when I come home and check the cabinet only to suspect that some is missing. I chose to make a motion detector which can be kept in my food cabinet. The detector will "arm" via a function call from IFTTT-location whenever I leave my apartment. At this point the code will increase a counter every time motion is detected. Upon reentry IFTTT-location will call a separate function which will alert me via SMS the value of the counter. I will then know how many times my food cabinet had been opened while I was away.
For this project learning the Wiring language was the most difficult part. Learning how functions are called and how Particle.publish() and Particle.function() interact with the cloud were new and interesting components that I wanted to explore.