feat: browser simulator served by the controller, desktop build, browser bridge
- led-simulator: the rig runs the C++ led-driver as WebAssembly (sim-driver/), one single-threaded worker per bar, no cross-origin isolation needed. Rooms (one JSON per room) with an on-page editor, and a pattern gallery. The Python server, Pyodide boot and ring buffer are removed. - sim-controller sim_rig.c: serves /sim/ from an embedded pack, the page's WebSocket and the rooms/flash API. The desktop build embeds it too. - bridge.c: a "browser" bridge kind that carries ESP-NOW frames to the page; devices announced through it are marked sim. - UI: Simulator in the Menu, split view with resize and pop-out, swipe between controller and rig on phones; SIM/REAL badges in Devices. - Fades: preset pushes and Wi-Fi driver bodies always carry fade and beat_time, so "off" no longer inherits an earlier fade. - Also the sequences-v2 work in progress: desktop port, bridge firmware, serial bridge, Wi-Fi drivers, sequence timeline, audio and API changes. - led-driver: ESP-NOW link, beat sync, control messages, sim hooks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
698c1463c0
commit
581b751904
506 files changed
+42336
-3599
No files matched your search
@@ -1,92 +1,136 @@
|
||||
{
|
||||
"0": "IdfDevice",
|
||||
"2": "machine.py",
|
||||
"6": "audio.c",
|
||||
"5": "cJSON",
|
||||
"6": "create_app",
|
||||
"8": "ab",
|
||||
"9": "Compiler",
|
||||
"11": "led-driver/main/ota.c",
|
||||
"14": "patterns.c",
|
||||
"11": "seq_timeline.js",
|
||||
"14": "sim_rig.c",
|
||||
"15": "new_id",
|
||||
"17": "server.py",
|
||||
"18": "main/main.c",
|
||||
"21": "main/main.c",
|
||||
"22": "esp_log",
|
||||
"23": "engine.c",
|
||||
"24": "ws.c",
|
||||
"17": "SerialTransport",
|
||||
"18": "esp_err.h",
|
||||
"21": "freertos.c",
|
||||
"22": "LedSimulatorApp",
|
||||
"23": "cJSON_IsString",
|
||||
"24": "cJSON_Delete",
|
||||
"25": "Microdot",
|
||||
"26": "led_strip_rmt_dev.c",
|
||||
"26": "ctrl_msg.cpp",
|
||||
"27": "seqplay.c",
|
||||
"29": "binary_envelope.py",
|
||||
"31": "PyboardCommand",
|
||||
"32": "beat.c",
|
||||
"33": "web.cpp",
|
||||
"32": "cJSON_CreateObject",
|
||||
"33": "httpd_parse.c",
|
||||
"34": "test_sequences.py",
|
||||
"35": "microdot.py",
|
||||
"37": "led_strip_spi_dev.c",
|
||||
"38": "store_save",
|
||||
"40": "audio_api.c",
|
||||
"41": "sim_stubs.c",
|
||||
"35": "cJSON_Delete",
|
||||
"37": "http_parser",
|
||||
"38": "socket",
|
||||
"40": "xSemaphoreGive",
|
||||
"41": "WS2812",
|
||||
"42": "run_all",
|
||||
"43": "ws_client.cpp",
|
||||
"44": "time",
|
||||
"45": "test_presets.py",
|
||||
"46": "BridgeSim",
|
||||
"50": "WS2812",
|
||||
"52": "Transport",
|
||||
"55": "patterns.cpp",
|
||||
"56": "test_routes.py",
|
||||
"57": "ESPNow",
|
||||
"58": "test_outputs.py",
|
||||
"59": "microdot.py",
|
||||
"43": "usb_cfg.cpp",
|
||||
"44": "httpd_handle_t",
|
||||
"45": "http_parser.h",
|
||||
"46": "http_parser.c",
|
||||
"50": "exchange",
|
||||
"52": "sys",
|
||||
"54": "httpd_sess.c",
|
||||
"56": "test_outputs.py",
|
||||
"57": "httpd_config",
|
||||
"58": "gallery.js",
|
||||
"59": "mic_alsa.c",
|
||||
"60": "nvs_sim.cpp",
|
||||
"64": "ddp_test.py",
|
||||
"65": "test_audio.py",
|
||||
"66": "esp_timer_get_time",
|
||||
"67": "os",
|
||||
"68": "build_app",
|
||||
"69": "main/ota.c",
|
||||
"71": "NeoPixel",
|
||||
"72": "_simlink.py",
|
||||
"74": "store_lock",
|
||||
"75": "json",
|
||||
"77": "usb_cfg.cpp",
|
||||
"78": "urandom.py",
|
||||
"82": "bridge_sim.py",
|
||||
"83": "LedSimulatorApp",
|
||||
"65": "ESPNow",
|
||||
"66": "httpd_handle_t",
|
||||
"67": "BridgeSim",
|
||||
"68": "httpd_uri.c",
|
||||
"69": "led_strip_rmt_encoder.c",
|
||||
"71": "rel.c",
|
||||
"72": "httpd_data",
|
||||
"74": "presets.cpp",
|
||||
"75": "Bench test: S3 controller and one LED driver",
|
||||
"77": "espnow_link.cpp",
|
||||
"78": "sim_split.js",
|
||||
"80": "artnet_dmx.py",
|
||||
"81": "OutputManager",
|
||||
"82": "events",
|
||||
"83": "web.c",
|
||||
"84": "unique",
|
||||
"86": "net.cpp",
|
||||
"89": "Rig",
|
||||
"90": "packet",
|
||||
"93": "envelope.c",
|
||||
"94": "api_call_t",
|
||||
"99": "status_get_handler",
|
||||
"100": "ddp.cpp",
|
||||
"102": "rig_seed.py",
|
||||
"106": "._loop_main",
|
||||
"107": "find_devices",
|
||||
"108": "esp_timer_get_time",
|
||||
"110": "engine_init",
|
||||
"112": "ws_slot_t",
|
||||
"117": "read_serial",
|
||||
"131": "sim_demo.py",
|
||||
"135": "store_coll",
|
||||
"141": "machine.py",
|
||||
"89": "api_call_t",
|
||||
"90": "Sender",
|
||||
"92": "bridge_serial.c",
|
||||
"93": "events",
|
||||
"94": "Type",
|
||||
"96": "esp_timer_create",
|
||||
"97": "v1 driver messages (long/short keys)",
|
||||
"99": "httpd_txrx.c",
|
||||
"100": "test_routes.py",
|
||||
"102": "httpd_req_aux",
|
||||
"106": "USB ESP-NOW bridge",
|
||||
"107": "main",
|
||||
"108": "rig_seed.py",
|
||||
"110": "run_soak",
|
||||
"112": "test_patterns.py",
|
||||
"114": "dependencies",
|
||||
"117": "outputs.c",
|
||||
"124": "esp_httpd_priv.h",
|
||||
"125": "led_strip_spi_dev.c",
|
||||
"126": "esp_http_server_dispatch_event",
|
||||
"128": "httpd_ctrl_data",
|
||||
"131": "flags",
|
||||
"132": "microdot.py",
|
||||
"133": "http_parser_url_fields",
|
||||
"135": "PatternPlayer",
|
||||
"136": "HttpDevice",
|
||||
"137": "time",
|
||||
"139": "sim_demo.py",
|
||||
"141": "DMX Driver Art-Net and serial gateway",
|
||||
"143": "test_rig_sim.py",
|
||||
"144": "settings_editor.js",
|
||||
"149": "res_device.c",
|
||||
"150": "api_error",
|
||||
"147": "bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c",
|
||||
"148": "postinst",
|
||||
"149": "api_error",
|
||||
"150": "postrm",
|
||||
"151": "prerm",
|
||||
"152": "vendor.sh",
|
||||
"153": "bootloader/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp",
|
||||
"154": "build-v61/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c",
|
||||
"155": "app.js",
|
||||
"159": "led-driver/web/app.js",
|
||||
"166": "sequences_route",
|
||||
"167": "api_id",
|
||||
"160": "build-v61/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp",
|
||||
"161": "bootloader/config/sdkconfig.h",
|
||||
"162": "bootloader/project_elf_src_esp32c3.c",
|
||||
"163": "build-v61/config/sdkconfig.h",
|
||||
"164": "build-v61/project_elf_src_esp32c3.c",
|
||||
"165": "test_presets.py",
|
||||
"166": "mdns_host.c",
|
||||
"167": "SerialDMX",
|
||||
"168": "NeoPixel",
|
||||
"169": "build_sim_web.sh",
|
||||
"170": "dependencies",
|
||||
"197": "presets.cpp",
|
||||
"199": "res_group.c",
|
||||
"201": "_simlink_web.py",
|
||||
"177": "espnow_tx.c",
|
||||
"178": "mac_str",
|
||||
"179": "load_config",
|
||||
"184": "beat.c",
|
||||
"197": "cJSON_GetObjectItem",
|
||||
"198": "Transport",
|
||||
"199": "httpd_req",
|
||||
"200": "HTTPException",
|
||||
"201": "http_parser_type",
|
||||
"202": "json",
|
||||
"203": "desktop_main.c",
|
||||
"204": "_simlink_proc.py",
|
||||
"205": "esp_http_server.h",
|
||||
"207": "relay_forward",
|
||||
"209": "WLAN",
|
||||
"210": "fetch_cache.js",
|
||||
"211": "NoCaseDict",
|
||||
"214": "SimRing",
|
||||
"211": "MultiDict",
|
||||
"212": "random",
|
||||
"214": "workspace/patterns/__init__.py",
|
||||
"224": "build.sh",
|
||||
"225": "sim-driver/include/driver/gpio.h",
|
||||
"227": "dependencies",
|
||||
"229": "examples/blink.py",
|
||||
"231": "led_driver_sim_hook.py",
|
||||
|
||||
Reference in new issue
Block a user