Creating automated e-mail alerts
There is one more thing we can do with our project. Spying on the data is good, but we are not always behind a computer. For example, we would like to receive an alert via e-mail if motion is detected by the project.
Dweet.io proposes this kind of service, at a very cheap price (less than $1 a month). To do this, you need to make your device private with a lock. This is basically a key you can get from https://dweet.io/locks.
This is the screen where you can buy this key:
Once we have the key, we can actually set our alert. The dweet.io website explains this very well:
To set up an alert, simply go to the following URL by modifying the different parameters with the desired parameters https://dweet.io/alert/[email protected]/when/yourThing/dweet.motion==1?key=yourKey
.
Once that's done, you will automatically receive an alert whenever motion is detected by your project, even if you are not actually watching the data!