Skip to content

Utilizing the ESP32 as a server, this system not only displays accurate temperature readings from the DS18B20 digital temperature sensor but also seamlessly sends webhook notifications for real-time updates.end web hook notifications.

License

Notifications You must be signed in to change notification settings

DaveC6662/ESP32-Temperature-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 Temperature Monitoring and Web Server

Overview

This project uses an ESP32 board to monitor temperature with a DS18B20 sensor. It provides a web interface for real-time temperature data display and configuration settings. The system also supports alerting through webhooks for specified temperature thresholds.

Features

  • Real-time temperature monitoring with DS18B20 sensor
  • Web server for data display and settings configuration
  • Temperature threshold alerting via webhooks
  • WiFi connectivity with support for WPA2-Personal and WPA2-Enterprise
  • Dynamic web content with live temperature updates

Wifi Connection

IMG_1600

Captive Portal Home Page

IMG_1601

Captive Portal Security Selection

IMG_1602

Captive Portal WPA2 Personal

IMG_1603

Captive Portal WPA2 Enterprise

IMG_1604

Temperature Server Home Page

MainServer

Temperature Server Settings Page

ServerSettings

Hardware Requirements

  • ESP32 board
  • DS18B20 temperature sensor
  • 4.7k resistor

Software Dependencies

Installation

  1. Install the Arduino IDE and the required libraries.
  2. Clone or download this repository.
  3. Open the project in Arduino IDE.
  4. Update the secrets.h file with your desired passcode and webhook details.
  5. Compile and upload the code to the ESP32 board.

Configuration

  • On first boot, connect to the ESP32's WiFi network for initial setup.
  • Access the web server using the ESP32's IP address and a device on the same network.
  • Set the desired temperature thresholds through the web interface.

Usage

  • The web interface displays live temperature readings.
  • Configure alert thresholds to receive notifications via webhooks.
  • Use the /data and /info endpoints for JSON formatted data.

API Endpoints

  • /data: Returns temperature data in JSON format.
  • /info: Provides device and connection information.

Security

  • Handle WiFi credentials and webhook URLs securely.
  • Use SSL certificates for secure HTTP connections.

Contributing

Contributions are welcome. Please adhere to coding standards and include tests and documentation with your contributions.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

About

Utilizing the ESP32 as a server, this system not only displays accurate temperature readings from the DS18B20 digital temperature sensor but also seamlessly sends webhook notifications for real-time updates.end web hook notifications.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published