Needs Arduino CLI and the ESP32 board support; the Quickstart below sets both up. In Windows PowerShell write curl.exe instead of curl.
Getting started · 01
Quickstart
From an empty computer to a board running its own dashboard, in a few steps you can tick off.
Tell the guide what you have and it lays out the steps for you, with the commands to paste. You need an ESP32 board, a USB cable and about twenty minutes. No account is needed to try it.
(^_^)/
Fly, your guide
Hi, I’m Fly! Tell me what you have and I will lay out the steps. Tick each one when it is done.
0 of 7 steps done
1
Install Arduino CLI
Download the Windows installer from the Arduino CLI page and run it. Then open a new PowerShell window and check that it answers.
The library installed an example that needs only the board: 06_BuiltinLed. This names its folder once, so the next steps can be pasted as they are. Without a key it runs as a 30 minute evaluation.
The board makes its own Wi-Fi network named like the sketch (for example smart-lamp-C2D3). Join it with your phone: the setup wizard opens by itself. If it does not, open http://192.168.4.1. Choose a password, then the home Wi-Fi.
FlyghtEdge is an Arduino library for ESP32 boards (it comes from the FlyghtNinno project). You declare what the device has, and the board serves its own web dashboard. This site is the other two pieces:
Piece
Where
What it does
Library
On the ESP32
Widgets, lights, flows, its own dashboard over Wi-Fi. Works with no internet and no account.
Key registry
This site
Creates the license key (API key) the library checks offline.
Cloud dashboard
This site
Claim devices to your account, watch and control them from anywhere, history, folders, members.
The path from nothing to a controlled device:
1Install Arduino CLI, the library and the ESP32 core.
Requirements: the Arduino-ESP32 core 3.3.x. Supported chips: ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C5 and ESP32-C6. The release package holds the public headers and a precompiled archive for each chip.
Partition scheme (important)
A full build is 1.3 to 1.7 MB, more than the default 1.2 MB app partition, so pick a scheme with two 1.9 MB slots:
Tool
Setting
Arduino IDE
Tools → Partition Scheme → No FS 4MB (2MB APP x2)
arduino-cli
--fqbn esp32:esp32:esp32s3:PartitionScheme=no_fs
PlatformIO
board_build.partitions = partitions.csv
Getting started · 04
Key registry
Create, keep and use a license key.
Every build needs a license key, a string that starts with fnk_live_. It belongs to one owner and unlocks one edition. The board checks it by itself when it starts, so it needs no internet to accept it.
Create a key
1Sign in with Google or an email link (there are no passwords). The email must be verified.
2Open API keys and press New key.
3Enter the owner name (1 to 32 bytes; it is printed into the key) and create it.
4Copy the key now. It is shown once; the registry keeps it encrypted, and showing it again asks you to have signed in within the last five minutes.
5Put it in the sketch (below).
secrets.h, next to the sketch and kept out of version controlC++
#define FN_LICENSE_KEY "fnk_live_..."// in setup(), before dev.begin():
dev.license(FN_LICENSE_KEY);
Editions and limits
Edition
Who makes it
Includes
Free
You, up to 3 active keys, 5 new keys an hour
The dashboard, widgets, lights, devices, MQTT, HTTP API with tokens, webhooks. Updates with no end date.
Pro
Issued with the commercial license
Adds visual flows, users and roles, white label. Covers releases up to its update date.
Enterprise
Issued with the commercial license
Adds flows on their own RTOS threads.
Replace a key with Re-issue; revoke it when it leaks. Revoking frees the Free slot and cuts the cloud for the devices claimed with it.
Without a key, a mistyped or revoked key, or a release newer than the key’s update date, the device runs in evaluation mode: every feature on, a banner, and after 30 minutes the app stops until the next reset.
Use Verify to check a key: the page checks it in your browser.
Flyght Cloud connects once Wi-Fi is up (or stay local)
6
Open http://smart-lamp-xxxx.local on that network
The dashboard
Widgets
Widget
Value
Callback
toggle(id, label, cb)
on / off
void(bool)
button(id, label, cb)
none
void()
slider(id, label, min, max, step, cb)
number
void(float)
select(id, label, {options}, cb)
text
void(const String&)
text(id, label, cb)
text
void(const String&)
gauge(id, label, unit, min, max)
number, read only
none
value(id, label, unit)
number or text, read only
none
chart(id, label, unit, points)
number series, read only
none
Getting started · 06
Connect to the cloud
Claim the device into your account.
Flyght Cloud is off by default. Switch it on in the sketch or in the device’s Settings → Flyght Cloud (it needs a library release that has the cloud module; your version’s README says so).
C++
dev.license("fnk_live_..."); // the same key registers the device
dev.cloud().enable(); // or switch it on in Settings > Flyght Cloud
1The device registers with its license key and is told where to connect.
2Until it is claimed, Settings → Flyght Cloud shows an activation link. Open it while signed in here.
3The device is claimed to your account and appears under Devices, in the folder the key points to (or "unsorted").
4It connects over TLS, sends its widgets, and the dashboard shows it online.
What the status means
Status
Meaning
Off
Not switched on
No network
Waiting for Wi-Fi
Needs a license key
No key, or the server does not accept it
Claiming / Connecting
On its way
Online
Connected
Retrying
Server busy or unreachable; tries again with a growing pause
Stopped
The server refused this device: key revoked, device blocked, owned by another account or no free slot
A license can have 3 (Free), 25 (Pro) or 250 (Enterprise) devices. The device is the owner’s: somebody else cannot claim the same board.