nodefota // boot-sequence
ESP32 • ESP8266
NodeFOTA Icon
NODEFOTA

Secure Firmware Lifecycle Platform

[01/04] INITIALIZING RUNTIME
0%

Mounting control-plane interface modules...

AUTH / PKI
OTA ENGINE
TELEMETRY
ECOSYSTEM & INTEGRATIONS

Connect your devices. Secure your firmware. Control every update.

The Secure FOTA Platform connects microcontroller development boards, firmware libraries, backend infrastructure, and security technologies into a single firmware update workflow.

ESP32 & ESP8266
Arduino C++ API
REST / HTTPS v1
Docker Self-Hosted

CONNECTED ECOSYSTEM ARCHITECTURE

REST / HTTPS & S3 Pipe
1. OPERATOR LAYER
Control Plane
Nuxt 4 / Tailwind CSS
  • Dashboard UI
  • Firmware Release Vault
  • Device Fleet Management
  • OTA Campaign Planner
2. BACKEND LAYER
API Engine
NestJS / REST API v1
  • Auth & RBAC Guards
  • OTA Orchestrator
  • Device PKI & CA Engine
  • Telemetry Ingestion
3. INFRASTRUCTURE
Persistence & S3
PostgreSQL & MinIO / Supabase
  • PostgreSQL Database
  • Prisma ORM Access
  • MinIO S3 Binary Bucket
  • Signed Download URLs
4. DEVICE LAYER
Embedded Clients
ESP32 / ESP8266 C++
  • Arduino-Compatible FOTA
  • SHA-256 Digest Verification
  • ECDSA / Ed25519 Signatures
  • Dual-Partition A/B Rollback
Data Paths:Dashboard ↔ API (HTTPS/JWT)•Device ↔ API (HTTPS/mTLS)•Device ↔ Storage (Signed S3 URL)
01 // HARDWARE ECOSYSTEM

Built for the Espressif Ecosystem

PRIMARY PLATFORM // DUAL-CORE
Implemented

ESP32 Microcontroller

Primary embedded platform supporting secure OTA update workflows, PKI client certificates, SHA-256 digests, and dual-partition A/B rollback.

  • Device PKI & X.509 mTLS
  • SHA-256 & ECDSA/Ed25519
  • A/B Flash Partition Rollback
  • FsotaClient Filesystem OTA
ESP32 Arduino Client Library
EXTENDED TARGET // VECTOR ACCEL
Supported

ESP32-S3 Ecosystem

Supports the ESP32-S3 development board ecosystem through the shared ESP32 C++ firmware client library.

  • Wi-Fi Connectivity
  • Secure Delivery Pipelines
  • Application & LittleFS OTA
Arduino ESP32-S3 Toolchain
CONSTRAINED TARGET // SINGLE-CORE
Implemented

ESP8266 Legacy Node

Connects legacy ESP8266 devices using a dedicated ESP8266 C++ client library. Note RAM and flash constraints.

  • HTTPS Firmware Fetch
  • SHA-256 Integrity Verification
  • Single Partition Flash Update
ESP8266HTTPUpdate Library
Hardware note: ESP8266 has tighter RAM and flash constraints than ESP32. Feature parity is not identical across all microcontrollers.
02 // FIRMWARE & API TOOLCHAIN

Work with Your Existing Developer Stack

EMBEDDED TOOLCHAIN
Supported

Arduino IDE

Develop and compile firmware binaries using Arduino IDE. Integrates client headers directly into C++ sketches.

Arduino C++ Library
EMBEDDED BUILD SYSTEM
Supported

PlatformIO

Use PlatformIO for embedded project management, dependency resolution, board compilation, and CI/CD building.

platformio.ini Configuration
FLASH STORAGE
Implemented

LittleFS & SPIFFS

Filesystem OTA updates allow supported ESP32 and ESP8266 devices to update LittleFS or SPIFFS image partitions.

FsotaClient Library
CONTROL PLANE
Implemented

REST API v1

Full REST API interface at /api/v1 for device registration, release management, OTA campaigns, and telemetry reporting.

HTTPS / OpenAPI v3
SPECIFICATION
Implemented

OpenAPI & Swagger UI

Interactive API exploration and contract definitions generated automatically via Swagger UI.

/api/docs Endpoint
SECURITY PKI
Implemented

