Docs

Auto setup: one flash, no tokens

Flash this once. The app does the rest.

auto.ino
#include <PlynxSimpleEsp32.h>

void setup() { Plynx.begin(); }
void loop()  { Plynx.run(); }

On ESP8266 use #include <PlynxSimpleEsp8266.h>; everything else is identical.

How it goes

  1. Flash. Install the Plynx library from the Arduino IDE Library Manager, paste the sketch, upload.
  2. Power the board. It opens a small setup hotspot called Plynx-XXXX.
  3. Open the app. Boards → Add board: the search starts by itself. iPhone will ask to join the hotspot, to use the local network, and for your location (that is how the app reads your Wi-Fi’s name and pre-fills it). Say yes to all three.
  4. Type the password. Your Wi-Fi name is already filled in; enter the password and send. The board saves it, reboots and comes online in the app.

The board keeps its settings and reconnects on its own from now on. Wrong password? It reopens the hotspot and the app tells you what to fix.

Good to know

  • 2.4 GHz networks only: ESP32 and ESP8266 don’t speak 5 GHz.
  • The setup hotspot stays open for about 3 minutes, then the board restarts and tries again.
  • Requires Plynx 1.2.3 or newer on iPhone and Plynx library 1.1 or newer.
  • Prefer tokens and full control? The classic flow is in Getting started.