Skip to content

Releases

FlyghtEdge 2.5.0

Choose a tag to compare

@khulqu15 khulqu15 released this 03 Nov 23:05
  • The onboard indicator is a setting now. Settings > Device & health shows a switch for the
    status LED next to the phase it is blinking, saved and on by default, with
    GET/PUT /fn/api/v1/statusled and a flow block, so a device can stay dark at night without new
    firmware. A flow switches it only until the next restart unless Keep after a restart is on.
  • Buzzers. fn::Buzzer drives an active buzzer (a rhythm: beep, gap, how many times) or a
    passive element (the same, plus tones), and plays melodies written in RTTTL, the Nokia ringtone
    format — paste a tune, type it into the card, send it over MQTT or start it from a flow. Notes are
    stepped from loop(), so a song never blocks and stops the moment you ask. See
    examples/25_Buzzer.
  • The GPS map explains itself. Each point is graded from the fix, the satellites and HDOP
    together and the path is drawn green, amber or red. A jump no vehicle could have made is marked
    estimated and drawn dashed instead of a straight line through buildings, a dashed trajectory shows
    where the device is heading, arrows show the direction, and hovering a segment or waypoint gives
    its speed, course, grade and age. A new card sums up distance, moving time, average and top speed,
    how much of the trail is trustworthy, and how many jumps were filtered.

Note: the buzzer and the GPS insight are covered by host tests and the simulator; they have not yet been run on a board.

FlyghtEdge 2.4.0

Choose a tag to compare

@khulqu15 khulqu15 released this 19 Oct 10:11

A device that cannot join Wi-Fi stays reachable

With the access point set to Off, the only way back used to be the five-minute safety net, so a device whose Wi-Fi did not answer was dark for the whole window — no dashboard, no way forward, no way back. The access point now returns once the station has tried every saved network and has been down a minute; the five-minute net stays as a backstop.

Give the access point a password() if you rely on Off: it is open unless you set one, and anyone connected to it delays the station's retries while they stay on.

<host>.local keeps answering

mDNS is announced again whenever an interface comes or goes, not only when the station gets an IP. The access point stops a few seconds after the station connects, which is exactly when a phone on the same network starts looking for the device, and the responder used to go quiet there.

The onboard LED says what the device is doing

New fn::StatusLed, part of the Device preset. Count the blinks in every three seconds:

Blinks Meaning
3 quick starting up
2 slow the setup access point is waiting for a phone
2 fast trying a saved Wi-Fi network
1 blip on Wi-Fi
2 blips on Wi-Fi and on Flyght Cloud
4 out of networks, waiting before it tries again
fast and steady the device has stopped

A board with an addressable pixel shows the same patterns in colour. It stands down when something else owns the pin — a light of your own, or a default I2C, SPI or serial pin on boards that put the onboard LED there — and dev.status().off() switches it off.

Precompiled for esp32, esp32s2, esp32s3, esp32c3, esp32c5 and esp32c6 on ESP32 core 3.3.10.

FlyghtEdge 2.3.0

Choose a tag to compare

@khulqu15 khulqu15 released this 16 Oct 02:20

Servos

fn::Servo drives a hobby servo on a 50 Hz signal, positional (an angle) or 360 continuous (a speed). Presets for MG90S, MG995, MG996R and SG90; "universal" plus the calibration dialog cover the rest. The pulse window, and the stop pulse of a continuous servo, are saved per servo and win over the sketch; the pin is moved from the card like every other device. See examples/09_Motors.

The cloud sees how a device is wired

Once per connect, after the claim, a device publishes its hardware inventory on <base>/hw (retained): the chip, every device with its pins, roles and protocols, and the pins still free for each role — the same inventory GET /fn/api/v1/devices returns.

The Flyght Cloud address is server-managed

The dashboard card shows the address but no longer offers it as a setting, and PUT /fn/api/v1/cloud answers 403 to a body carrying site without changing anything else in that request. A device still follows the address the server names in its claim and config answers, and still falls back to the built-in one when that address stops answering. Point a build of your own somewhere else with dev.cloud().site(...) or -DFN_CLOUD_SITE=....

Breaking: scripts that set the address through the local API now get 403. A device that saved an address from the old dashboard keeps it until the server names another one or it is reset.

Also

Live is a quiet dot instead of a filled pill in the dashboard header, and a locked feature carries one edition tag instead of a badge per row.

Precompiled for esp32, esp32s2, esp32s3, esp32c3, esp32c5 and esp32c6 on ESP32 core 3.3.10.

FlyghtEdge 2.2.0

Choose a tag to compare

@khulqu15 khulqu15 released this 13 Oct 16:28

FlyghtEdge 2.2.0: one menu on every screen, a tidier Settings page, and a guided colour calibration.

