docs: P4-Nano controller and simulator, users API, README screenshots

README, API, help, P4_NANO and the sub-READMEs now describe the ESP32-P4-Nano
controller and the simulator on it. API.md gains the users and permissions
routes; BENCH_TEST and SPECIFICATION are marked historical. Screenshots of the
simulator, sequence editor and pattern gallery. Graph rebuilt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Opus 5.5 committed 2026-11-24 22:09:28 +13:00
1 parent 8756315a7b
commit e0c6c36996
32 files changed
+269751 -683

No files matched your search

+16 -3
View File
@@ -1,6 +1,6 @@
# LED controller — user guide
This page describes the web UI served by the controller (an ESP32-S3 on Ethernet). It covers profiles, zones, presets, device groups, sequences and audio. The controller reaches the LED drivers over ESP-NOW itself, so there is no bridge to set up.
This page describes the web UI served by the controller (a Waveshare ESP32-P4-Nano on Ethernet). It covers profiles, zones, presets, device groups, sequences and audio. The controller reaches the LED drivers over ESP-NOW itself, so there is no bridge to set up.
For HTTP routes and the driver message format, see **[API.md](API.md)**. For building and flashing, see the project **README**.
@@ -81,12 +81,21 @@ The preset editor:
- **Steps.** A step is a preset and a number of beats. When a step's beats have passed, the lane moves to its next step. A sequence loops unless you turn looping off.
- **Playing.** Attach a sequence to a zone in the zone editor, then play it from the zone. One sequence plays at a time. Stopping a sequence clears its presets from the zone's drivers.
- **Copy, cut and paste clips.** Select a clip and press **Ctrl+C** to copy it or **Ctrl+X** to cut it (or use **Copy** / **Cut** under the timeline). **Ctrl+V** (or **Paste**) puts it after the selected clip, at the spot you last clicked on a track, or at the first free place on the selected track. The pasted clip is selected, so pressing **Ctrl+V** again lines up more copies. Copies can be pasted into another sequence while the page is open.
- **Simulator or both.** On the desktop app (with the simulator), the editor's **Sim only / Both** switch sets where **Play** plays: **Sim only** plays the sequence on the simulated bars only, in time with the live show, while the real fixtures keep their show; **Stop** then ends just the preview and the bars go back to the live show. **Both** plays it in the current zone, everywhere, as from the zone.
- **Simulator or both.** The editor's **Sim only / Both** switch sets where **Play** plays: **Sim only** plays the sequence on the simulated bars only, in time with the live show, while the real fixtures keep their show; **Stop** then ends just the preview and the bars go back to the live show. **Both** plays it in the current zone, everywhere, as from the zone.
- **Switching.** Starting another sequence waits for the next beat, or the next downbeat when the header toggle says **Downbeat** and the microphone is timing.
- **Syncing.** Press **S** (or the BPM button) on a downbeat to line the sequence up with the music.
---
## Simulator
**Menu → Simulator** opens the simulated rig beside the controls: a room with every LED bar, each running the real driver in your browser. On a phone, swipe between the controls and the rig.
- The bars register like real drivers, so they appear under **Devices** and can be put in groups. They run only while the page is open.
- **Edit room** adds, moves and turns bars, and adds DDP and Art-Net fixtures. **Presets** shows the preset editor in the same pane, and **Pop out** opens the rig in its own window.
- One page at a time runs the rig: opening it somewhere else powers the first one's bars off.
---
## Audio
- The controller listens through its microphone and detects the tempo and the bar.
@@ -108,7 +117,11 @@ The preset editor:
## Settings
**Settings** (Edit mode) holds the controller's name, the ESP-NOW channel (for reference: the controller's channel is set at build time), a **Wi-Fi access point** switch (on by default; network named after the hostname, with an optional WPA2 password, controller at `192.168.5.1`; holding the button on D3 at boot forces it on), its mDNS **hostname** and the **static IPs** it tries on the Ethernet link (DHCP when none answers). With no DHCP server, as on a cable straight to a PC, the controller is at `192.168.4.1`; give the PC a static IP such as `192.168.4.2`. Network changes apply after a restart. **Driver** in Settings sends a driver its name, LED count, colour order, startup mode, maximum brightness and direction over ESP-NOW, with no cable. **Update code** there sends a driver, or all of them, the led-driver code built into the controller. `led-cli` on a computer edits a driver's whole `settings.json` over USB.
**Settings** (Edit mode) holds the controller's name, the ESP-NOW channel (for reference: the controller's channel is set at build time), a **Wi-Fi access point** switch (on by default; network named after the hostname, with an optional WPA2 password, controller at `192.168.5.1`), its mDNS **hostname** and the **static IPs** it tries on the Ethernet link (DHCP when none answers). With no DHCP server, as on a cable straight to a PC, the controller is at `192.168.50.20`; give the PC a static IP such as `192.168.50.10`. Network changes apply after a restart. **Driver** in Settings sends a driver its name, LED count, colour order, startup mode, maximum brightness and direction over ESP-NOW, with no cable. **Update code** there sends a driver, or all of them, the led-driver code built into the controller. `led-cli` on a computer edits a driver's whole `settings.json` over USB.
### Users
**Settings → Users** adds users and roles. Until the first user exists anyone on the network can do everything. After that, people sign in, and a role says what they may do in each area: nothing, view, control or edit. Visitors who are not signed in have the **guest** role. At least one user who can manage users must stay, so this cannot be switched off again from the page.
### DMX bridges (desktop and Docker controllers)