When the dog detects an intruder you will not only get a notification with a picture in the application, you will also receive an email notifying you that there is an intruder in your house. The chain for this is :
- Arduino sensors detects intruder.
- Arduino sets analog pin to HIGH
- Pi GPIO pin reacts and the Pi sends an email to our user.


Link to the github repo with the pi email code:
https://github.com/BoldizarF/ariot19/blob/master/camtocloud/camtocloud.js
The rest of the chain is covered in this post:
https://blog-ariot19.azurewebsites.net/2019/03/09/instant-response-instant/
With this we would like to apply for the Instant badge.