What changed

  • One menu on every screen size. On a phone the side menu is a drawer you open with the menu button (rooms, device pages, Wi-Fi, Connect, Settings). The bottom tab bar and the page tabs on the dashboard are gone.
  • Settings is grouped: Device & health, Cloud & license, Accounts & security, Maintenance & factory reset, with a row that jumps to a group. Users & roles is always there for the admin, with a switch to turn it on.
  • Setup on the evaluation banner, next to Enter license key: type RESET and the setup wizard starts from the beginning.
  • Calibrate colours on the Lights page: the LED shows its colours one at a time, you pick the one you see, and the right colour order is saved after a final "is this red?" check.

Install: download FlyghtEdge-2.2.0.zip and add it in the Arduino IDE (Sketch > Include Library > Add .ZIP Library), or use arduino-cli lib install --zip-path FlyghtEdge-2.2.0.zip. FlyghtEdge-2.2.0.tar.gz holds the same files. Built for the ESP32 Arduino core 3.3.x.

Not yet run on a board with every chip: the packaged library was link-tested for ESP32-C3 and ESP32-S3.

FlyghtEdge 2.1.1

Choose a tag to compare

@khulqu15 khulqu15 released this 13 Oct 15:16

FlyghtEdge 2.1.1: you can now enter the license key from the dashboard.

What changed

  • In evaluation mode the banner has an Enter license key button. The same button is on the "Evaluation time is over" screen, so a device that stopped no longer needs dev.license() and an upload to get its key.
  • The device checks the key, saves it and restarts to apply it. A key set in the sketch with dev.license() still takes precedence.
  • The key typed in the setup wizard (I have a key) is the license key and the Flyght Cloud key; the dashboard offers the restart that applies it.
  • Removing the saved key asks for the device name and is for the owner only.
  • New route PUT /fn/api/v1/license (admin), documented in docs/API.md.

Install: download FlyghtEdge-2.1.1.zip and add it in the Arduino IDE (Sketch > Include Library > Add .ZIP Library), or use arduino-cli lib install --zip-path FlyghtEdge-2.1.1.zip. FlyghtEdge-2.1.1.tar.gz holds the same files. Built for the ESP32 Arduino core 3.3.x.

Not yet run on a board: the packaged library was link-tested for ESP32-C3 and ESP32-S3.

FlyghtEdge 2.1.0

Choose a tag to compare

@khulqu15 khulqu15 released this 13 Oct 08:39

FlyghtEdge 2.1.0: a web dashboard on your phone for any ESP32, in a few lines of code.

Install: download FlyghtEdge-2.1.0.zip and add it in the Arduino IDE (Sketch > Include Library > Add .ZIP Library), or use arduino-cli lib install --zip-path FlyghtEdge-2.1.0.zip. FlyghtEdge-2.1.0.tar.gz holds the same files.

What is in the package: headers, one precompiled archive per chip (ESP32, S2, S3, C3, C5, C6), 24 examples, guides with wiring diagrams and pinouts, and the screen catalog. It is built for the ESP32 Arduino core 3.3.x; another core stops the build with a message.

New in 2.1.0

  • The library is now called FlyghtEdge (it was FlyghtNinno). #include <FlyghtEdge.h>; the old include still works and prints a note.
  • Relays, sensors and motors, with pins an admin can move from the card menu.
  • Two-path first-run setup: "I have a key" or "Set up online".
  • Flyght Cloud card and a link to the official dashboard at https://flyght.obayan.id.
  • Fifteen new examples and fourteen guides.

Full list: CHANGELOG.md. Not yet run on a board: the examples are compiled for ESP32-S3; the packaged library was link-tested on ESP32-C3 and ESP32-S3.

2.0.0 (notes only)

Choose a tag to compare

@khulqu15 khulqu15 released this 13 Oct 08:54

Release notes only. FlyghtEdge 2.0.0 (9 October 2026) was built before the library was renamed from FlyghtNinno to FlyghtEdge and is not available as a package. The history of this repository starts later, so this tag marks the start of that history, not the state of 2.0.0. Download the latest release for a working package.

What 2.0.0 contained:

License keys. Breaking: dev.edition(...) is gone; the edition comes from the key.

  • License key (API_KEY) fnk_live_…: owner, edition, license id and update window, signed with
    ECDSA P-256 / SHA-256 and verified offline at boot with mbedTLS (hardware ECC on C5/C6). A
    CRC-32 checksum catches typos. Add it with dev.license(FN_LICENSE_KEY); the examples read it
    from an optional secrets.h.
  • Evaluation mode without a valid key: every feature on, a banner in the dashboard, and after
    30 minutes the app stops (HTTP 402) until the next reset. The boot log says why a key was rejected.
  • Settings → Plan & features shows who the device is licensed to and the update window.
  • HTTP API tokens: fn_ + 256 random bits in base62 + checksum; tokens made by 1.x still work.
  • License text 1.1: a license key is required; bypassing the check or sharing a key is not allowed.

Migrating from 1.x: remove dev.edition(...), add dev.license(...) with your key.

1.0.0 (notes only)

Choose a tag to compare

@khulqu15 khulqu15 released this 13 Oct 08:54

Release notes only. FlyghtEdge 1.0.0 (4 October 2026) was built before the library was renamed from FlyghtNinno to FlyghtEdge and is not available as a package. The history of this repository starts later, so this tag marks the start of that history, not the state of 1.0.0. Download the latest release for a working package.

