intermediate

Project 1: Build a Networked Environment Monitor

Build a Raspberry Pi monitor that reads a temperature sensor, publishes JSON readings to an authenticated MQTT broker, reports online and offline status with a retained message and last will, runs as a systemd service that restarts on failure, keeps credentials out of the code, and raises a stale-data alert when readings stop.

6-8 hours

Project 1: Build a Networked Environment Monitor

Build a Raspberry Pi monitor that reads a temperature sensor, publishes JSON readings to an authenticated MQTT broker, reports online and offline status with a retained message and last will, runs as a systemd service that restarts on failure, keeps credentials out of the code, and raises a stale-data alert when readings stop.

In this lesson:

  • project
  • mqtt
  • systemd
  • sensor
  • python
  • networking
  • monitoring
  • assignment

🔒 This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans