How to setup MotionEye on a Pi Zero W with email, Dropbox and IFTTT.
I recently setup my Pi Zero W with the V2 Camera module to monitor my cat's eating habits. My cat, Tia, is 19 years old and has diabetes, so I'm monitoring her very closely. For example, I'll leave the house for about 1-2 hours and when I get back, I'll notice that she's sleeping in the exact same spot as when I left. Did she get up while I was gone and return to the same spot, or was she sleeping there the entire time? Also, since she is diabetic, and I am testing her blood glucose, the test will be inaccurate if she ate right before I gave her the test.
You will need:
Raspberry Pi Zero Kit - [ Ссылка ]
Pi Zero Camera - [ Ссылка ]
Free Dropbox Account - [ Ссылка ]
Etcher - [ Ссылка ]
Optional:
Raspberry Pi Camera Case - [ Ссылка ]
Free IFTTT account - [ Ссылка ]
Logitech Webcam - [ Ссылка ]
Microsoft Webcam - [ Ссылка ]
I'm using the V2 module Pi camera that is 8 MP. I saw cheaper pi cameras on Amazon for about half the price, but they were only 5 MP. I'm using the ribbon and case that came with the Pi Zero kit I bought. In order to get the camera to position, I printed a stand (from Thingiverse). [ Ссылка ]
If you don't have a 3D printer, you can just buy a stand online. Or you can use a standard webcam.
MotionEyeOS Download - [ Ссылка ]
Setup Wifi for Pi Zero W - [ Ссылка ]
Go to the IP address provided by your Pi
Name your Camera
Setup a login and password
Apply
Here's how you watch your live stream from inside your home.
But that's not very useful, and it is just a live stream from another room.
Select Advanced
1. Rotate image 180 degrees.
2. Setup to be motion triggered.
3. Send me an email with pictures when motion is triggered. Recommendation: Setup a separate gmail account specific to this purpose. Reasons: 1) doesn't require less secure apps, 2) less likely to run into storage space constraints. 3) You can setup multiple email accounts on your phone, so you don't have to continuously login and check a specific email account.
4. Upload photos and videos to Dropbox automatically, so I can check it from outside.
5. Setup notifications in IFTTT. It is free to create an account in IFTTT.
a. Create a webhook.
b. Select a name
c. Write to google sheet every time motion is detected
d. Turn on a light when motion is detected
Ещё видео!