Creating an IoT Alarm Dashboard
In today’s digitalized age, IoT has revolutionized security, transforming basic alarm dashboards into comprehensive, real-time security monitors. In Chapter 6, we started constructing an IoT alarm system by building an IoT alarm module that could detect motion and relay MQTT messages. Chapter 7, introduced two versions of the IoT button: the first uses the M5Stack ATOM Matrix with an LCD matrix screen, and the second incorporates an OLED screen, buzzer, arcade-style button for arming our IoT alarm module, and a toggle switch for disarming:
Figure 8.1 – IoT alarm system
In this chapter, we will use our Raspberry Pi 5 with a 7-inch touchscreen to serve as our IoT alarm dashboard (Figure 8.1). This dashboard will let us arm and disarm our IoT alarm module, review the latest MQTT notification, and observe a map pinpointing the location where our alarm was activated. It will subscribe and publish to the same MQTT...