

We can easily customize and position them. Line 18 of the code, checks the same, start is the starting time, and time.time() gives the present time.īuttons form the core of Tkinter’s functions.

#RASPBERRY PI 4 SYSTEM MONITOR CODE#
In this blog, we will go through each component of the project and code it. Here are the schematic representation and workflow of the project. Tkinter for the application, socket programming, and TCP/IP protocol for communication between the home and the user, also for transferring data, cv2 for the live feed, pickle for decoding and encoding data, RPI.GPIO for accessing the general-purpose input/output pins of the raspberry pi connected to our home and some other sensor-specific libraries for accessing them and retrieving data. It can also detect the temperature of your home, detect smoke levels in your home, and access its security cameras to show live feed.Ī home monitoring system is a pure IoT project that lets a user monitor their homes anytime, anyplace. This project uses a raspberry pi and an application to control the lights and fans of your home.

The rest who stay at home might just choose to have an application that helps control their home appliances by not moving at all. Most people have day jobs, they have to leave their homes unguarded, not only prone to intrusion or theft but also cases of fire, or simply things like water and electricity wastage.
