finds.dev← search

// the find

damienpontifex/esp32-dht22-azureiot

★ 1 · C · updated Jul 2020

Learning about esp32 by making a temperature & humidity logger with dht22 that sends telemetry to azure iot

A personal learning project that reads temperature and humidity from a DHT22 sensor on an ESP32 and ships the data to Azure IoT Hub over MQTT. One star, no forks, last touched in 2020 — this is a weekend experiment, not a library anyone should depend on.

Uses CMake FetchContent properly instead of vendoring dependencies manually. Pins esp-idf to a specific release branch, so the build is at least reproducible at that point in time. Includes an azuredeploy.json ARM template, which shows the author thought about the full stack, not just the firmware.

Abandoned on esp-idf v4.2, which is multiple major versions behind — the build system and APIs have changed enough that this will not compile against current toolchain without real work. Connection string is set via menuconfig, meaning it gets baked into the flash image; no key rotation, no runtime provisioning. No error handling visible in the repo structure — DHT22 is a notoriously flaky sensor that needs retry logic. Zero documentation on the Azure side: what IoT Hub tier, what message routing, how to actually see the data.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →