Congratulations, you have finished the course project.
This is a great achievement on your journey with the Raspberry Pi.
But as you can guess, even if you finished the project with the instructions I gave you, there are
still many things you can improve or do differently and there are many functionalities you could add.
So what you can do is to adapt this project for your own needs.
You may tune the different settings, use different components, change the duration between photos,
and change the behavior of the project to suit something that you want to do in real life.
Now, if you are not inspired, here are just a few things that came up to my mind.
So instead, for example, of sending an email each time that you take a photo, you could choose when
to send an email, maybe group the photos so you don't send too many emails.
Then, instead of monitoring the Pir sensor with the two callback functions from the Gpio zero library,
you could also use an infinite while loop.
And with this you could do something a bit different.
Because here what we did is to say okay, we start to monitor the time when there is a movement detected
and when there is no movement detected, then we check if five seconds have passed, but with a while
loop.
You could also say we are taking a photo.
If the movement is detected for at least five seconds.
As soon as it is five seconds, you could monitor that.
So if you, for example, if you make movement for 12 seconds, you're not going to wait the 12 seconds,
but you're just going to take a photo directly at five seconds.
Okay.
So that's something you can do as an improvement.
Then you could also use the push button to trigger the while the photo feature.
So instead of saying that you need to make a movement for five seconds, you could also just say that
you need to press on the button for five seconds.
That's going to be very similar, but instead of making movements, you just need to press on the push
button.
And actually, that might be an improvement if the Pir sensor is too unreliable for the project.
Okay, so you could use the push button and you're not going to have as many issues as with the Pir
sensor.
And then, well, you can explore any other ID you have.
Okay.
You explore different IDs and try to make them happen so you can practice more and make the project
even better.