Skip to content
TiVoHomeUser edited this page Jan 30, 2021 · 1 revision

Welcome to the DigiTempESP wiki!

After setting up the first ESP8266 + DHT22 temperature sensor I built a second for the other side of the room I wanted to monitor both from a single device like a smart phone so I setup one of the devices as an access point capable of serving an html page on the local network that monitors one or more of the temperature sensors. This AP registers a hostname using mDNS I used DigiTemp for the host name allowing me to access the monitoring device using the URL http://DigiTemp-ap.local . I have tested with 4 sensors the maximum number of concurrent connections stated for ESP8266WiFi is 8 therefore it should work with up to 7 sensors leaving 1 connection for the smart phone, tablet or PC.

I broke the digitemp.ino sketch into several smaller and easier to manage files I found using the .h extension allows editing using the Arduino IDE with the syntax checking and highlighting they are not actual ’C’ header files.

DigiTempESP.ino Arduino sketch launching point
DigiTempESP.h Common related to both Host and Client
DitiTempServer.h Functions for the Host
DigiTempClien.h Functions for the Client
Clone this wiki locally