What 1.0.0 contained:

First release.

  • Core: fn::App, module contract, dependency ordering, event bus, scheduler, post() to the loop task, NVS store, cJSON wrapper, ring-buffer logs.
  • Network: station Wi-Fi (8 saved networks, priority order with automatic failover, save-as-backup, password edit, backoff, AP-aware deferral, async scan, C5 2.4 GHz policy), SoftAP (always/fallback/off, watchdog, DHCP option 114), captive portal (DNS + OS probes, per-client "online" after sign-in), mDNS (_flyght._tcp, refresh).
  • Web: esp_http_server wrapper, wildcard routes, CORS, gzip+ETag UI, WebSocket broadcast.
  • Auth: setup wizard, PBKDF2 admin password, guest access (viewer/operator), HMAC sessions that survive reboot, rate limiting, API tokens, sign-out-everywhere.
  • UI: 8 widget types, pages, drag-and-drop layout stored on device, light/dark, English + Bahasa Indonesia.
  • Integrations: MQTT (state/set, LWT, retained, Home Assistant discovery), HTTP REST, signed webhooks.
  • System: info, module health, logs, OTA upload, restart, factory reset, NTP/browser clock.
  • Devices (opt-in modules with their own UI pages): BNO055 IMU and HD44780 LCD (I2C), SD card file manager and ST7789/ILI9341/GFX TFT with drawing tools (SPI/SDMMC), GPS map with Leaflet and external-MCU serial link (UART).
  • UI plugin system: per-module pages served gzip'd from flash, WebSocket topic subscriptions.
  • UI: soft "dribbble" redesign, friendly sign-in page with kaomoji and rotating quotes, kid-friendly controls, Montserrat headings embedded in flash (offline-safe) paired with the system UI font.
  • Lights: fn::Led (digitalWrite or PWM) and fn::RgbLed (RGB_BUILTIN / WS2812 pixel or 3 PWM pins), colour picker, brightness, 12 non-blocking effects, state kept in NVS, HTTP + MQTT + WebSocket.
  • Visual flows (Pro): node editor in the browser (palette, canvas, bezier wires, inspector, pan/zoom, live highlight, templates), triggers/logic/actions + device blocks, serial or parallel branches, optional FreeRTOS thread per flow (Enterprise), stored in NVS.
  • Editions and feature switches (Free / Pro / Enterprise): guest access, Visual flows, Users & roles, white label and RTOS flows start off; Settings → Plan & features.
  • Users & roles (Pro): up to 8 accounts with viewer / operator / admin rights, username on the sign-in page.
  • Example 06_BuiltinLed: tests lights, effects and flows with only the board's LED and BOOT button.
  • Fix (found on real hardware): the web server now brings up the TCP/IP stack itself (Network.begin()), so starting before the Wi-Fi/AP modules no longer crashes at boot. Verified on an ESP32-S3 (4 MB flash, 2 MB PSRAM, USB-Serial/JTAG).
  • HTTP handler limit raised to 128 (all devices + lights + flows need ~100).
  • Flows fixes (found on hardware): the Light block decides on/off from the state before the block, so "colour + toggle" on a timer blinks instead of staying dark, and a colour means a steady colour; Run works for every flow (Run button triggers, otherwise each trigger once); timers below 50 ms are refused.
  • Pin safety: modules claim their GPIOs (fn::claimPin); flows cannot use pins of an LED, a bus, the SPI flash or USB (checked when saving and when running).
  • Light state is written to NVS only when it really changed (fewer slow flash writes).
  • RGB colour order for addressable LEDs (colorOrder(fn::ColorOrder::RGB), order in the lights API, selector on the Lights page): fixes red/green swapped on boards with RGB-order LEDs.
  • Phone UI: the layout-editor bar wraps (text above the buttons); the flow editor zooms out to show the whole flow on narrow screens.
  • Fix: Log out now always lands on the sign-in page (a late hashchange used to redraw the dashboard without a session).
  • extras/test/demo.mjs: records a walkthrough video (--mobile: 1080×1920 phone version with touch indicator) of the whole UI (sign in → dashboard → every device page → lights → flows → settings → log out) with ffmpeg.
  • Precompiled release package: public headers and one archive per chip, with the examples and the documentation; the core version the archives need is checked at compile time. Log output is bound from the sketch so the archives work with every USB/UART setting, and a copyright notice is shown by the firmware, GET /sys and every UI script.
  • License: FlyghtNinno Community License 1.0 (free to build and ship firmware; no redistribution, modification for redistribution, reverse engineering or competing libraries). NOTICE lists third-party components.
  • Docs: new README (English) and README.id.md (Bahasa Indonesia), docs/REFERENCE.md (every class and function), docs/ARCHITECTURE.md (block diagrams), release guide in docs/MODULES.md.
  • Tooling: UI build, device simulator (incl. all devices, lights and the flow engine), host unit tests, browser E2E tests.