Travis Labs Journal of Engineering and Technology · Vol. 1, Issue 2, pp. 1–7
Wi-Fi Provisioning for Headless IoT Devices: A Practitioner's Guide for Single- and Multi-Core Microcontrollers
- Travis Labs, Hero Control Systems Limited, Lusaka, Zambia
11 views · 11 downloads
Abstract
A device with no screen or keyboard still has to be told which Wi-Fi network to join and its password. This first step, provisioning, is where many field installations go wrong: the installer's phone cannot finish the setup, the password crosses the air in clear, or the device stops doing its real job while it waits. This article is a hands-on guide, not new research. It sets out eight requirements drawn from standards and compares five methods: SoftAP captive portal, SmartConfig/ESP-Touch, Bluetooth Low Energy (BLE) provisioning, Wi-Fi Easy Connect (DPP) and Wi-Fi Protected Setup (WPS). It then reads what widely used open-source projects actually ship: Espressif's reference examples and phone apps, WiFiManager, Tasmota, WLED, ESPHome, the Improv Wi-Fi standard and Matter. Their documentation shows a test proof-of-possession string and a password log line in vendor example code, a shared default access-point password, and SmartConfig and WPS dropped from a major firmware. The article gives a provisioning stack in which onboarding never blocks the control task on single- or dual-core ESP32 parts, with code listings for task layout, encrypted ESP-Touch v2, BLE provisioning with SRP6a and per-unit credentials, jittered reconnection, a re-provisioning button, WiFiManager and ESPHome. It closes with a production procedure, a field checklist for Zambian sites with load-shedding and frequent router changes, and a test method. No measurements are reported.
Not peer reviewed. It is published by Travis Labs, the research division of Hero Control Systems Limited, to share engineering practice and student work in Zambia. Readers should evaluate the methods and data independently.
Certificates for the authors: view and print. Anyone can check a certificate on this page.
Funding
No external funding was received.
Conflicts of interest
The author founded Hero Control Systems Limited, which designs and installs Wi-Fi devices commercially.
Data and artifact availability
No data were generated or analysed. All sources are cited and publicly available.
How to cite
Kalembo, C. (2026). Wi-Fi Provisioning for Headless IoT Devices: A Practitioner's Guide for Single- and Multi-Core Microcontrollers. Travis Labs Journal of Engineering and Technology, 1(2), 1–7. https://www.hcsys.co/insights/journal/wifi-provisioning-headless-iot-devices
C. Kalembo, “Wi-Fi Provisioning for Headless IoT Devices: A Practitioner's Guide for Single- and Multi-Core Microcontrollers,” Travis Labs J. Eng. Technol., vol. 1, no. 2, pp. 1–7, Dec. 2026. [Online]. Available: https://www.hcsys.co/insights/journal/wifi-provisioning-headless-iot-devices
References
- K. Larose, D. Dolson, and H. Liu, “Captive portal architecture,” IETF RFC 8952, 2020. [Online]. Available: https://www.rfc-editor.org/rfc/rfc8952
- Wi-Fi Alliance, “Wi-Fi Easy Connect,” accessed 1 December 2026. [Online]. Available: https://www.wi-fi.org/discover-wi-fi/wi-fi-easy-connect
- Espressif Systems, “Unified provisioning,” ESP-IDF Programming Guide v6.1.1 (ESP32), accessed 1 December 2026. [Online]. Available: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/provisioning/provisioning.html
- ETSI, “CYBER; cyber security for consumer internet of things: Baseline requirements,” ETSI EN 303 645 V2.1.1, 2020. [Online]. Available: https://www.etsi.org/deliver/etsi_en/303600_303699/303645/02.01.01_60/en_303645v020101p.pdf
- M. Fagan, K. N. Megas, K. Scarfone, and M. Smith, “Foundational cybersecurity activities for IoT device manufacturers,” National Institute of Standards and Technology, Tech. Rep. NISTIR 8259, 2020. [Online]. Available: https://nvlpubs.nist.gov/nistpubs/ir/2020/NIST.IR.8259.pdf
- Espressif Systems, “NVS encryption,” ESP-IDF Programming Guide v6.1.1 (ESP32), accessed 1 December 2026. [Online]. Available: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/storage/nvs_encryption.html
- T. Pauly and D. Thakore, “Captive portal API,” IETF RFC 8908, 2020. [Online]. Available: https://www.rfc-editor.org/rfc/rfc8908
- W. Kumari and E. Kline, “Captive-portal identification in DHCP and router advertisements (RAs),” IETF RFC 8910, 2020. [Online]. Available: https://www.rfc-editor.org/rfc/rfc8910
- Espressif Systems, “SmartConfig,” ESP-IDF Programming Guide v6.1.1 (ESP32), accessed 1 December 2026. [Online]. Available: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/network/esp_smartconfig.html
- Espressif Systems, “network_provisioning component,” ESP-IDF extra components, GitHub, accessed 1 December 2026. [Online]. Available: https://github.com/espressif/idf-extra-components/tree/master/network_provisioning
- hostap project, “wpa_supplicant and hostapd: DPP (Wi-Fi Easy Connect) README,” accessed 1 December 2026. [Online]. Available: https://w1.fi/cgit/hostap/plain/wpa_supplicant/README-DPP
- Espressif Systems, “Wi-Fi Easy Connect (DPP),” ESP-IDF Programming Guide v6.1.1 (ESP32), accessed 1 December 2026. [Online]. Available: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/network/esp_dpp.html
- CERT Coordination Center, “Vulnerability note VU#723755: WiFi protected setup (WPS) PIN brute force vulnerability,” 2011, accessed 1 December 2026. [Online]. Available: https://www.kb.cert.org/vuls/id/723755
- Project CHIP (Matter) contributors, “Working with the CHIP tool,” connectedhomeip repository, docs/development_controllers/chip-tool/chip_tool_guide.md, accessed 1 December 2026. [Online]. Available: https://github.com/project-chip/connectedhomeip
- Improv Wi-Fi, “Improv Wi-Fi: open standard for setting up Wi-Fi via Bluetooth LE and serial,” accessed 1 December 2026; SDKs at https://github.com/improv-wifi. [Online]. Available: https://www.improv-wifi.com/
- tzapu and contributors, “WiFiManager: Espressif ESPx WiFi connection manager with fallback web configuration portal,” GitHub repository, README and examples/NonBlocking; accessed 1 December 2026. [Online]. Available: https://github.com/tzapu/WiFiManager
- Tasmota project, “Commands: WifiConfig,” Tasmota documentation, accessed 1 December 2026; source https://github.com/arendst/Tasmota. [Online]. Available: https://tasmota.github.io/docs/Commands/
- Espressif Systems, “esp-idf: examples/wifi/smart_config,” GitHub repository, source file main/smartconfig_main.c; accessed 1 December 2026. [Online]. Available: https://github.com/espressif/esp-idf/tree/master/examples/wifi/smart_config
- Espressif Systems, “EsptouchForAndroid and EsptouchForIOS,” GitHub repositories, accessed 1 December 2026; iOS: https://github.com/EspressifApp/EsptouchForIOS. [Online]. Available: https://github.com/EspressifApp/EsptouchForAndroid
- Espressif Systems, “idf-extra-components: network_provisioning/examples/wifi_prov,” GitHub repository, source file main/app_main.c; accessed 1 December 2026. [Online]. Available: https://github.com/espressif/idf-extra-components/tree/master/network_provisioning/examples/wifi_prov
- Espressif Systems, “esp-idf-provisioning-android and esp-idf-provisioning-ios,” GitHub repositories, accessed 1 December 2026; iOS: https://github.com/espressif/esp-idf-provisioning-ios. [Online]. Available: https://github.com/espressif/esp-idf-provisioning-android
- Espressif Systems, “esp_prov: provisioning tool,” GitHub repository, idf-extra-components, accessed 1 December 2026. [Online]. Available: https://github.com/espressif/idf-extra-components/tree/master/network_provisioning/tool/esp_prov
- WLED project, “Getting started,” WLED documentation, accessed 1 December 2026; source https://github.com/wled/WLED. [Online]. Available: https://kno.wled.ge/basics/getting-started/
- ESPHome, “Captive portal,” ESPHome documentation, accessed 1 December 2026; source https://github.com/esphome/esphome. [Online]. Available: https://esphome.io/components/captive_portal/
- ESPHome, “Improv via BLE (improv_ble, formerly esp32_improv),” ESPHome documentation, accessed 1 December 2026. [Online]. Available: https://esphome.io/components/esp32_improv/
- Espressif Systems, “Watchdogs,” ESP-IDF Programming Guide v6.1.1 (ESP32), accessed 1 December 2026. [Online]. Available: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/system/wdts.html
- Espressif Systems, “FreeRTOS (IDF),” ESP-IDF Programming Guide v6.1.1 (ESP32), accessed 1 December 2026. [Online]. Available: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/system/freertos_idf.html
- Espressif Systems, “Wi-Fi driver,” ESP-IDF Programming Guide v6.1.1 (ESP32), accessed 1 December 2026. [Online]. Available: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/wifi.html
- M. Brooker, “Exponential backoff and jitter,” AWS Architecture Blog, 2015, published 4 March 2015; accessed 1 December 2026. [Online]. Available: https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/
- Espressif Systems, “NVS partition generator utility,” ESP-IDF Programming Guide v6.1.1 (ESP32), accessed 1 December 2026. [Online]. Available: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/storage/nvs_partition_gen.html
