Posts
OtaFlux: Simple OTA Firmware Updates via OCI Registries
Keeping IoT devices updated Over-the-Air (OTA) is critical if you want to avoid running around unplugging, flashing, and re-plugging devices every time you fix a bug or ship a new feature. For my ESP32-based home sensors, I wanted something simple, secure, and easy to integrate with modern workflows. So I built OtaFlux, a small HTTP server that fetches firmware from an OCI-compliant registry and serves it to devices when updates are available.
Rust for IoT: Building a Secure ESP32 Weather Sensor with MQTT, TLS, and OTA Updates
During downtime between freelance projects, I often use the time to learn new things. This time, I explored the world of IoT and built a weather sensor with an ESP32 board, then decided to document the experience. The sensor reads temperature, humidity, pressure, co2 and air quality data and sends it securely using MQTT over TLS. It also supports over-the-air (OTA) firmware upgrades. New versions of firmware are served by a minimal OTA backend that pulls versioned binaries from an OCI registry. This post captures the engineering behind it.