Working…
⚔️ Lightsaber · BLE not connected Offline
Before connecting: the saber must have ble_enabled = 1 in config.txt and must not be in standby. With low_power_wait_enabled = 1 the firmware calls bleDevice.end() in STATE_WAIT, which destroys the BLE stack completely — a sleeping saber is invisible to every scanner. Wake it up with a strong swing first.
Replies arrive one line every 50 ms (ble::bleTask), so config print legitimately takes 10–20 seconds. Requires Chrome, Edge or Opera.
Active profile
–
Free heap
–
Battery
–
SD card
–
IMU temp
–
Stream
0 Hz

📈 Real-time IMU

updateBLEIMUStream() notifies the binary characteristic at up to 100 Hz, in every state and with no command needed. Each packet is 7×float32 little-endian — gyro XYZ (dps), accel XYZ (g), clash intensity; intensity is a one-sample pulse on the clash, 0 the rest of the time.
The page subscribes only while this tab is on screen and unsubscribes as soon as you leave it or a bulk read starts. Those notifications otherwise compete for the same connection events as the reply pump, which already emits just one line every 50 ms — that is what made config print crawl.
auto-paused outside this tab
Gyroscope (dps) X Y (blade / roll) Z
Accelerometer (g) X Y (blade) Z
Clash intensity (0–100) intensity
|accel|
–
|gyro XZ|
–
gyro Y (roll)
–
Last clash
–
Packets
0
Clash count
0

🌐 Global Settings

Read with config print, written with config set global <key> <value>. Changes stay in RAM until you press Save to SD (config save), and most of them need a reboot to take effect.
config print lists only what /config.txt actually contains. Fields marked firmware default are keys the file does not have: the value shown is the one the firmware falls back to. Edit one to persist it, or use Write missing keys to write them all.

🎨 Profiles

🌀 SmoothSwing v2

🎚️ Equalizer

Audio test

The equaliser is applied per channel inside audio::mixAudio(), gated only by the global enable_eq — so what you hear here really is equalised. Workflow: pick a sound, tick loop, press Play, then move the band sliders and press 🔊 Apply live to hear the change without saving anything.
Stick to a clash channel: the state machine rewrites the volume of hum and swing from SmoothSwing on every loop pass.
Sends loadwav <ch> <file> 1.0 [1] + play <ch> / stop <ch>. The paths come from the configuration read off the saber, so the list shows what this device actually has.

📐 IMU Calibration

These values live in /calib.cfg, not in config.txt. They are read with calib print and written with offset / threshold, then persisted with calib save.
calibOrientFreeDurationMs and calibScanPhaseDurationMs are shown by the WiFi UI but the firmware exposes no command for them, so they are not editable here.

Procedures (long running — watch the console)

These put the saber into DEBUG mode (blade off, audio stopped); send debug off to go back to normal operation. Follow the spoken/console instructions on the saber itself.

Clash sensitivity & detection

Blade debug & simulation

📁 SD Card browser

Browsing uses ls, rm and mkdir. File upload/download is not available on this transport — the firmware only implements it over HTTP (WiFi UI) and through the binary sdcard send/receive serial protocol.

Connect and press Open.

⚙️ System


    

🎨 Blade test

The firmware has no "arbitrary colour" that lasts. color maps the value through blade::hexToColor(), which returns COLOR_RED for anything not exactly in the 31-colour palette; colorw does set the exact RGBW, but it writes the driver without updating currentColor, and blade::update() repaints from currentColor on every loop pass — so a raw colour lasts one iteration. Pick from the palette for a colour that stays.
Applies to every Test button, here and on the Profiles tab. The page sends ledoff when the time is up — the firmware's own blade auto-off exists but no command reaches it.
Exact RGBW, overwritten on the next loop pass.

💾 Configuration & power

Log channel (runtime)

💻 Console

↑/↓ browse history. Every command this page sends is logged here too.

EVA01_CORE — BLE control panel (bleconfig.html) · the firmware is not modified by this page