In the configuration pictured below, multiple identically-configured Adafruit CircuitPython 8.0.0-beta.0 on 2022-08-18; Adafruit QT Py ESP32S2 with ESP32S2
are used to create a Redundant Array of mDNS http Servers. The devices could be physically together or scattered around, as long as they are on the same LAN. Once configured, no USB connection is necessary for operation.
Each is running CircuitPython 8 Web Workflow: https://docs.circuitpython.org/en/latest/docs/workflows.html#web
Web Workflow automatically connects to a Wi-Fi Access Point based on credentials in a /.env
file in the root of the CIRCUITPY
drive filesystem, and creates an HTTP Server (port can be changed with CIRCUITPY_WEB_API_PORT=
in the /.env
file; it's port 80 by default).
In code.py
, run an HTTP Server using (for example):
https://docs.circuitpython.org/projects/httpserver/en/latest/api.html
Make sure that the ports are different between the Web Workflow HTTP Server and the code.py
HTTP Server (e.g., set