Internal Device CA

X.509 Certificate Authority engine supporting PKCS#10 CSR signing and certificate lifecycle management.

OpenSSL / Internal CA
03 // INFRASTRUCTURE & STORAGE

Self-Hosted Enterprise Storage Architecture

BACKEND SERVICES
Implemented

Supabase Platform Stack

Self-hosted Supabase stack supplying authentication services, database management, and platform storage integration.

Supabase Studio & Auth
S3 BINARY STORAGE
Implemented

MinIO S3 Object Storage

MinIO provides S3-compatible object storage for firmware binaries and filesystem images with signed delivery URLs.

AWS S3 SDK Compatible
DATA LAYER
Implemented

PostgreSQL & Prisma ORM

PostgreSQL stores release records, device metadata, and audit logs with type-safe Prisma schema access.

Prisma Client v5
DEPLOYMENT CONTAINER
Implemented

Docker Compose Self-Hosting

Entire platform backend, storage, database, and control plane are orchestratable locally via Docker Compose.

docker-compose.yml
04 // ARCHITECTURE EXTENSIONS

Future Possibilities &

The documented core implementation targets ESP32/ESP8266 REST/HTTPS delivery. The protocols below represent future extension directions.

FUTURE // PUB-SUB PROTOCOL
Planned

MQTT & CoAP Protocols

Broker-based update notifications and lightweight binary transport for low-bandwidth constrained IoT nodes.

MQTT v5 Broker Integration
FUTURE // LONG-RANGE OTA
Planned

LoRaWAN LPWAN Networks

Fragmented delta firmware distribution over low-power long-range LoRaWAN radio links.

FUOTA Delta Protocol
SUPPORTED // CELLULAR CONNECTIVITY
Supported

Cellular IoT (NB-IoT / LTE-M)

Direct cellular-connected hardware deployments with bandwidth-optimized binary chunking.

SIMCOM & Quectel Modems
FUTURE // EDGE COMPUTING
Planned

Linux Embedded Gateways

Yocto / Debian Linux gateway firmware update management through dual-copy system image utilities.

RAUC / Mender Client
FUTURE // AUTOMATED PIPELINES
Planned

CI/CD Integration

Automated firmware build, binary signing, and release publishing from GitHub Actions and GitLab CI.

GitHub Actions / GitLab CI
FUTURE // DISTRIBUTED DELIVERY
Planned

Round-Robin OTA

Sequential fleet update scheduling across device groups to balance server bandwidth and avoid network congestion.

Rotating Queue Scheduler
TESTING // DEPLOYMENT CONTROL
Testing

Staged & Canary Rollouts

Configurable Immediate, Canary, Gradual percentage waves, and Scheduled maintenance window deployments.

Canary / Phased / Scheduled
FUTURE // BANDWIDTH SAVER
Planned

Binary Delta Updates

Transmit only compressed byte-level binary diffs instead of full firmware images to cut data usage by up to 80%.

bsdiff / HDiffPatch Engine
SUPPORTED // FAIL-SAFE RECOVERY
Supported

Health Checks & Rollback

Automated post-boot diagnostics and watchdog verification that revert failed flashes to the last known good partition.

A/B Partition Watchdog
SUPPORTED // ZERO-TRUST SECURITY
Supported

Cryptographic Code Signing

End-to-end asymmetric signature verification on-device prior to flashing to prevent tampered firmware execution.

ECDSA P-256 / Ed25519
FUTURE // EDGE DISTRIBUTION
Planned

P2P & Local Mesh Relay

Gateway nodes cache firmware locally and propagate updates across ESP-NOW or BLE Mesh subnets without cloud calls.

ESP-NOW / BLE Mesh Relay
FUTURE // OBSERVABILITY
Planned

Rollout Telemetry & Webhooks

Real-time flash progress tracking, failure error codes, and webhook alerts to Slack, Discord, or PagerDuty.

Event Streams & Webhooks
05 // FREQUENTLY ASKED QUESTIONS

Integration FAQ

Technical guidance on microcontroller support, build toolchains, S3-compatible storage, and self-hosted deployment.

Contact Technical Support
UNIFIED IOT WORKFLOW

Bring your IoT ecosystem together.

Connect embedded devices, manage firmware releases, and coordinate secure updates from one centralised platform.