ESP8266: remote access, logs and OTA over the internet
There are still millions of ESP8266 devices in the field, and many of them sit behind routers their owners cannot configure. Pinscope gives an ESP8266 running the ESP8266 RTOS SDK the same remote tools as an ESP32, with one difference worth knowing before the first update.
What you get
- The device's own web server at an HTTPS address, from anywhere, without port forwarding.
- Its log output and metrics in the dashboard, live and stored, with an alert when it goes offline.
- Every restart recorded with its reason: a panic, the watchdog, a brownout. The SDK keeps no backtrace after a crash, so for the exception printout itself, paste it from the serial port into the ESP8266 exception decoder.
- Firmware updates over the internet.
Setting it up
Copy the pinscope component into your ESP8266 RTOS SDK 3.4 project, enter the project key in idf.py menuconfig, and call pinscope_start(NULL) after the network stack starts. The ESP8266 setup has the details.
Before the first update: there is no rollback
The ESP8266 SDK can switch between two OTA slots but cannot roll back on its own. An image that cannot connect stays on the device until someone flashes it by cable. So test every build on a device you can reach first, use a partition table with two OTA slots and 4 MB of flash, and roll out to a small group before the rest.
ESP8266 or ESP32 for a new design?
For a new product, an ESP32-C3 costs about the same and adds rollback, more memory and current security support from Espressif. For devices already in the field, the ESP8266 port keeps them reachable and updatable.
Try it
Three devices are free, and no card is needed. Create an account, or read the guide for your platform: ESP32, Zephyr, Raspberry Pi Pico, Linux, ESP8266.
More
- Remote access to an ESP32 without TLS: what it measured and what it costs
- Serial monitor in the browser for ESP32 and Zephyr, with crash decoding
- ESP32 web flasher: flash .bin files from the browser
- Pinscope now runs on Zephyr, Raspberry Pi Pico, Linux and ESP8266
- CRA: reporting an exploited vulnerability in 24 hours
- VEX for firmware: not_affected justifications
- CRA support period: how long you update a device
- Does the CRA apply to me? Small makers
- RED cybersecurity and EN 18031 for Wi-Fi devices
- sdkconfig diff: compare two ESP-IDF configurations
- ESP8266 exception decoder
- Memfault, Golioth, nRF Cloud and Pinscope compared
- The Cyber Resilience Act, for the devices you ship
- Digital Product Passport and carbon footprint for connected devices