Recall & Review
beginner
What is the main purpose of setting email alerts on sensor thresholds?
To notify users immediately when a sensor value goes above or below a set limit, helping to take quick action.
Click to reveal answer
beginner
Which Python library is commonly used on Raspberry Pi to send emails?
The
smtplib library is commonly used to send emails from Python scripts on Raspberry Pi.Click to reveal answer
beginner
Why do we check sensor values against thresholds in code?
To decide if the sensor reading is normal or if it needs attention, triggering alerts only when necessary.
Click to reveal answer
intermediate
What information do you need to send an email alert from Raspberry Pi?
You need the SMTP server address, sender email, receiver email, and login credentials if required.
Click to reveal answer
intermediate
How can you avoid sending too many email alerts when sensor values fluctuate around the threshold?
By adding a delay or checking if the alert was already sent recently to prevent repeated emails.
Click to reveal answer
Which Python module helps send emails from Raspberry Pi?
✗ Incorrect
The smtplib module is used to send emails using SMTP protocol.
What should you compare sensor data against to trigger an email alert?
✗ Incorrect
Threshold values define limits that, when crossed, trigger alerts.
Which of these is NOT needed to send an email alert?
✗ Incorrect
Sensor calibration data is unrelated to sending emails.
How can you prevent sending too many emails when sensor values hover near the threshold?
✗ Incorrect
Adding a cooldown prevents repeated alerts for small fluctuations.
What is a good reason to use email alerts on Raspberry Pi sensors?
✗ Incorrect
Email alerts help users get notified remotely about sensor conditions.
Explain how you would set up an email alert system on a Raspberry Pi to notify when a temperature sensor exceeds a threshold.
Think about the steps from reading the sensor to sending the email.
You got /5 concepts.
Describe why it is important to manage how often email alerts are sent when monitoring sensor thresholds.
Consider what happens if alerts are sent too frequently.
You got /4 concepts.