Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Technology >> Manufacturing process

Home Temperature & Humidity Monitor with Raspberry Pi & Web Dashboard – Real‑Time Remote Tracking

Track the temperature and humidity of your home, garage, or small factory from anywhere with this straightforward Raspberry Pi solution. The system streams real‑time data to a web‑based chart, giving you instant insight into your environment.

Step 1: The Concept

Step 2: Required Items & Pre‑Requests

Step 3: Connecting the Device

Step 4: Configure the Python Script on the Raspberry Pi

Access the Pi via SSH or directly. Create a working directory (e.g., ~/Desktop) and add the script:

nano dht11.py

Copy the contents of the provided dht11.py file into the editor. The script includes inline comments explaining each function.

Set the web server IP (example: 104.236.91.122) and PHP endpoint (/rpi/rpi.php) within the script.

Step 5: Set Up the PHP Web Service

Extract the rpi.rar package and upload the files to your web server.

Use phpMyAdmin to create a new database, e.g., rpi_themo. Import the pi.sql file to populate the necessary tables.

Update database credentials in the following files:

  1. rpi/db-con.php
  2. rpi/temp/assets/php/getTemp.php

Step 6: Test the System

Navigate to the script’s directory and run:

sudo python3 dht11.py

A successful run will output:

New record created successfully

If you see no_data, it indicates a temporary transmission issue. Re‑run the script; subsequent attempts usually resolve the error.

Once data is recorded, open your web dashboard to view live temperature and humidity charts.

For deeper insights, consult the original guide: Home Temperature & Humidity Monitor with Web-Based Chart – Raspberry Pi.


Manufacturing process

  1. Efficiently Monitor Room Temperatures with Raspberry Pi and Nagios
  2. Raspberry Pi Temperature & Humidity Network Monitor – DIY Setup Guide
  3. Home Energy Centre: Monitoring Solar PV, Thermal Panels, and Room Temperatures with Raspberry Pi and Moteino
  4. Seamless Temperature & Humidity Monitoring on Raspberry Pi with EzTemp
  5. Build a 433 MHz Smart Home Controller with Sensorflare and Raspberry Pi
  6. Build a ThingSpeak Temperature Monitor with Raspberry Pi & BrickPi
  7. Monitor Your Home Temperature with a Raspberry Pi Dashboard
  8. Build an Automated Aeroponics System with Raspberry Pi and Humidity Sensor
  9. Raspberry Pi Home Security System: PIR Motion Detection + Camera Email Alerts
  10. Build a Robot with Raspberry Pi and Python: A Complete Guide