Project · Craft proof · Live data

Live temperature — Nano edge, ESP32 gateway

Live temperature from a bench-built edge node. A Nano reads the sensor, an ESP32 gateway publishes it over MQTT, and a small pipeline stores the history. This page shows live and 24-hour values through an outbound tunnel — no inbound ports on the house.

Back to projects Related: Soil Moisture

Overview

This is a small IIoT stack at home scale: remote I/O, a message bus, a historian, and a supervisory view. Temperature is sensed at the edge, handed to a gateway, and published on MQTT. Node-RED files the stream so every point has a timestamp. The public site is not on the home network. An outbound-only tunnel lets the website request the latest reading and a 24-hour window through api/temp.php. The page is just another client — live temperature plus a trend — with the house staying closed to inbound traffic.

LIVE
-- °F
Status: waiting for API
Updated:
HISTORY
Last 24 hours (when Influx feed is connected)

Data path

The Arduino Nano is the edge node: it reads the temperature sensor and sends the value over serial. The ESP32 is the gateway: it takes that reading and publishes it over MQTT on the home network. Node-RED catches each message and writes it into a time-series database. A Cloudflare Tunnel exposes only the needed API outbound. This website pulls live and historic temperature through a Bluehost endpoint (api/temp.php) — the browser never talks to the house.

sensor → Nano → ESP32 → MQTT → Node-RED → database → tunnel → website

What’s on the page

Get in touch View resume