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
+269750 -682

No files matched your search

+31 -7
View File
@@ -1,22 +1,40 @@
# led-controller # led-controller
Controller for LED drivers on a Waveshare ESP32-P4-Nano: Ethernet, web UI, microphone beat detection and an ESP-NOW link to the drivers through the board's ESP32-C6 ([`docs/P4_NANO.md`](docs/P4_NANO.md)). The firmware is C (ESP-IDF) at the repository root; see [`docs/BENCH_TEST.md`](docs/BENCH_TEST.md) for the bench tests. The ESP32-S3 is only used as a bridge board now ([`bridge/`](bridge/README.md)). Controller for LED drivers on a Waveshare ESP32-P4-Nano: Ethernet, web UI, microphone beat detection and an ESP-NOW link to the drivers through the board's ESP32-C6 ([`docs/P4_NANO.md`](docs/P4_NANO.md)). The firmware is C (ESP-IDF) at the repository root; [`docs/BENCH_TEST.md`](docs/BENCH_TEST.md) has the bench tests of the earlier ESP32-S3 controller. The ESP32-S3 is only used as a bridge board now ([`bridge/`](bridge/README.md)).
It keeps profiles, zones, presets, device groups, sequences, palettes, patterns and outputs in its flash, and serves the web UI and JSON API ([`docs/API.md`](docs/API.md)). Zones play to device groups. Sequences advance on the beats the microphone detects, or on a BPM clock while audio is stopped. Profiles, presets and sequences import and export as JSON bundles. It keeps profiles, zones, presets, device groups, sequences, palettes, patterns and outputs in its flash, and serves the web UI and JSON API ([`docs/API.md`](docs/API.md)). Zones play to device groups. Sequences advance on the beats the microphone detects, or on a BPM clock while audio is stopped. Profiles, presets and sequences import and export as JSON bundles.
A simulated rig at `/sim/` (Menu > Simulator) shows every LED bar in the browser, driven by the same controller: on the board, in the desktop program and in Docker. See [`led-simulator/README.md`](led-simulator/README.md).
![The controller's zones and presets on the left, the simulated rig on the right playing a rainbow on 24 bars](docs/images/screenshots/simulator.png)
<table>
<tr>
<td><img src="docs/images/screenshots/sequence.png" alt="Sequence editor: eight lanes of clips on a timeline, with the preset browser"></td>
<td><img src="docs/images/screenshots/gallery.png" alt="Pattern gallery: every preset previewed as a strip of 119 LEDs"></td>
</tr>
<tr>
<td align="center">Sequence editor</td>
<td align="center">Pattern gallery (<code>/sim/gallery</code>)</td>
</tr>
</table>
## Build and flash ## Build and flash
Clone with the submodules: `git clone --recurse-submodules <url>`, or `git submodule update --init` afterwards.
```bash ```bash
make build # minify the web UI from web/, then build the C6 radio and the controller (ESP-IDF in Docker) make sim-wasm # once, and after led-driver changes: the simulator's drivers (Emscripten in Docker)
make build # minify the web UI from web/, pack the simulator, then build the C6 radio and the controller (ESP-IDF in Docker)
make flash # flash over USB (the controller and the C6 image) make flash # flash over USB (the controller and the C6 image)
make ota [HOST=<ip>] # update firmware (web UI included) over Ethernet, no USB (POST /ota); HOST defaults to 192.168.50.20 make ota [HOST=<ip>] # update firmware (web UI included) over Ethernet, no USB (POST /ota); HOST defaults to 192.168.50.20
make monitor # serial console make monitor # serial console
make test # driver unit tests and the C/Python envelope cross-check make test-envelope # the C and Python envelope packers must agree
make test-api HOST=<ip> # HTTP API tests against a running controller (its data is restored afterwards) make test-api HOST=<ip> # HTTP API tests against a running controller (its data is restored afterwards)
make test-browser HOST=<ip> # Selenium UI tests (needs selenium and chromedriver) make test-browser HOST=<ip> # Selenium UI tests (needs selenium and chromedriver)
``` ```
`make` lists every target. The web UI sources are in `web/` (`static/`, `templates/`, `audio.html`); `tools/build_web.sh` also packs the led-driver pattern files into the firmware, so the controller can send them to drivers. `make` lists every target. The web UI sources are in `web/` (`static/`, `templates/`, `audio.html`); `tools/build_web.sh` also packs `led-driver/src/patterns/*.py` into the firmware when they exist; the C++ led-driver has none. For the same reason `make test` stops at `test-driver`: the MicroPython driver tests it ran are gone from `led-driver`.
## Desktop ## Desktop
@@ -24,17 +42,23 @@ The same controller runs as a program on Linux, with no ESP-IDF: `make desktop-r
## Other directories ## Other directories
- `led-driver/` (submodule): MicroPython firmware for the ESP32 LED drivers. - `led-driver/` (submodule, branch `cpp`): C++ (ESP-IDF) firmware for the ESP32 LED drivers.
- `dmx-driver/` (submodule): DMX gateway (Art-Net and serial out).
- `led-tool/` (submodule): `led-cli`, configures drivers over serial and updates the controller over Ethernet (`led-cli --ota HOST`). - `led-tool/` (submodule): `led-cli`, configures drivers over serial and updates the controller over Ethernet (`led-cli --ota HOST`).
- `led-simulator/` (submodule), `espnow-sender/`: test helpers. - `radio-c6/`: firmware of the P4-Nano's ESP32-C6 (esp-hosted plus ESP-NOW).
- `bridge/`: the USB/network ESP-NOW bridge board (ESP32-S3 or C3).
- `led-simulator/`: the simulated rig's page. `sim-driver/` builds led-driver to WebAssembly for it; `sim-controller/` is the controller for ESP-IDF's linux target, and holds the rig's server code.
- `fixture-driver/`: led-driver's engine built for the host, one process per DMX fixture (desktop).
- `espnow-sender/`: a test helper.
- `db/`: the records a controller starts with (the `default` profile and group the firmware seeds at first boot, plus pattern metadata), importable with `PUT /db/<name>`. - `db/`: the records a controller starts with (the `default` profile and group the firmware seeds at first boot, plus pattern metadata), importable with `PUT /db/<name>`.
- `test/api/`: the API tests (`test/api/README.md`); `test/browser/`: the UI tests. - `test/api/`: the API tests (`test/api/README.md`); `test/browser/`: the UI tests.
## Docs ## Docs
- The board, its C6 radio, pins and partitions: `docs/P4_NANO.md`
- API reference: `docs/API.md` - API reference: `docs/API.md`
- User guide: `docs/help.md` (`scripts/build_help_pdf.sh` regenerates `docs/help.pdf`) - User guide: `docs/help.md` (`scripts/build_help_pdf.sh` regenerates `docs/help.pdf`)
- Specification: `docs/SPECIFICATION.md` - Specification of the first, MicroPython system (historical): `docs/SPECIFICATION.md`
## Network ## Network
+5 -2
View File
@@ -1,5 +1,8 @@
# USB ESP-NOW bridge # USB ESP-NOW bridge
For a computer with no radio. The P4-Nano controller does not need one: its ESP32-C6 is its radio, and it is itself a
network bridge for the desktop on UDP 8766 ([`docs/P4_NANO.md`](../docs/P4_NANO.md)).
An ESP32 board that gives a computer an ESP-NOW radio. Two builds: an ESP32-S3 (the one with an I2S An ESP32 board that gives a computer an ESP-NOW radio. Two builds: an ESP32-S3 (the one with an I2S
microphone, below) and an ESP32-C3 (ESP-NOW only). `led-controller` running on the computer microphone, below) and an ESP32-C3 (ESP-NOW only). `led-controller` running on the computer
sends its ESP-NOW frames to the board over USB, and the board puts them on the air; frames from the sends its ESP-NOW frames to the board over USB, and the board puts them on the air; frames from the
@@ -35,7 +38,7 @@ whether the board is linked, its MAC and channel, and the counters.
## Microphone (S3) ## Microphone (S3)
The S3 build reads an I2S microphone (an INMP441 wired as on the controller's XIAO ESP32-S3: The S3 build reads an I2S microphone (an INMP441 on a XIAO ESP32-S3:
SCK GPIO 5, WS GPIO 6, SD GPIO 43, configurable under "Bridge microphone (I2S)" in menuconfig). While the SCK GPIO 5, WS GPIO 6, SD GPIO 43, configurable under "Bridge microphone (I2S)" in menuconfig). While the
desktop records from it, the board sends 10 ms blocks of 16 kHz mono audio (AUDIO frames, below). desktop records from it, the board sends 10 ms blocks of 16 kHz mono audio (AUDIO frames, below).
The desktop lists it in the audio input list as "I2S microphone on the bridge board". The C3 build has no The desktop lists it in the audio input list as "I2S microphone on the bridge board". The C3 build has no
@@ -44,7 +47,7 @@ microphone and reports that in INFO.
## Channel ## Channel
ESP-NOW runs on one Wi-Fi channel, and the drivers and the bridge must share it. The bridge starts on ESP-NOW runs on one Wi-Fi channel, and the drivers and the bridge must share it. The bridge starts on
channel 6. Set the channel the drivers use (the access point's, or the router's when a driver is joined to channel 11. Set the channel the drivers use (the access point's, or the router's when a driver is joined to
one), either by a SET_CHANNEL frame (`bridge_serial_set_channel`) or by changing it on the board's NVS. one), either by a SET_CHANNEL frame (`bridge_serial_set_channel`) or by changing it on the board's NVS.
## Protocol ## Protocol
+12 -8
View File
@@ -1,8 +1,9 @@
# led-controller on a desktop # led-controller on a desktop
The controller firmware (`main/`) built as a program for Linux: no ESP-IDF, no Docker, no board. The web The controller firmware (`main/`) built as a program for Linux: no ESP-IDF, no Docker, no board. The web
UI and API are the same as the board's. ESP-NOW goes through a bridge: the USB bridge board (`bridge/`) UI and API are the same as the board's. ESP-NOW goes through bridges: a USB bridge board (`bridge/`), a network
or a UDP bridge such as `led-simulator`. bridge (a bridge board with Ethernet, or the ESP32-P4-Nano controller at `192.168.50.20:8766`, see `docs/P4_NANO.md`),
DMX bridges, and the simulated rig at `/sim/` (`make sim-wasm` first; see `led-simulator/README.md`).
## Build and run ## Build and run
@@ -46,15 +47,17 @@ stable name, `/dev/led-bridge`, by its serial number.
## How it is built ## How it is built
`desktop/CMakeLists.txt` compiles the firmware's own sources (`main/`, and the host stand-ins in `desktop/CMakeLists.txt` compiles the firmware's own sources (`main/`, and the host stand-ins and the
`sim-controller/components/sim/`: mic, OTA, littlefs and the timers) with a small port of the ESP-IDF APIs simulated rig in `sim-controller/components/sim/`: OTA, littlefs, the timers, `sim_rig.c` and `sim_net.c`) with a small port of the ESP-IDF APIs
they use: they use:
- `port/src/freertos.c`: tasks, queues, semaphores, stream buffers and event groups on POSIX threads. - `port/src/freertos.c`: tasks, queues, semaphores, stream buffers and event groups on POSIX threads.
- `port/src/esp_glue.c`: logging, error names, random numbers, the MAC (from the first real network - `port/src/esp_glue.c`: logging, error names, random numbers, the MAC (from the first real network
interface), restart (an exit, for the service manager), and the app description. interface), restart (an exit, for the service manager), and the app description.
- `port/src/desktop_crypto.c`: SHA-1 and base64 for the WebSocket handshake. - `port/src/desktop_crypto.c`: SHA-1 and base64 for the WebSocket handshake.
- `port/src/www_pack.c`: the web UI pack (`www_dist/www.pack`) embedded in the program. - `port/src/www_pack.c`, `sim_pack.c`: the web UI and simulator packs (`www_dist/www.pack`, `sim.pack`) embedded in the
program.
- `port/src/mic_alsa.c`, `mdns_host.c`: the microphone and the mDNS browser.
- `port/include/`: the headers. `sdkconfig.h` is the config the sim's build generated. - `port/include/`: the headers. `sdkconfig.h` is the config the sim's build generated.
Third-party code is vendored in `third_party/`: the HTTP server and `http_parser` from ESP-IDF v6.1, and cJSON. Third-party code is vendored in `third_party/`: the HTTP server and `http_parser` from ESP-IDF v6.1, and cJSON.
@@ -63,7 +66,8 @@ Third-party code is vendored in `third_party/`: the HTTP server and `http_parser
## Limits ## Limits
- ESP-NOW needs the bridge. Without one the program runs, and its ESP-NOW frames go nowhere. - ESP-NOW needs a bridge. With none in the settings the program runs the `browser` bridge, so its frames only reach the
- The Wi-Fi drivers are not discovered automatically: their mDNS discovery is not in the desktop build yet. simulated rig.
- Firmware OTA is not available (the API answers 501, as in the simulator). - Firmware OTA is not available (the API answers 501, as in the simulator).
- The mic is simulated: beats come from the BPM clock, as in the simulator. - The microphone is the computer's (ALSA) or a bridge board's. While audio is stopped, beats come from the BPM clock.
- Wi-Fi drivers are found over mDNS (`port/src/mdns_host.c`).
+28 -6
View File
@@ -1,6 +1,6 @@
# LED Controller API # LED Controller API
The controller is an ESP32-S3 on Ethernet (W5500). It serves the web UI and a JSON API on port 80, detects beats from its I2S microphone and talks to the LED drivers over ESP-NOW. This document covers: The controller is a Waveshare ESP32-P4-Nano on Ethernet ([P4_NANO.md](P4_NANO.md)). It serves the web UI and a JSON API on port 80, detects beats from its microphone and talks to the LED drivers over ESP-NOW through the board's ESP32-C6. The host builds (desktop, Docker, sim) serve the same API, on port 8080 by default; differences are marked. This document covers:
1. The HTTP and WebSocket API, by resource. 1. The HTTP and WebSocket API, by resource.
2. How the controller turns API calls into driver messages, and the message format. 2. How the controller turns API calls into driver messages, and the message format.
@@ -26,6 +26,7 @@ Request and response bodies are JSON (`Content-Type: application/json`) unless n
| GET | `/audio` | Live audio and beat page (level, tempo, bar position, tap) | | GET | `/audio` | Live audio and beat page (level, tempo, bar position, tap) |
| GET | `/settings/editor` | Driver settings editor: sends a driver settings (`PUT /devices/<id>`) | | GET | `/settings/editor` | Driver settings editor: sends a driver settings (`PUT /devices/<id>`) |
| GET | `/static/<path>` | UI scripts and styles | | GET | `/static/<path>` | UI scripts and styles |
| GET | `/sim/`, `/sim/gallery` | The simulated rig and the pattern gallery. Their API (`/sim/api/*`, `/sim/ws`) is in [`led-simulator/README.md`](../led-simulator/README.md) |
| GET | `/favicon.ico` | 204 | | GET | `/favicon.ico` | 204 |
Pages and static files are built into the firmware (gzipped, sent with `Content-Encoding: gzip`). They carry `Cache-Control: no-cache` and an `ETag` of the firmware build, so a browser revalidates each load (304 until the next update). Pages and static files are built into the firmware (gzipped, sent with `Content-Encoding: gzip`). They carry `Cache-Control: no-cache` and an `ETag` of the firmware build, so a browser revalidates each load (304 until the next update).
@@ -34,13 +35,34 @@ Pages and static files are built into the firmware (gzipped, sent with `Content-
| Method | Path | Description | | Method | Path | Description |
|--------|------|-------------| |--------|------|-------------|
| GET | `/status` | IP, `eth` (ip, mask, gw, up), `ap_ip`, `ap_clients` (`[{mac, ip}]` on the Wi-Fi access point), MAC, uptime, `free_heap`, `free_internal` (internal RAM), mic level, tempo and beat counts, ESP-NOW and link statistics | | GET | `/status` | IP, `eth` (ip, mask, gw, up), `ap_ip`, `ap_clients` (`[{mac, ip}]` on the Wi-Fi access point), MAC, uptime, `free_heap`, `free_internal` (internal RAM), mic level, tempo and beat counts, ESP-NOW and link statistics. Host builds add `sim`, `bridge`, `bridges` and `bridge_links`; on the board the bridges are in `GET /settings/bridge` |
| POST | `/reboot` | Replies `{"message":"rebooting"}`, then restarts after 0.5 s | | POST | `/reboot` | Replies `{"message":"rebooting"}`, then restarts after 0.5 s |
| GET | `/ota` | Running image: partition, version, build time, IDF version, sha | | GET | `/ota` | Running image: partition, version, build time, IDF version, sha |
| POST | `/ota` | Body: the raw firmware `.bin` (web UI included). Written to the idle slot, made the boot image, then the board reboots. A new image confirms itself after staying up a few seconds; one that crashes on start rolls back. `make ota HOST=<ip>` | | POST | `/ota` | Body: the raw firmware `.bin` (web UI included). Written to the idle slot, made the boot image, then the board reboots. A new image confirms itself after staying up a few seconds; one that crashes on start rolls back. `make ota HOST=<ip>` |
| GET | `/db/<collection>` | Export a whole collection | | GET | `/db/<collection>` | Export a whole collection |
| PUT | `/db/<collection>` | Replace a whole collection. Body: the object of id → record. Reply: `{"records": n}` | | PUT | `/db/<collection>` | Replace a whole collection. Body: the object of id → record. Reply: `{"records": n}` |
## Users and permissions — `/auth`
Off until the first user exists: until then every request is allowed. From then on a request needs a session and a role with enough permission for its area. Signed-out requests have the `guest` role. The last user who can manage users cannot be removed, so the API cannot switch this off again.
- **Levels:** 0 none, 1 view, 2 control (play, stop, brightness, identify and the like), 3 edit.
- **Areas:** `presets`, `sequences`, `zones` (with profiles and scenes), `groups`, `devices`, `outputs`, `patterns` (with palettes), `sim`, `settings` (with bridges, audio, OTA, reboot and bench tests), `users`. `/db` needs edit on `settings`, reads included.
- **Always public:** the main page, static files, `/status`, the audio page and the simulator's files.
- **Built-in roles:** `admin` (edit everywhere, fixed) and `guest` (editable).
- **Session:** a `led_session` cookie, 30 days. Sessions are kept in memory, so a restart signs everyone out.
| Method | Path | Description |
|--------|------|-------------|
| GET | `/auth` | `{enabled, user, role, perms: {area: level}}` for this request |
| POST | `/auth/login` | `{username, password}`. 401 when wrong, 429 after too many attempts |
| POST | `/auth/logout` | Ends the session |
| PUT | `/auth/password` | `{old, new}`: the signed-in user's own password, 8–128 characters |
| GET, POST | `/auth/users` | List; create `{username, password, role}` |
| PUT, DELETE | `/auth/users/<name>` | Change `role` and/or `password`; delete |
| GET, POST | `/auth/roles` | List; create `{name, perms: {area: level}}` |
| PUT, DELETE | `/auth/roles/<name>` | Change `perms`; delete (not a built-in role, nor one in use) |
**Bench tests** (see `docs/BENCH_TEST.md`): **Bench tests** (see `docs/BENCH_TEST.md`):
| Method | Path | Description | | Method | Path | Description |
@@ -61,11 +83,11 @@ Keys with meaning on the controller (others are stored as they are):
| Key | Checked | Meaning | | Key | Checked | Meaning |
|-----|---------|---------| |-----|---------|---------|
| `ap_enabled` | | Wi-Fi access point (open, SSID = hostname, `192.168.5.1`); default `true`; applies after a restart. Holding the D3 button at boot forces it on | | `ap_enabled` | | Wi-Fi access point (open, SSID = hostname, `192.168.5.1`); default `true`; applies after a restart. Holding a button wired to the menuconfig "AP button" GPIO at boot forces it on (none by default: the P4-Nano has no user button) |
| `ap_password` | | AP password, 8-63 characters (WPA2); empty (default) is an open network; applies after a restart | | `ap_password` | | AP password, 8-63 characters (WPA2); empty (default) is an open network; applies after a restart |
| `bridges` | list of strings | Bridges the ESP-NOW frames go to instead of the radio, each up to 79 characters: `/dev/ttyACM1` (a USB bridge board, or `serial:/dev/...`) `host:port` (UDP: led-simulator, or a network bridge board, default port 8766), or `dmx:<id>` (a DMX bridge, see below; host builds only, and only an id that exists). Every frame goes to each; a frame several bridges hear arrives once. Empty or missing: the radio. The host applies changes at once (`GET`/`PUT /settings/bridge`); a device applies them after a restart. `bridge` (one address) is still read when `bridges` is missing. | | `bridges` | list of strings | Bridges the ESP-NOW frames go to, each up to 79 characters: `/dev/ttyACM1` (a USB bridge board, or `serial:/dev/...`; host builds only), `host:port` (UDP: led-simulator, or a network bridge board, default port 8766), or `dmx:<id>` (a DMX bridge, see below; host builds only, and only an id that exists), or `browser` (the rig page at `/sim/`). Every frame goes to each; a frame several bridges hear arrives once. The board always runs `c6` (its own radio) and `browser` as well, whatever the list says. A host build with an empty list runs `browser`. The host applies changes at once (`PUT /settings/bridge`); the board applies them after a restart and answers that PUT with 404. `bridge` (one address) is still read when `bridges` is missing. |
| `hostname` | | mDNS name (`<hostname>.local`, default `led-controller`); applies after a restart | | `hostname` | | mDNS name (`<hostname>.local`, default `led-controller`); applies after a restart |
| `static_ips` | | List of `{ip, netmask?, gw, dns?}` tried in order when the Ethernet link comes up; the first whose gateway answers ARP is used, else DHCP, else `192.168.4.1/24` for a direct PC cable. Applies after a restart | | `static_ips` | | List of `{ip, netmask?, gw, dns?}` tried in order when the Ethernet link comes up; the first whose gateway answers ARP is used, else DHCP, else (no answer in 5 s) `192.168.50.20/24` for a direct PC cable. Applies after a restart |
| `global_brightness` | integer 0–255 | Global factor of each driver's brightness (see Groups). Stored only: the UI pushes each driver its combined value | | `global_brightness` | integer 0–255 | Global factor of each driver's brightness (see Groups). Stored only: the UI pushes each driver its combined value |
| `wifi_channel` | integer 1–11 | Stored for reference. The controller's ESP-NOW channel is set at build time (`make menuconfig`) | | `wifi_channel` | integer 1–11 | Stored for reference. The controller's ESP-NOW channel is set at build time (`make menuconfig`) |
| `audio_simulated_bpm` | clamped to 60–200 | Tempo of the beat clock (default 120) | | `audio_simulated_bpm` | clamped to 60–200 | Tempo of the beat clock (default 120) |
@@ -305,7 +327,7 @@ Network pixel fixtures. An output is `{id, name, protocol: "ddp" | "artnet" | "s
Zones do not render to outputs: only the test pattern is sent. Zones do not render to outputs: only the test pattern is sent.
The simulated rig (`/sim/`, host builds) receives Art-Net and DDP, so an output aimed at `127.0.0.1` shows on its DDP and Art-Net fixtures; see `led-simulator/README.md` (Network fixtures) and `GET /sim/api/dmx`. The simulated rig (`/sim/`) receives Art-Net and DDP, so an output aimed at `127.0.0.1` shows on its DDP and Art-Net fixtures; see `led-simulator/README.md` (Network fixtures) and `GET /sim/api/dmx`.
## DMX bridges — `/dmx-bridges`, `/dmx-definitions` ## DMX bridges — `/dmx-bridges`, `/dmx-definitions`
+5
View File
@@ -1,5 +1,10 @@
# Bench test: one S3 controller and one LED driver # Bench test: one S3 controller and one LED driver
> **Historical.** These runs used the earlier ESP32-S3 controller (W5500, INMP441) and the MicroPython led-driver. The
> controller now builds for the ESP32-P4-Nano only ([P4_NANO.md](P4_NANO.md)): use `make build` and `make flash` in place
> of sections 0 and 1, and its address (`192.168.50.20` on a direct cable) for `$S3`. The `/test/loss` and `/test/beats`
> endpoints below still exist. The results have not been repeated on the P4, where every frame also crosses the C6.
This walks one ESP32-S3 controller (W5500 Ethernet, INMP441 mic) and one `led-driver` unit through flashing, a smoke test, a lossy-link test and a beat latency measurement. Nothing here has been run on hardware yet, so treat the expected numbers as targets to check, not results. This walks one ESP32-S3 controller (W5500 Ethernet, INMP441 mic) and one `led-driver` unit through flashing, a smoke test, a lossy-link test and a beat latency measurement. Nothing here has been run on hardware yet, so treat the expected numbers as targets to check, not results.
## 0. What you need ## 0. What you need
+25 -6
View File
@@ -20,8 +20,10 @@ PC <-------------------------------> ESP32-P4 <------------------------------
to the P4. It does the same job as the USB bridge in `bridge/`, but over SDIO. to the P4. It does the same job as the USB bridge in `bridge/`, but over SDIO.
- **Microphone:** the on-board mic goes through the ES8311 codec, set up over I2C with `esp_codec_dev`. The - **Microphone:** the on-board mic goes through the ES8311 codec, set up over I2C with `esp_codec_dev`. The
rest of the mic path (levels, beat detection, streaming) runs on the P4. rest of the mic path (levels, beat detection, streaming) runs on the P4.
- **Status:** `GET /status` lists the `c6` bridge (kind `c6`). It shows whether the C6 is linked, its MAC and - **Status:** `GET /settings/bridge` lists the `c6` bridge (kind `c6`) and the `browser` one ([Simulator](#simulator)).
channel, its counters, and which desktop is using the radio, if any. For `c6` it shows whether the C6 is linked, its MAC and channel, its counters, and which desktop is using the
radio, if any.
- **Cores:** both P4 cores are used. The controller's tasks are not pinned to one.
## Build and flash ## Build and flash
@@ -29,7 +31,8 @@ Use ESP-IDF v6.1 (`espressif/idf:v6.1`). The settings are `sdkconfig.defaults` a
`partitions.csv`. `partitions.csv`.
```bash ```bash
make build # the web UI, radio-c6/ (C6) and the controller (P4) make sim-wasm # once, and after led-driver changes: the simulator's drivers
make build # the web UI, the simulator, radio-c6/ (C6) and the controller (P4)
make flash PORT=/dev/ttyACM0 # the controller, plus the C6 image into the slave_fw partition make flash PORT=/dev/ttyACM0 # the controller, plus the C6 image into the slave_fw partition
make log PORT=/dev/ttyACM0 # the console for 10 s (the board's USB-C port is a CH343 UART) make log PORT=/dev/ttyACM0 # the console for 10 s (the board's USB-C port is a CH343 UART)
make ota HOST=192.168.50.20 # later updates over Ethernet (not the C6 image: flash for that) make ota HOST=192.168.50.20 # later updates over Ethernet (not the C6 image: flash for that)
@@ -41,12 +44,23 @@ over esp-hosted OTA and restarts the board. This takes about 10 seconds, and onl
after a change. Never put the one-off updater in `scripts/c6-ota/host-v2` on the board again: it updates the after a change. Never put the one-off updater in `scripts/c6-ota/host-v2` on the board again: it updates the
C6 on every boot. C6 on every boot.
## Flash layout
`partitions.csv`, 16 MB:
| Partition | Size | What |
| --- | --- | --- |
| `ota_0`, `ota_1` | 3 MB each | the controller, web UI and simulator included |
| `db` | 8.1 MB (0x820000) | LittleFS: the records, and the simulator's rooms and bars in `/db/sim` |
| `slave_fw` | 1.75 MB | the C6 image |
| `nvs`, `otadata`, `phy_init` | 36 KB | |
## Network ## Network
The board sits on a cable straight to the PC (192.168.50.10), so there is no DHCP server. At boot it tries: The board sits on a cable straight to the PC (192.168.50.10), so there is no DHCP server. At boot it tries:
1. the settings `static_ips` 1. the settings `static_ips`
2. DHCP, for 5 seconds 2. DHCP, for 5 seconds
3. **192.168.50.20/24**, with no gateway (menuconfig "ESP32-P4-Nano") 3. **192.168.50.20/24**, with no gateway (menuconfig "ESP32-P4-Nano board")
The web UI is at http://192.168.50.20/. The web UI is at http://192.168.50.20/.
@@ -89,10 +103,15 @@ The C6 keeps running `radio-c6`. Waveshare's demo uses an older esp-hosted, whic
## Simulator ## Simulator
The board serves the same simulated rig as the desktop at `/sim/` (Menu > Simulator). The bars run in the browser and The board serves the same simulated rig as the desktop at `/sim/` (Menu > Simulator; see `led-simulator/README.md`). The
bars run in the browser and
get the controller's frames from the `browser` bridge, which is always on next to `c6`. Frames addressed to simulated get the controller's frames from the `browser` bridge, which is always on next to `c6`. Frames addressed to simulated
bars (MACs starting 02:51:4d) are not sent over the C6. A page that reads too slowly loses frames; the radio does not bars (MACs starting 02:51:4d) are not sent over the C6. A page that reads too slowly loses frames; the radio does not
wait for it. Rooms and the bars' flash are in `/db/sim`. wait for it. Rooms and the bars' flash are in `/db/sim`.
`make build` packs the page from `led-simulator/web`. The bars' WebAssembly comes from `make sim-wasm`; without it `make build` packs the page from `led-simulator/web`. The bars' WebAssembly comes from `make sim-wasm`; without it
`/sim/` only says how to build it. `/sim/` only says how to build it. `make build` reuses whatever WebAssembly is there, so run `make sim-wasm` again after
led-driver changes.
Art-Net and DDP sent to the board reach the rig's network fixtures. The board's own outputs reach them too, aimed at
`127.0.0.1`. DMX bridges (`dmx:<id>`) are in the host builds only.
+3
View File
@@ -1,5 +1,8 @@
# LED Driver System - Specification Document # LED Driver System - Specification Document
> **Historical.** This describes the first, MicroPython system and the Raspberry Pi controller. The current controller is
> ESP-IDF C on the ESP32-P4-Nano: see [P4_NANO.md](P4_NANO.md) and [API.md](API.md).
**Version:** 1.1 **Version:** 1.1
**Date:** October 2026 **Date:** October 2026
**Status:** Draft **Status:** Draft
+16 -3
View File
@@ -1,6 +1,6 @@
# LED controller — user guide # 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**. 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. - **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. - **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. - **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. - **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. - **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 ## Audio
- The controller listens through its microphone and detects the tempo and the bar. - The controller listens through its microphone and detects the tempo and the bar.
@@ -108,7 +117,11 @@ The preset editor:
## Settings ## 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) ### DMX bridges (desktop and Docker controllers)
Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

+1 -1
View File
@@ -1 +1 @@
{"ambiguous_scale": "", "code_only": false, "epoch": "v0.9.101-s36-g1339418af9f9", "excludes": [], "follow_symlinks": false, "full_clean": true, "gitignore": true, "graph_mtime_ns": 1795509579140756766, "graph_size": 6355082, "html_present": true, "no_cluster": false, "rcfile": "", "scan_digest": "58bfd576789ad5cb63bb092a135d8a28", "scan_root": "/home/jimmy/projects/led-controller", "viz_node_limit": ""} {"ambiguous_scale": "", "code_only": false, "epoch": "v0.9.101-s36-g1339418af9f9", "excludes": [], "follow_symlinks": false, "full_clean": true, "gitignore": true, "graph_mtime_ns": 1795511035181790381, "graph_size": 6357433, "html_present": true, "no_cluster": false, "rcfile": "", "scan_digest": "e8e5fa4cbc95ce3c751c403c7706e0b7", "scan_root": "/home/jimmy/projects/led-controller", "viz_node_limit": ""}
-2
View File
@@ -1,6 +1,5 @@
{ {
"1": "htmx Library", "1": "htmx Library",
"3": "Browser Tests & Mockup Images",
"4": "Audio UI (JS)", "4": "Audio UI (JS)",
"7": "led-tool Device CLI", "7": "led-tool Device CLI",
"10": "Spec: Pi Animation Engine", "10": "Spec: Pi Animation Engine",
@@ -30,7 +29,6 @@
"109": "Driver Message API Docs", "109": "Driver Message API Docs",
"111": "led_strip Manifest", "111": "led_strip Manifest",
"113": "Outputs UI (JS)", "113": "Outputs UI (JS)",
"115": "Help PDF: Overview",
"116": "Mockups Index Image", "116": "Mockups Index Image",
"118": "Help: Header Toolbar Image", "118": "Help: Header Toolbar Image",
"119": "Help: Preset Editor Image", "119": "Help: Preset Editor Image",
+1 -1
View File
@@ -1 +1 @@
{"0": "372f41e14f9e5c2b", "1": "2d791c43bb8436ec", "2": "b63da06d6ca05666", "3": "658093cbc50e95df", "4": "7221607390cbf8f4", "5": "7a1f72556a75d1af", "6": "377e4690eb7abc3b", "7": "3dfabe7f72940f54", "8": "e7e52a26e954e7ce", "9": "5e6bedc1d8578bcb", "10": "ba809033c2ac79db", "11": "014628e60d5d5ffe", "12": "cd9a1302e31a16be", "13": "38e3459e42de82ae", "14": "fffb476f6bb13ce3", "15": "67cb82d9f998b53c", "16": "b15b5e0e94827484", "17": "f0adc14b5bde8c14", "18": "d504ab75864c1263", "19": "36e64b70bd3252ce", "20": "67a9e5cbf438aa81", "21": "1615a5545577a3e0", "22": "ce8b93e18d0d81c7", "23": "9c44efee18c91daa", "24": "171804ba57132e8c", "25": "9521502a76e3926d", "26": "8f3b34399dfd51f7", "27": "24c2db367e0711da", "28": "c57242f1da7a7906", "29": "a5cce0735423723c", "30": "8c465f3df9b2ddbd", "31": "f77cfa2e889833dc", "32": "dded91ee83abd914", "33": "8d6369dac0e37651", "34": "74450c755029be52", "35": "a199470e5c4ccad0", "36": "ba8befe8bbe83d07", "37": "09e8ead6420a4e93", "38": "72b44391bf5e5aca", "39": "5a3c550786797601", "40": "1e8bb5c563da76e3", "41": "dab5b9625f23056c", "42": "ca5f38fabb644c68", "43": "3f9c3996c2f91db5", "44": "17db07507f9363bc", "45": "2cd2a0d7e29c2ea2", "46": "7cbf27333711af56", "47": "05417e9bf8f53a59", "48": "46b84e04c8a769a1", "49": "01bb51d3946bc98b", "50": "85c59c730f100a0c", "51": "c3eef28729a94247", "52": "c41b4bc2baaa338b", "53": "141393a45638779c", "54": "b39b683c5939fb10", "55": "320ad95913ff54b2", "56": "973ac14a32bd0435", "57": "c3f83d1d8be07123", "58": "999495a3bbaf2b82", "59": "05c2b9e03cbdb8a7", "60": "6b34e91ec33fc1a6", "61": "4c61a5703d5fbbe7", "62": "cf4381058dc8dbaf", "63": "3f32204f50610f42", "64": "729ec040f9bb167f", "65": "6c5494fec6a1690d", "66": "cea7111041c582d7", "67": "3185bd788c025bff", "68": "cf64028d87fd40dc", "69": "b3f3568a43b5614f", "70": "9affb95b7a8926f7", "71": "1f8c53beafa1d351", "72": "0c38ccfbb84bf400", "73": "298efcf42a95f405", "74": "e22342ee790998cd", "75": "fe3f7fa17b6e9140", "76": "7398ae7c69718fae", "77": "7e5187509e0145be", "78": "526e1ee4231263e6", "79": "0aadcaffca2fec2f", "80": "2a44adbbdb7b2cc2", "81": "b44b759b294e7fb1", "82": "7d5560702e41f10c", "83": "1b0ca72bf67d865e", "84": "7f17b7cf96d2f909", "85": "67e8988d64ef02c3", "86": "0db06cba669817d4", "87": "186dd13162172b05", "88": "d924b68f261df26a", "89": "d8f24f323e8fd32f", "90": "4bc03d14d36cb508", "91": "ab64084e0052dd1b", "92": "e7b36ee36453f434", "93": "c2ce778772ae9284", "94": "b56139564b079694", "95": "823a1e06c57794b5", "96": "fe6e422923b8d6ef", "97": "551d7508ae9dc04a", "98": "2c47e686b38a3e31", "99": "a53aba908169daa9", "100": "37fec7166e83e80d", "101": "e8c3d507c7523478", "102": "5e7048115c96c435", "103": "89850ee47c9ca738", "104": "6b44fd779534127a", "105": "98b16b4bcf978a30", "106": "b591ad81bfcfa144", "107": "01172c7d40a936d1", "108": "5452e4be3ed3be3c", "109": "62dfdb23b2c54d82", "110": "05419fa6a91533bf", "111": "66b50b0357357d62", "112": "06f8269454e09b4a", "113": "66e63867ee9ac604", "114": "fab5dd214febb09b", "115": "f3b1e77b5ff745de", "116": "2d5d657b0cb526af", "117": "8a68d6ebf88e07ea", "118": "4b507a629ac7f04f", "119": "c394c3d1e26256c8", "120": "8059a64174d9729b", "121": "b77edb57c9058871", "122": "9b758d47bd1a6c69", "123": "3757904e987193d1", "124": "47eda0e10f4e7313", "125": "a5a14d7f9d4df752", "126": "19bc0624255aed9a", "127": "682784ef7eb6ab79", "128": "b17e4e22dfe31a3d", "129": "93fc8b4ad7c9ca62", "130": "8363eed2536a6846", "131": "e72d71b14c89535c", "132": "281e8bde953022f8", "133": "0b2bcb7cf5e1bf59", "134": "692d38c636992a64", "135": "818a4539f18579c8", "136": "69e80d35078aa3e0", "137": "081bae76cc9e1f60", "138": "513f0c5816361dda", "139": "53262a9adf4dc017", "140": "7f4e0effc09d9671", "141": "101debf4b251ec78", "142": "01c470ad572a2a84", "143": "3f3a34f92cbdee62", "144": "a7a26633381cc935", "145": "8fc084b6564c04cd", "146": "cb4b693c8a2db3d0", "147": "b031133b75382475", "148": "73b79ac1f6ea0d0f", "149": "cfac964d6663b11e", "150": "535ff56fa874156d", "151": "82887211cf2bedf5", "152": "d7b01ac313a993bf", "153": "a1afbf3a5362e984", "154": "7ab2338abe50e2d2", "155": "b99358ab84ba22d5", "156": "f7b8f6a932f020e1", "157": "76a7b257781e8721", "158": "1496a7273bd8cbf0", "159": "70c38a287cac17ff", "160": "1b3167ce48880094", "161": "d9b95efbe9a3ca0a", "162": "79347942af0064f9", "163": "ee9ad33fb556ea89", "164": "ff462f4575171eb0", "165": "7feb2f5b09134ca9", "166": "dc0fda9a9c5206f5", "167": "cfef8526fa129559", "168": "e96a3289b65c92b5", "169": "3d3f4c5f67647202", "170": "5c67b0facbd753da", "171": "c8052f332c3d2369", "172": "ffa84e66ab7f2c83", "173": "9bcf4d1a57c0ba2a", "174": "6ca582b7df7276a1", "175": "de377ed03b71265f", "176": "1fb6d892ae8678c7", "177": "68a0452a8a24cf5d", "178": "70b47520df7dafb5", "179": "e79f5b10e996c86d", "180": "5ae949a86bd02dd3", "181": "040c831fbc62df23", "182": "09fe188418c42b7a", "183": "90b339bb352b5f47", "184": "7792fe6a1a4fe215", "185": "ced44d681e2ec183", "186": "ff963270b8878129", "187": "bb41b7312f4e3083", "188": "a08753a73e0ca7d5", "189"Line truncated {"0": "4747875b60c07c8e", "1": "2d791c43bb8436ec", "2": "b63da06d6ca05666", "3": "1537a663bb628c61", "4": "7221607390cbf8f4", "5": "65af331b09e4e19c", "6": "377e4690eb7abc3b", "7": "9e76078bd3c323e1", "8": "e7e52a26e954e7ce", "9": "5e6bedc1d8578bcb", "10": "ba809033c2ac79db", "11": "014628e60d5d5ffe", "12": "cd9a1302e31a16be", "13": "38e3459e42de82ae", "14": "acc8b751797fe16d", "15": "166261e31c0a1c6a", "16": "b15b5e0e94827484", "17": "d158de2e260e87f1", "18": "b924c5798804ace7", "19": "36e64b70bd3252ce", "20": "8fef51c59e728cbb", "21": "41dbeaa6b1164e79", "22": "763c5dd301dba9fe", "23": "36543da862a30c23", "24": "a0ce9c43e57ed217", "25": "1a3a2acee92c022b", "26": "ae20c59ddbe5e82f", "27": "9a94c31afc210838", "28": "c57242f1da7a7906", "29": "a5cce0735423723c", "30": "8c465f3df9b2ddbd", "31": "23cd2bd1611594a3", "32": "782e36ad565997ad", "33": "65c1b3ac6abfc459", "34": "74450c755029be52", "35": "b3c3cf366a2b8f04", "36": "45d9686e449b4153", "37": "6d766a31dee95aa5", "38": "72b44391bf5e5aca", "39": "b39197d1f5c481c9", "40": "2508fdd676fc06f1", "41": "961ec1306a7ec252", "42": "ca5f38fabb644c68", "43": "2388466475077a38", "44": "17db07507f9363bc", "45": "f5f1ae84a4436086", "46": "ade4fabb233094d6", "47": "05417e9bf8f53a59", "48": "46b84e04c8a769a1", "49": "01bb51d3946bc98b", "50": "85c59c730f100a0c", "51": "c3eef28729a94247", "52": "2ed5c0b03d48ad82", "53": "141393a45638779c", "54": "7ab867fe1a853fa3", "55": "2fb8fd9b4b15eee6", "56": "973ac14a32bd0435", "57": "c3f83d1d8be07123", "58": "999495a3bbaf2b82", "59": "dc9f5d83764df03c", "60": "6b34e91ec33fc1a6", "61": "4c61a5703d5fbbe7", "62": "644e8c6ff491a882", "63": "57c9ce016d9b288c", "64": "729ec040f9bb167f", "65": "f9350e080e8c14ba", "66": "0890d81916fc8f74", "67": "3185bd788c025bff", "68": "689839566bc63df7", "69": "793345f52bc29b45", "70": "9affb95b7a8926f7", "71": "3b6c96099f633b31", "72": "0c38ccfbb84bf400", "73": "1958447ec83a7874", "74": "b641cc57d1e11f9c", "75": "fe3f7fa17b6e9140", "76": "22fe59f2057ce0db", "77": "e44e72005db3af15", "78": "526e1ee4231263e6", "79": "0aadcaffca2fec2f", "80": "dc0f8db94ddb6af1", "81": "b44b759b294e7fb1", "82": "7d5560702e41f10c", "83": "1b0ca72bf67d865e", "84": "453f9db340ecd949", "85": "1d995f516e4b1e19", "86": "56b367f9e2da528b", "87": "186dd13162172b05", "88": "d924b68f261df26a", "89": "ecb507f45f3921e4", "90": "4bc03d14d36cb508", "91": "ab64084e0052dd1b", "92": "697bbc76558aeaa8", "93": "c2ce778772ae9284", "94": "c17fe0880c0c7073", "95": "823a1e06c57794b5", "96": "fe6e422923b8d6ef", "97": "0a8e27f158899299", "98": "00c6f26bc27a6e3a", "99": "57825860735efcff", "100": "984c367af7f85075", "101": "e8c3d507c7523478", "102": "5e7048115c96c435", "103": "89850ee47c9ca738", "104": "6b44fd779534127a", "105": "98b16b4bcf978a30", "106": "6967e410affad2f3", "107": "01172c7d40a936d1", "108": "5452e4be3ed3be3c", "109": "62dfdb23b2c54d82", "110": "05419fa6a91533bf", "111": "66b50b0357357d62", "112": "06f8269454e09b4a", "113": "66e63867ee9ac604", "114": "fab5dd214febb09b", "116": "2d5d657b0cb526af", "117": "8a68d6ebf88e07ea", "118": "4b507a629ac7f04f", "119": "c394c3d1e26256c8", "120": "8059a64174d9729b", "121": "b77edb57c9058871", "122": "9b758d47bd1a6c69", "123": "3757904e987193d1", "124": "e3707435f55b82cb", "125": "aa418591c87cc8eb", "126": "19bc0624255aed9a", "127": "682784ef7eb6ab79", "128": "5fb4148e68247a46", "129": "93fc8b4ad7c9ca62", "130": "8363eed2536a6846", "131": "4bf9ae36ecae2a53", "132": "281e8bde953022f8", "133": "9f48c27ebb9dc6f1", "134": "692d38c636992a64", "135": "818a4539f18579c8", "136": "d79cafc62d17f6c2", "137": "081bae76cc9e1f60", "138": "513f0c5816361dda", "139": "2dac0e39c96d1167", "140": "7f4e0effc09d9671", "141": "101debf4b251ec78", "142": "01c470ad572a2a84", "143": "a88d6d5c1f805166", "144": "a7a26633381cc935", "145": "8fc084b6564c04cd", "146": "cb4b693c8a2db3d0", "147": "b031133b75382475", "148": "73b79ac1f6ea0d0f", "149": "df213e6e03afe1ea", "150": "535ff56fa874156d", "151": "82887211cf2bedf5", "152": "d7b01ac313a993bf", "153": "a1afbf3a5362e984", "154": "7ab2338abe50e2d2", "155": "b99358ab84ba22d5", "156": "f7b8f6a932f020e1", "157": "76a7b257781e8721", "158": "1496a7273bd8cbf0", "159": "70c38a287cac17ff", "160": "1b3167ce48880094", "161": "d9b95efbe9a3ca0a", "162": "79347942af0064f9", "163": "ee9ad33fb556ea89", "164": "ff462f4575171eb0", "165": "7feb2f5b09134ca9", "166": "b54ee71a25e9fce2", "167": "cfef8526fa129559", "168": "496a0a14d2f3f063", "169": "de4127c75adfedbd", "170": "5c67b0facbd753da", "171": "c8052f332c3d2369", "172": "ffa84e66ab7f2c83", "173": "9bcf4d1a57c0ba2a", "174": "6ca582b7df7276a1", "175": "de377ed03b71265f", "176": "1fb6d892ae8678c7", "177": "935af460084ff8a6", "178": "70b47520df7dafb5", "179": "9657d6e19fb81087", "180": "5ae949a86bd02dd3", "181": "040c831fbc62df23", "182": "09fe188418c42b7a", "183": "90b339bb352b5f47", "184": "d0ff09e1589219cc", "185": "ced44d681e2ec183", "186": "ff963270b8878129", "187": "bb41b7312f4e3083", "188": "a08753a73e0ca7d5", "189": "0cadf82de76cac0c", "190"Line truncated
+30 -45
View File
@@ -1,6 +1,7 @@
{ {
"0": "IdfDevice", "0": "IdfDevice",
"2": "PyboardCommand", "2": "PyboardCommand",
"3": "BrowserTest",
"5": "cJSON", "5": "cJSON",
"6": "controller", "6": "controller",
"8": "ab", "8": "ab",
@@ -8,7 +9,7 @@
"11": "seq_timeline.js", "11": "seq_timeline.js",
"14": "freertos.c", "14": "freertos.c",
"15": "unique", "15": "unique",
"17": "bridge.c", "17": "bridge_serial.c",
"18": "bridge_main.c", "18": "bridge_main.c",
"21": "web.cpp", "21": "web.cpp",
"22": "espnow_tx.c", "22": "espnow_tx.c",
@@ -19,23 +20,23 @@
"27": "NoCaseDict", "27": "NoCaseDict",
"29": "binary_envelope.py", "29": "binary_envelope.py",
"31": "auth.c", "31": "auth.c",
"32": "BridgeSim", "32": "cJSON_IsString",
"33": "httpd_parse.c", "33": "httpd_parse.c",
"34": "test_sequences.py", "34": "test_sequences.py",
"35": "seqplay.c", "35": "seqplay.c",
"37": "bridge_sim.py", "37": "ws2812.cpp",
"38": "driver_ota.py", "38": "driver_ota.py",
"39": "cJSON_IsNumber", "39": "cJSON_Delete",
"40": "xSemaphoreGive", "40": "xSemaphoreGive",
"41": "WS2812", "41": "WS2812",
"42": "run_all", "42": "run_all",
"43": "create_app", "43": "generate_images.py",
"44": "events", "44": "events",
"45": "http_parser.h", "45": "http_parser.h",
"46": "xTaskCreate", "46": "bridge_eth.c",
"47": "argparse", "47": "argparse",
"50": "steps", "50": "steps",
"52": "beat.c", "52": "sim_stubs.c",
"54": "mcu_host/main/main.c", "54": "mcu_host/main/main.c",
"55": "nvs_open", "55": "nvs_open",
"56": "test_outputs.py", "56": "test_outputs.py",
@@ -48,36 +49,36 @@
"65": "sys", "65": "sys",
"66": "presets.cpp", "66": "presets.cpp",
"67": "auth.js", "67": "auth.js",
"68": "cJSON_CreateObject", "68": "sim_rig.c",
"69": "httpd_sess.c", "69": "httpd_sess.c",
"71": "LedSimulatorApp", "71": "BridgeSim",
"72": "httpd_data", "72": "httpd_data",
"74": "espnow_link.cpp", "74": "espnow_link.cpp",
"75": "Bench test: S3 controller and one LED driver", "75": "Bench test: S3 controller and one LED driver",
"76": "led-controller ESP32-S3 firmware", "76": "led-controller ESP32-S3 firmware",
"77": "transport.py", "77": "run_test",
"78": "sim_split.js", "78": "sim_split.js",
"80": "OutputManager", "80": "OutputManager",
"81": "artnet_dmx.py", "81": "artnet_dmx.py",
"82": "events", "82": "events",
"83": "dmx.js", "83": "dmx.js",
"84": "test_groups.py", "84": "test_groups.py",
"86": "httpd_req_t", "86": "cJSON_GetObjectItem",
"88": "events", "88": "events",
"89": "PatternPlayer", "89": "PatternPlayer",
"90": "Sender", "90": "Sender",
"91": "Pin", "91": "Pin",
"92": "mdns_host.c", "92": "mdns_host.c",
"93": "events", "93": "events",
"94": "httpd_resp_set_type", "94": "httpd_req_t",
"95": "test_dmx_bridge.py", "95": "test_dmx_bridge.py",
"96": "sim_demo.py", "96": "sim_demo.py",
"97": "NeoPixel", "97": "test_browser.py",
"98": "led-controller ESP32-S3 firmware", "98": "led-controller ESP32-S3 firmware",
"99": "cJSON_GetObjectItem", "99": "led_strip_rmt_dev_idf4.c",
"100": "bridge_dmx.c", "100": "bridge_dmx.c",
"102": "httpd_req_aux", "102": "httpd_req_aux",
"106": "httpd_txrx.c", "106": "LED controller web UI user guide",
"107": "main", "107": "main",
"108": "cmakeVariables", "108": "cmakeVariables",
"110": "run_soak", "110": "run_soak",
@@ -88,9 +89,9 @@
"125": "led_strip_spi_dev.c", "125": "led_strip_spi_dev.c",
"126": "dmx-draw.js", "126": "dmx-draw.js",
"128": "ESPNow", "128": "ESPNow",
"131": "layout.py", "131": "http_parser_url_fields",
"132": "Settings", "132": "Settings",
"133": "led-controller on a desktop", "133": "Controller on the Waveshare ESP32-P4-Nano",
"135": "cmakeVariables", "135": "cmakeVariables",
"136": "HttpDevice", "136": "HttpDevice",
"137": "events", "137": "events",
@@ -100,7 +101,7 @@
"144": "settings_editor.js", "144": "settings_editor.js",
"147": "bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c", "147": "bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c",
"148": "postinst", "148": "postinst",
"149": "esp_timer_create", "149": "semphr.h",
"150": "postrm", "150": "postrm",
"151": "prerm", "151": "prerm",
"152": "vendor.sh", "152": "vendor.sh",
@@ -116,24 +117,24 @@
"165": "dmx_bridge.js", "165": "dmx_bridge.js",
"166": "Preset", "166": "Preset",
"167": "httpd_req", "167": "httpd_req",
"168": "idf_device.py", "168": "test_patterns.py",
"169": "build_sim_web.sh", "169": "LED Controller HTTP/JSON API",
"170": "dependencies", "170": "dependencies",
"177": "SerialDMX", "177": "SerialDMX",
"178": "dependencies", "178": "dependencies",
"179": "httpd_resp_set_status", "179": "_browser_sleep",
"184": "beat_dsp.c", "184": "beat_dsp.c",
"197": "Test Server Tools", "197": "Test Server Tools",
"198": "SerialTransport", "198": "SerialTransport",
"199": "mac_str", "199": "test_audio.py",
"200": "Supported Platforms and Transports", "200": "Supported Platforms and Transports",
"201": "httpd_ctrl_data", "201": "httpd_ctrl_data",
"202": "build-flash/bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c", "202": "build-flash/bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c",
"203": "Supported Platforms and Transports", "203": "Supported Platforms and Transports",
"204": "_simlink_proc.py", "204": "_simlink_proc.py",
"205": "dependencies", "205": "dependencies",
"206": "http_parser.c", "206": ".write",
"207": "Request", "207": "KeyName",
"208": "build-flash/bootloader/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp", "208": "build-flash/bootloader/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp",
"209": "WLAN", "209": "WLAN",
"210": "fetch_cache.js", "210": "fetch_cache.js",
@@ -163,16 +164,15 @@
"234": "build-espnow/bootloader/project_elf_src_esp32c3.c", "234": "build-espnow/bootloader/project_elf_src_esp32c3.c",
"235": "driver-worker.js", "235": "driver-worker.js",
"236": "layout.js", "236": "layout.js",
"237": "README.md", "237": "bridge_mac_is_dmx",
"238": "build-espnow/config/sdkconfig.h", "238": "build-espnow/config/sdkconfig.h",
"239": "build-espnow/project_elf_src_esp32c3.c", "239": "build-espnow/project_elf_src_esp32c3.c",
"240": "build-timing/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c", "240": "build-timing/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c",
"241": "decode_presets", "241": "cJSON_CreateObject",
"242": "v1 driver messages (long/short keys)",
"243": "build-timing/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp", "243": "build-timing/CMakeFiles/4.0.3/CompilerIdCXX/CMakeCXXCompilerId.cpp",
"244": "build-flash/bootloader/config/sdkconfig.h", "244": "build-flash/bootloader/config/sdkconfig.h",
"245": "build-flash/bootloader/project_elf_src_esp32c3.c", "245": "build-flash/bootloader/project_elf_src_esp32c3.c",
"246": "src/main.cpp", "246": "sim_rx",
"247": "build-flash/config/sdkconfig.h", "247": "build-flash/config/sdkconfig.h",
"248": "build-flash/project_elf_src_esp32c3.c", "248": "build-flash/project_elf_src_esp32c3.c",
"249": "build-timing/bootloader/config/sdkconfig.h", "249": "build-timing/bootloader/config/sdkconfig.h",
@@ -181,22 +181,14 @@
"252": "build-timing/project_elf_src_esp32c3.c", "252": "build-timing/project_elf_src_esp32c3.c",
"253": "dependencies", "253": "dependencies",
"254": "dependencies", "254": "dependencies",
"255": "websocket.py",
"256": "create_self_signed_certs.sh", "256": "create_self_signed_certs.sh",
"257": "net.cpp", "257": "net.cpp",
"258": "microdot.py",
"259": "events", "259": "events",
"260": "events", "260": "events",
"261": "Response", "261": "Response",
"262": "bridge_hosted.c", "262": "vTaskDelay",
"263": "patterns.c", "263": "patterns.c",
"264": "URLPattern",
"265": "status_get_handler",
"266": "web.c",
"267": "machine.py", "267": "machine.py",
"268": "Controller on the Waveshare ESP32-P4-Nano",
"269": "led_strip_rmt_encoder.c",
"270": "httpd_stop",
"271": "httpd_ws_frame", "271": "httpd_ws_frame",
"272": "dependencies", "272": "dependencies",
"273": "build-d61/bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c", "273": "build-d61/bootloader/CMakeFiles/4.0.3/CompilerIdC/CMakeCCompilerId.c",
@@ -209,14 +201,7 @@
"280": "build-d61/config/sdkconfig.h", "280": "build-d61/config/sdkconfig.h",
"281": "build-d61/project_elf_src_esp32c3.c", "281": "build-d61/project_elf_src_esp32c3.c",
"282": "move_bars.py", "282": "move_bars.py",
"283": "_simlink.py",
"284": "hmac256",
"285": "create_https_server.py", "285": "create_https_server.py",
"286": "desktop_main.c", "286": "desktop_main.c",
"287": "httpd_os_thread_create", "290": "ws_slot_t"
"288": "led-driver/main/ota.c",
"289": "relay_slot_t",
"290": "ws_slot_t",
"291": "ws_client_send_text",
"292": "ws_client_connect"
} }
@@ -1,6 +1,5 @@
{ {
"1": "htmx Library", "1": "htmx Library",
"3": "Browser Tests & Mockup Images",
"4": "Audio UI (JS)", "4": "Audio UI (JS)",
"7": "led-tool Device CLI", "7": "led-tool Device CLI",
"10": "Spec: Pi Animation Engine", "10": "Spec: Pi Animation Engine",
+234 -209
View File
@@ -1,17 +1,17 @@
# Graph Report - led-controller (2026-11-24) # Graph Report - led-controller (2026-11-24)
## Corpus Check ## Corpus Check
- 533 files · ~2,050,955 words - 533 files · ~2,052,662 words
- Verdict: corpus is large enough that graph structure adds value. - Verdict: corpus is large enough that graph structure adds value.
- Unclassified: 6320 file(s) not represented in the graph (top: .obj 4420, .cmake 802, .a 520) - Unclassified: 6320 file(s) not represented in the graph (top: .obj 4420, .cmake 802, .a 520)
## Summary ## Summary
- 5782 nodes · 16701 edges · 273 communities (176 shown, 97 thin omitted) - 5786 nodes · 16722 edges · 278 communities (181 shown, 97 thin omitted)
- Extraction: 75% EXTRACTED · 25% INFERRED · 0% AMBIGUOUS · INFERRED: 4157 edges (avg confidence: 0.85) - Extraction: 75% EXTRACTED · 25% INFERRED · 0% AMBIGUOUS · INFERRED: 4164 edges (avg confidence: 0.85)
- Token cost: 0 input · 0 output - Token cost: 0 input · 0 output
## Graph Freshness ## Graph Freshness
- Built from commit: `ba8e160a` - Built from commit: `8756315a`
- Run `git rev-parse HEAD` and compare to check if the graph is stale. - Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost). - Run `graphify update .` after code changes (no API cost).
@@ -19,7 +19,7 @@
- IdfDevice - IdfDevice
- htmx Library - htmx Library
- PyboardCommand - PyboardCommand
- Browser Tests & Mockup Images - BrowserTest
- Audio UI (JS) - Audio UI (JS)
- cJSON - cJSON
- controller - controller
@@ -38,7 +38,7 @@
- led_strip Component Docs - led_strip Component Docs
- Art-Net Output - Art-Net Output
- web.cpp - web.cpp
- rel.c - espnow_tx.c
- cJSON - cJSON
- time - time
- Microdot - Microdot
@@ -48,52 +48,52 @@
- binary_envelope.py - binary_envelope.py
- Colour Picker Mockups - Colour Picker Mockups
- auth.c - auth.c
- BridgeSim - cJSON_IsString
- httpd_parse.c - httpd_parse.c
- test_sequences.py - test_sequences.py
- seqplay.c - seqplay.c
- API Docs: Outputs & Audio - API Docs: Outputs & Audio
- bridge_sim.py - ws2812.cpp
- driver_ota.py - driver_ota.py
- esp_wifi.h - cJSON_Delete
- xSemaphoreGive - xSemaphoreGive
- WS2812 - WS2812
- run_all - run_all
- cJSON_Delete - generate_images.py
- events - events
- http_parser.h - http_parser.h
- xTaskCreate - bridge_eth.c
- argparse - argparse
- Colour Picker JS - Colour Picker JS
- Chromium Colour Picker JS - Chromium Colour Picker JS
- steps - steps
- API Tests: Devices - API Tests: Devices
- beat.c - sim_stubs.c
- mpremote Transport - mpremote Transport
- mcu_host/main/main.c - mcu_host/main/main.c
- usb_cfg.cpp - nvs_open
- test_outputs.py - test_outputs.py
- esp_http_server.h - httpd_config
- gallery.js - gallery.js
- mic_alsa.c - mic_alsa.c
- test_sim_net.py - test_sim_net.py
- API Test Fixtures & Audio - API Test Fixtures & Audio
- outputs.c - sock_db
- Help: Zones & Palette - Help: Zones & Palette
- ddp_test.py - ddp_test.py
- sys - sys
- presets.cpp - presets.cpp
- auth.js - auth.js
- cJSON_Delete - sim_rig.c
- httpd_sess.c - httpd_sess.c
- Index Page Modals - Index Page Modals
- LedSimulatorApp - BridgeSim
- httpd_data - httpd_data
- Microdot WebSocket (dmx) - Microdot WebSocket (dmx)
- espnow_link.cpp - espnow_link.cpp
- Bench test: S3 controller and one LED driver - Bench test: S3 controller and one LED driver
- DMX Driver Art-Net and serial gateway - led-controller ESP32-S3 firmware
- transport.py - run_test
- sim_split.js - sim_split.js
- Audio Monitor Page - Audio Monitor Page
- OutputManager - OutputManager
@@ -102,7 +102,7 @@
- dmx.js - dmx.js
- test_groups.py - test_groups.py
- ESP-NOW Sender Bridge - ESP-NOW Sender Bridge
- httpd_req_t - cJSON_GetObjectItem
- Microdot Async IO (dmx) - Microdot Async IO (dmx)
- events - events
- PatternPlayer - PatternPlayer
@@ -110,19 +110,19 @@
- Pin - Pin
- mdns_host.c - mdns_host.c
- events - events
- httpd_resp_set_type - httpd_req_t
- test_dmx_bridge.py - test_dmx_bridge.py
- sim_demo.py - sim_demo.py
- NeoPixel - test_browser.py
- led-controller ESP32-S3 firmware - led-controller ESP32-S3 firmware
- cJSON_GetObjectItem - led_strip_rmt_dev_idf4.c
- bridge_dmx.c - bridge_dmx.c
- Groups UI (JS) - Groups UI (JS)
- httpd_req_aux - httpd_req_aux
- Help: Mobile Menu Image - Help: Mobile Menu Image
- Pattern Selector Mockup Image - Pattern Selector Mockup Image
- Driver Pattern Docs - Driver Pattern Docs
- esp_httpd_priv.h - LED controller web UI user guide
- main - main
- cmakeVariables - cmakeVariables
- Driver Message API Docs - Driver Message API Docs
@@ -147,9 +147,9 @@
- ESPNow - ESPNow
- Colour Picker Demo Image - Colour Picker Demo Image
- Settings Mockup Image - Settings Mockup Image
- layout.py - http_parser_url_fields
- Settings - Settings
- led-controller on a desktop - Controller on the Waveshare ESP32-P4-Nano
- cmakeVariables - cmakeVariables
- HttpDevice - HttpDevice
- events - events
@@ -162,7 +162,7 @@
- settings_editor.js - settings_editor.js
- Help PDF: Modes - Help PDF: Modes
- Help: Tab Preset Strip Image - Help: Tab Preset Strip Image
- test_patterns.py - semphr.h
- vendor.sh - vendor.sh
- app.js - app.js
- RMT Example Manifest - RMT Example Manifest
@@ -172,7 +172,7 @@
- dmx_bridge.js - dmx_bridge.js
- Preset - Preset
- httpd_req - httpd_req
- espnow_tx_beat - test_patterns.py
- build_sim_web.sh - build_sim_web.sh
- dependencies - dependencies
- List Search (JS) - List Search (JS)
@@ -182,25 +182,25 @@
- graphify Instructions - graphify Instructions
- SerialDMX - SerialDMX
- dependencies - dependencies
- httpd_txrx.c - _browser_sleep
- bulk.sh Script - bulk.sh Script
- deploy.sh Script - deploy.sh Script
- Driver install.sh - Driver install.sh
- test_audio.py - beat_dsp.c
- led-tool install.sh - led-tool install.sh
- Help PDF Build Script - Help PDF Build Script
- Web Build Script - Web Build Script
- Spec: Pattern Selector UI - Spec: Pattern Selector UI
- Test Server Tools - Test Server Tools
- SerialTransport - SerialTransport
- ._loop_main - test_audio.py
- Supported Platforms and Transports - Supported Platforms and Transports
- httpd_ctrl_data - httpd_ctrl_data
- Supported Platforms and Transports - Supported Platforms and Transports
- _simlink_proc.py - _simlink_proc.py
- dependencies - dependencies
- led-tool / led-cli serial device CLI - .write
- esp_read_mac - KeyName
- WLAN - WLAN
- Slave Firmware Binaries for LittleFS OTA - Slave Firmware Binaries for LittleFS OTA
- Slave Firmware Binaries for Partition OTA - Slave Firmware Binaries for Partition OTA
@@ -214,10 +214,10 @@
- examples/blink.py - examples/blink.py
- driver-worker.js - driver-worker.js
- layout.js - layout.js
- README.md - bridge_mac_is_dmx
- ctrl_msg.cpp - cJSON_CreateObject
- v1 driver messages (long/short keys) - DMX Driver Art-Net and serial gateway
- src/main.cpp - sim_rx
- dependencies - dependencies
- dependencies - dependencies
- create_self_signed_certs.sh - create_self_signed_certs.sh
@@ -225,23 +225,28 @@
- events - events
- events - events
- Response - Response
- bridge_hosted.c - vTaskDelay
- patterns.c - patterns.c
- machine.py - machine.py
- led-controller ESP32-S3 firmware - httpd_ws_frame
- dependencies - dependencies
- flags
- move_bars.py
- create_https_server.py
- desktop_main.c
- ws_slot_t
## God Nodes (most connected - your core abstractions) ## God Nodes (most connected - your core abstractions)
1. `cJSON` - 292 edges 1. `cJSON` - 292 edges
2. `cJSON_GetObjectItem()` - 237 edges 2. `cJSON_GetObjectItem()` - 237 edges
3. `httpd_req_t` - 184 edges 3. `httpd_req_t` - 183 edges
4. `cJSON_Delete()` - 162 edges 4. `cJSON_Delete()` - 162 edges
5. `cJSON_CreateObject()` - 155 edges 5. `cJSON_CreateObject()` - 155 edges
6. `cJSON_IsString()` - 129 edges 6. `cJSON_IsString()` - 129 edges
7. `cJSON_AddStringToObject()` - 121 edges 7. `cJSON_AddStringToObject()` - 121 edges
8. `store_coll()` - 111 edges 8. `store_coll()` - 111 edges
9. `xSemaphoreGive()` - 83 edges 9. `xSemaphoreGive()` - 82 edges
10. `xSemaphoreTake()` - 82 edges 10. `xSemaphoreTake()` - 81 edges
## Surprising Connections (you probably didn't know these) ## Surprising Connections (you probably didn't know these)
- `Scenario` --references--> `activate()` [INFERRED] - `Scenario` --references--> `activate()` [INFERRED]
@@ -284,19 +289,19 @@
- **ESP-NOW driver delivery layers** — docs_api_binary_envelope, docs_api_delivery_digest, docs_bench_test_reliable_link, docs_bench_test_beat_double_send [INFERRED 0.85] - **ESP-NOW driver delivery layers** — docs_api_binary_envelope, docs_api_delivery_digest, docs_bench_test_reliable_link, docs_bench_test_beat_double_send [INFERRED 0.85]
- **v1 message handling on driver** — led_driver_docs_api_v1_message, led_driver_docs_patterns_process_data_flow, led_driver_docs_patterns_pattern_registry, led_driver_docs_patterns_preset_short_keys, led_driver_docs_api_select_message [INFERRED 0.85] - **v1 message handling on driver** — led_driver_docs_api_v1_message, led_driver_docs_patterns_process_data_flow, led_driver_docs_patterns_pattern_registry, led_driver_docs_patterns_preset_short_keys, led_driver_docs_api_select_message [INFERRED 0.85]
## Communities (273 total, 97 thin omitted) ## Communities (278 total, 97 thin omitted)
### Community 0 - "IdfDevice" ### Community 0 - "IdfDevice"
Cohesion: 0.10 Cohesion: 0.10
Nodes (8): _hex_rgb(), _idf_post(), _idf_show(), _preset_content(), run_idf(), open_when_ready(), IdfDevice, probe() Nodes (9): _hex_rgb(), _idf_post(), _idf_show(), _preset_content(), run_idf(), open_when_ready(), read_state(), IdfDevice (+1 more)
### Community 1 - "htmx Library" ### Community 1 - "htmx Library"
Cohesion: 0.08 Cohesion: 0.08
Nodes (101): a(), Ae(), an(), at(), B(), be(), bn(), bt() (+93 more) Nodes (101): a(), Ae(), an(), at(), B(), be(), bn(), bt() (+93 more)
### Community 3 - "Browser Tests & Mockup Images" ### Community 3 - "BrowserTest"
Cohesion: 0.06 Cohesion: 0.19
Nodes (17): generate_image(), generate_with_html2image(), generate_with_playwright(), generate_with_selenium(), main(), browser(), _browser_sleep(), BrowserTest (+9 more) Nodes (7): BrowserTest, main(), test_color_palette_ui(), test_preset_drag_and_drop(), test_presets_ui(), test_profiles_ui(), test_zones_ui()
### Community 4 - "Audio UI (JS)" ### Community 4 - "Audio UI (JS)"
Cohesion: 0.11 Cohesion: 0.11
@@ -304,7 +309,7 @@ Nodes (58): applyAudioStatus(), applyServerAudioUiFields(), audioRunPreferredDev
### Community 5 - "cJSON" ### Community 5 - "cJSON"
Cohesion: 0.06 Cohesion: 0.06
Nodes (84): add_item_to_array(), buffer_skip_whitespace(), case_insensitive_strcmp(), cast_away_const(), cJSON, cJSON_AddItemReferenceToArray(), cJSON_AddItemToObjectCS(), cJSON_bool (+76 more) Nodes (91): add_item_to_array(), add_item_to_object(), buffer_skip_whitespace(), case_insensitive_strcmp(), cast_away_const(), cJSON, cJSON_AddFalseToObject(), cJSON_AddItemReferenceToArray() (+83 more)
### Community 6 - "controller" ### Community 6 - "controller"
Cohesion: 0.05 Cohesion: 0.05
@@ -339,12 +344,12 @@ Cohesion: 0.10
Nodes (42): applyBrightnessSliders(), applyZoneContentKindEditModal(), clamp255(), computeZoneNamesTargets(), computeZonePresetUnionTargets(), computeZoneTargets(), createZone(), effectiveGroupIdsForZonePreset() (+34 more) Nodes (42): applyBrightnessSliders(), applyZoneContentKindEditModal(), clamp255(), computeZoneNamesTargets(), computeZonePresetUnionTargets(), computeZoneTargets(), createZone(), effectiveGroupIdsForZonePreset() (+34 more)
### Community 14 - "freertos.c" ### Community 14 - "freertos.c"
Cohesion: 0.05 Cohesion: 0.07
Nodes (50): on_recv(), make_deadline(), queue_send(), sem_give(), sem_take(), uxQueueMessagesWaiting(), vEventGroupDelete(), vQueueDelete() (+42 more) Nodes (41): on_recv(), make_deadline(), queue_send(), sem_give(), sem_new(), sem_take(), uxQueueMessagesWaiting(), vEventGroupDelete() (+33 more)
### Community 15 - "unique" ### Community 15 - "unique"
Cohesion: 0.05 Cohesion: 0.04
Nodes (28): new_id(), unique(), test_preset_round_trip(), test_profile_import_folds_animation_ids(), test_profile_round_trip(), test_sequence_round_trip(), start(), test_definition_in_use_is_kept() (+20 more) Nodes (32): find_id_by_field(), missing(), new_id(), unique(), test_preset_round_trip(), test_profile_import_folds_animation_ids(), test_profile_round_trip(), test_sequence_round_trip() (+24 more)
### Community 16 - "Sequences UI (JS)" ### Community 16 - "Sequences UI (JS)"
Cohesion: 0.11 Cohesion: 0.11
@@ -355,40 +360,40 @@ Cohesion: 0.15
Nodes (23): bridge_crc16_update(), bridge_decode_feed(), bridge_encode(), bridge_ports_json(), keepalive_task(), bridge_serial_close(), bridge_serial_follow_mac(), bridge_serial_has_mic() (+15 more) Nodes (23): bridge_crc16_update(), bridge_decode_feed(), bridge_encode(), bridge_ports_json(), keepalive_task(), bridge_serial_close(), bridge_serial_follow_mac(), bridge_serial_has_mic() (+15 more)
### Community 18 - "bridge_main.c" ### Community 18 - "bridge_main.c"
Cohesion: 0.09 Cohesion: 0.04
Nodes (19): bridge_eth_ip(), bridge_eth_start(), on_eth_down(), on_got_ip(), build_info(), handle_frame(), host_rx_task(), log_hook() (+11 more) Nodes (70): app_main(), build_info(), ctl_open(), ctl_task(), ensure_peer(), handle_frame(), host_rx_task(), log_hook() (+62 more)
### Community 19 - "led_strip Component Docs" ### Community 19 - "led_strip Component Docs"
Cohesion: 0.10 Cohesion: 0.10
Nodes (36): led_test ESP-IDF project, led_test main component (main.c), led_strip API Reference, led_model_t (WS2812/SK6812), led_pixel_format_t (GRB/GRBW), led_strip_clear(), led_strip_config_t, led_strip_del() (+28 more) Nodes (36): led_test ESP-IDF project, led_test main component (main.c), led_strip API Reference, led_model_t (WS2812/SK6812), led_pixel_format_t (GRB/GRBW), led_strip_clear(), led_strip_config_t, led_strip_del() (+28 more)
### Community 20 - "Art-Net Output" ### Community 20 - "Art-Net Output"
Cohesion: 0.09 Cohesion: 0.10
Nodes (11): ArtNet, as_channels(), build_artdmx(), _ip_bytes(), _pad(), port_lo(), sleep_ms(), ticks_diff() (+3 more) Nodes (10): ArtNet, as_channels(), build_artdmx(), _ip_bytes(), _pad(), port_lo(), sleep_ms(), ticks_diff() (+2 more)
### Community 21 - "web.cpp" ### Community 21 - "web.cpp"
Cohesion: 0.11 Cohesion: 0.09
Nodes (54): cJSON_free(), net_sta_status(), add_uri(), api_call_work(), api_fn_t, api_http_entry(), api_req_t, api_route_t (+46 more) Nodes (60): cJSON_free(), ddp_set_enabled(), add_uri(), api_call_work(), api_fn_t, api_http_entry(), api_req_t, api_route_t (+52 more)
### Community 22 - "rel.c" ### Community 22 - "espnow_tx.c"
Cohesion: 0.14 Cohesion: 0.07
Nodes (17): engine_groups_push_all(), espnow_tx_send(), full_mask(), handle_rx(), peer_get(), record_done(), rel_peer_status(), rel_send() (+9 more) Nodes (29): api_bridges_remove(), bench_on_beat_tx(), bench_on_echo(), bench_running(), bench_start(), bench_stop(), gen_cb(), gpio_mark() (+21 more)
### Community 23 - "cJSON" ### Community 23 - "cJSON"
Cohesion: 0.05 Cohesion: 0.07
Nodes (125): list_pulse_sources(), cJSON_GetArrayItem(), cJSON_GetArraySize(), cJSON_GetObjectItem(), cJSON_HasObjectItem(), cJSON_IsArray(), cJSON_IsBool(), cJSON_IsNumber() (+117 more) Nodes (63): cJSON_IsTrue(), build_groups(), defer_groups(), device_name_for(), driver_in_zone(), driver_task(), emit_c(), emit_json() (+55 more)
### Community 24 - "time" ### Community 24 - "time"
Cohesion: 0.13 Cohesion: 0.15
Nodes (11): answers_ping(), bridge_macs(), candidate_ports(), controller_name_for(), flash(), main(), process(), read_state() (+3 more) Nodes (10): answers_ping(), bridge_macs(), candidate_ports(), controller_name_for(), flash(), main(), process(), say() (+2 more)
### Community 25 - "Microdot" ### Community 25 - "Microdot"
Cohesion: 0.05 Cohesion: 0.05
Nodes (4): Microdot, decorated(), mro(), URLPattern Nodes (4): Microdot, decorated(), mro(), URLPattern
### Community 26 - "httpd_handle_t" ### Community 26 - "httpd_handle_t"
Cohesion: 0.23 Cohesion: 0.11
Nodes (19): httpd_handle_t, httpd_uri_t, httpd_get_global_transport_ctx(), httpd_get_global_user_ctx(), httpd_socket_recv(), httpd_register_uri_handler(), ota_register(), api_register() (+11 more) Nodes (32): vSemaphoreDelete(), httpd_err_code_t, httpd_err_handler_func_t, httpd_handle_t, httpd_method_t, httpd_uri, method, httpd_uri_t (+24 more)
### Community 27 - "NoCaseDict" ### Community 27 - "NoCaseDict"
Cohesion: 0.07 Cohesion: 0.07
@@ -407,68 +412,68 @@ Cohesion: 0.11
Nodes (25): Chromium-style Color Picker Demo, ColorPickerChromium Component, updateColors() (Chromium demo), Custom Color Picker Demo, updateColors() (standard demo), Custom Colour Picker README, POST /api/colors (example), ColorPicker Component (+17 more) Nodes (25): Chromium-style Color Picker Demo, ColorPickerChromium Component, updateColors() (Chromium demo), Custom Color Picker Demo, updateColors() (standard demo), Custom Colour Picker README, POST /api/colors (example), ColorPicker Component (+17 more)
### Community 31 - "auth.c" ### Community 31 - "auth.c"
Cohesion: 0.08 Cohesion: 0.11
Nodes (81): bridge_store_locked(), audio_api_resume_mic(), mic_follow_setting(), all_edit(), area_index(), auth_can(), auth_classify(), auth_enabled_locked() (+73 more) Nodes (54): area_index(), auth_can(), auth_classify(), auth_enabled_locked(), auth_gate(), auth_init(), auth_route(), auth_ws_admit() (+46 more)
### Community 32 - "BridgeSim" ### Community 32 - "cJSON_IsString"
Cohesion: 0.15 Cohesion: 0.10
Nodes (4): BridgeSim, mac_str(), _read_json(), Strip Nodes (37): list_alsa_devices(), list_pulse_sources(), mic_list_devices(), cJSON_GetArrayItem(), cJSON_GetArraySize(), cJSON_IsString(), apply_default(), apply_presets() (+29 more)
### Community 33 - "httpd_parse.c" ### Community 33 - "httpd_parse.c"
Cohesion: 0.06 Cohesion: 0.06
Nodes (57): cb_header_field(), cb_header_value(), cb_headers_complete(), cb_no_body(), cb_on_body(), cb_url(), continue_parsing(), httpd_cookie_key_value() (+49 more) Nodes (56): httpd_config_t, httpd_create(), cb_header_field(), cb_header_value(), cb_headers_complete(), cb_no_body(), cb_on_body(), cb_url() (+48 more)
### Community 34 - "test_sequences.py" ### Community 34 - "test_sequences.py"
Cohesion: 0.16 Cohesion: 0.16
Nodes (29): clock(), make(), presets(), test_beat_and_time_lanes_together(), test_chase_moves_and_bounces(), test_editing_stops_playback(), test_editing_stops_the_preview_not_the_live_sequence(), test_legacy_animation_kind_plays_once() (+21 more) Nodes (29): clock(), make(), presets(), test_beat_and_time_lanes_together(), test_chase_moves_and_bounces(), test_editing_stops_playback(), test_editing_stops_the_preview_not_the_live_sequence(), test_legacy_animation_kind_plays_once() (+21 more)
### Community 35 - "seqplay.c" ### Community 35 - "seqplay.c"
Cohesion: 0.09 Cohesion: 0.05
Nodes (62): beat_get_info(), add_id(), advance_time(), anchor_bar(), audio_drives(), beat_task(), bit(), chase_mask() (+54 more) Nodes (99): mic_error(), mic_is_open(), cJSON_AddNullToObject(), bridge_store_locked(), audio_api_resume_mic(), audio_handler(), audio_run(), mic_follow_setting() (+91 more)
### Community 36 - "API Docs: Outputs & Audio" ### Community 36 - "API Docs: Outputs & Audio"
Cohesion: 0.14
Nodes (23): Art-Net output (UDP 6454), Audio API /api/audio and /audio page routes, Profile/preset/sequence JSON bundles (import/export), Combined brightness (global x groups x device x zone), Devices resource /devices, Driver group membership lists (group ids, z<zone id>), Driver app update /drivers/ota (staged files, sha, commit/abort), Firmware OTA /ota (idle slot, rollback) (+15 more)
### Community 37 - "bridge_sim.py"
Cohesion: 0.15 Cohesion: 0.15
Nodes (9): driver_mac(), load_config(), _merge(), sync_patterns(), controller_url(), _get(), _post(), seed() (+1 more) Nodes (20): Controller WebSocket /ws (v1 presets/select), Binary envelope (main/envelope.c, test/binary_envelope.py), Profile/preset/sequence JSON bundles (import/export), /db collection export and replace, Driver group membership lists (group ids, z<zone id>), LED Controller HTTP/JSON API, Palettes resource /palettes, Presets resource /presets (+12 more)
### Community 37 - "ws2812.cpp"
Cohesion: 0.14
Nodes (5): new_ws2812_encoder(), rmt_del_ws2812_encoder(), rmt_encode_ws2812(), rmt_ws2812_encoder_reset(), rmt_ws2812_encoder_t
### Community 38 - "driver_ota.py" ### Community 38 - "driver_ota.py"
Cohesion: 0.14 Cohesion: 0.14
Nodes (9): discover(), local_subnet(), main(), discover(), _expand(), _ip(), local_subnet(), ota_drivers() (+1 more) Nodes (9): discover(), local_subnet(), main(), discover(), _expand(), _ip(), local_subnet(), ota_drivers() (+1 more)
### Community 39 - "esp_wifi.h" ### Community 39 - "cJSON_Delete"
Cohesion: 0.13 Cohesion: 0.07
Nodes (16): ensure_peer(), tx_task(), ensure_peer(), on_wifi(), tx_task(), esp_now_peer_info_t, esp_now_recv_cb_t, wifi_interface_t (+8 more) Nodes (84): cJSON_AddTrueToObject(), cJSON_Delete(), cJSON_IsFalse(), cJSON_IsNumber(), cJSON_Parse(), api_body(), api_body_opt(), api_current_profile() (+76 more)
### Community 40 - "xSemaphoreGive" ### Community 40 - "xSemaphoreGive"
Cohesion: 0.05 Cohesion: 0.04
Nodes (84): ctl_task(), udp_task(), xSemaphoreGive(), xSemaphoreTake(), ddp_show(), fx_fn, now_ms(), output() (+76 more) Nodes (96): mic_task(), rx_task(), udp_send_up(), udp_task(), usb_send_frame(), xSemaphoreGive(), xSemaphoreTake(), clamp_leds() (+88 more)
### Community 41 - "WS2812" ### Community 41 - "WS2812"
Cohesion: 0.06 Cohesion: 0.09
Nodes (19): new_ws2812_encoder(), rmt_del_ws2812_encoder(), rmt_encode_ws2812(), rmt_ws2812_encoder_reset(), rmt_ws2812_encoder_t, WS2812, channel_, encoder_ (+11 more) Nodes (15): WS2812, channel_, encoder_, num_leds_, order_, pixels_, tx_config_, tx_pixels_ (+7 more)
### Community 42 - "run_all" ### Community 42 - "run_all"
Cohesion: 0.12 Cohesion: 0.12
Nodes (13): dim(), expected(), frame(), frame_sum(), mismatch_detail(), packet(), read_serial(), run_all() (+5 more) Nodes (13): dim(), expected(), frame(), frame_sum(), mismatch_detail(), packet(), read_serial(), run_all() (+5 more)
### Community 43 - "cJSON_Delete" ### Community 43 - "generate_images.py"
Cohesion: 0.14 Cohesion: 0.15
Nodes (39): active_room_ports(), api_handler(), color_order_ok(), db_root(), dmx_overlaps(), dmx_runs(), ensure_dirs(), find_file() (+31 more) Nodes (5): generate_image(), generate_with_html2image(), generate_with_playwright(), generate_with_selenium(), main()
### Community 44 - "events" ### Community 44 - "events"
Cohesion: 0.09 Cohesion: 0.09
Nodes (21): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+13 more) Nodes (21): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+13 more)
### Community 45 - "http_parser.h" ### Community 45 - "http_parser.h"
Cohesion: 0.05 Cohesion: 0.08
Nodes (42): flags, F_CHUNKED, F_CONNECTION_CLOSE, F_CONNECTION_KEEP_ALIVE, F_CONNECTION_UPGRADE, F_CONTENTLENGTH, F_SKIPBODY, F_TRAILING (+34 more) Nodes (24): http_cb, http_data_cb, http_errno, HTTP_ERRNO_MAP, http_method, http_parser_settings, on_body, on_chunk_complete (+16 more)
### Community 46 - "xTaskCreate" ### Community 46 - "bridge_eth.c"
Cohesion: 0.07 Cohesion: 0.08
Nodes (39): app_main(), ctl_open(), mic_start(), udp_open(), httpd_os_thread_create(), httpd_os_thread_handle(), esp_event_loop_create_default(), sem_new() (+31 more) Nodes (16): bridge_eth_ip(), bridge_eth_start(), on_eth_down(), on_got_ip(), led_model_t, led_pixel_format_t, led_strip_t, led_strip_rmt_clear() (+8 more)
### Community 47 - "argparse" ### Community 47 - "argparse"
Cohesion: 0.10 Cohesion: 0.10
@@ -478,9 +483,9 @@ Nodes (16): analyze(), edges(), main(), pct(), read(), art_dmx(), effect_frame()
Cohesion: 0.10 Cohesion: 0.10
Nodes (19): TAG, TOKEN, jobs, release, name, on, push, contents (+11 more) Nodes (19): TAG, TOKEN, jobs, release, name, on, push, contents (+11 more)
### Community 52 - "beat.c" ### Community 52 - "sim_stubs.c"
Cohesion: 0.07 Cohesion: 0.16
Nodes (18): beat_start(), beat_dsp_bpm(), dsp_event(), led_off_cb(), led_set(), gpio_mark(), ap_button_held(), gpio_config() (+10 more) Nodes (5): esp_vfs_littlefs_register(), mic_get_level(), mic_start(), mic_stream_open(), mic_stream_read()
### Community 53 - "mpremote Transport" ### Community 53 - "mpremote Transport"
Cohesion: 0.12 Cohesion: 0.12
@@ -488,23 +493,23 @@ Nodes (20): Presets Mockup Page, addColorPicker() / initializeColorPickers(), Co
### Community 54 - "mcu_host/main/main.c" ### Community 54 - "mcu_host/main/main.c"
Cohesion: 0.06 Cohesion: 0.06
Nodes (30): main(), set_from_env(), usage(), c6_version(), on_version(), on_ctl(), on_sent(), on_tx() (+22 more) Nodes (25): c6_version(), on_version(), app_main(), halt(), image_size(), http_client_event_handler(), ota_https_perform(), parse_image_header_from_buffer() (+17 more)
### Community 55 - "usb_cfg.cpp" ### Community 55 - "nvs_open"
Cohesion: 0.16 Cohesion: 0.19
Nodes (11): vTaskDelete(), be16(), be32(), ddp_set_enabled(), ddp_sync_task(), ddp_task(), handle_line(), usb_cfg_task() (+3 more) Nodes (18): load_channel(), set_channel(), sim_host_flash(), apply_device_config(), ctrl_init(), save_groups(), default_hostname(), settings_load_hw() (+10 more)
### Community 57 - "esp_http_server.h" ### Community 57 - "httpd_config"
Cohesion: 0.03 Cohesion: 0.06
Nodes (65): esp_http_server_event_data, http_method, httpd_close_func_t, httpd_config, backlog_conn, close_fn, core_id, ctrl_port (+57 more) Nodes (33): httpd_close_func_t, httpd_config, backlog_conn, close_fn, core_id, ctrl_port, enable_so_linger, global_transport_ctx (+25 more)
### Community 58 - "gallery.js" ### Community 58 - "gallery.js"
Cohesion: 0.16 Cohesion: 0.16
Nodes (30): addPreset(), apply(), applySpec(), banner(), bgField(), buildCard(), checkField(), closeEditor() (+22 more) Nodes (30): addPreset(), apply(), applySpec(), banner(), bgField(), buildCard(), checkField(), closeEditor() (+22 more)
### Community 59 - "mic_alsa.c" ### Community 59 - "mic_alsa.c"
Cohesion: 0.06 Cohesion: 0.05
Nodes (40): capture_loop(), capture_thread(), list_alsa_devices(), mic_close(), mic_error(), mic_get_level(), mic_is_open(), mic_list_devices() (+32 more) Nodes (27): capture_loop(), capture_thread(), mic_close(), mic_get_level(), mic_open(), mic_start(), mic_stream_open(), mic_stream_read() (+19 more)
### Community 60 - "test_sim_net.py" ### Community 60 - "test_sim_net.py"
Cohesion: 0.13 Cohesion: 0.13
@@ -514,9 +519,9 @@ Nodes (21): get_local_ip(), artdmx(), base_room(), ddp(), put(), room(), send(),
Cohesion: 0.17 Cohesion: 0.17
Nodes (5): base_url(), c(), Client, profile(), restore_db() Nodes (5): base_url(), c(), Client, profile(), restore_db()
### Community 62 - "outputs.c" ### Community 62 - "sock_db"
Cohesion: 0.13 Cohesion: 0.07
Nodes (22): colour_role(), dmx_artnet_packet(), dmx_sacn_group(), dmx_sacn_packet(), is_any(), put16(), fail(), fill() (+14 more) Nodes (37): httpd_pending_func_t, httpd_recv_func_t, httpd_send_func_t, httpd_ws_client_info_t, httpd_recv_opt_t, sock_db, ctx, fd (+29 more)
### Community 63 - "Help: Zones & Palette" ### Community 63 - "Help: Zones & Palette"
Cohesion: 0.14 Cohesion: 0.14
@@ -527,32 +532,32 @@ Cohesion: 0.09
Nodes (23): hsv(), rig_mid(), rig_rows(), rig_xy(), soak_rig_bounce(), soak_rig_checker(), soak_rig_columns(), soak_rig_converge() (+15 more) Nodes (23): hsv(), rig_mid(), rig_rows(), rig_xy(), soak_rig_bounce(), soak_rig_checker(), soak_rig_columns(), soak_rig_converge() (+15 more)
### Community 65 - "sys" ### Community 65 - "sys"
Cohesion: 0.07 Cohesion: 0.06
Nodes (7): mpremote_base(), urldecode_bytes(), urldecode_str(), main(), CORSHTTPRequestHandler, info(), upload() Nodes (7): mpremote_base(), urldecode_bytes(), urldecode_str(), main(), _convert_filesystem_error(), stdout_write_bytes(), Transport
### Community 66 - "presets.cpp" ### Community 66 - "presets.cpp"
Cohesion: 0.13 Cohesion: 0.15
Nodes (30): clear_all_presets(), clamp_leds(), frame_alloc(), patterns_index(), patterns_set_hardware(), patterns_start(), preset_defaults(), build_defaults() (+22 more) Nodes (29): main(), read_file(), clear_all_presets(), patterns_output_level(), build_defaults(), entry_key(), find(), load_entry() (+21 more)
### Community 67 - "auth.js" ### Community 67 - "auth.js"
Cohesion: 0.15 Cohesion: 0.15
Nodes (40): accountMenu(), addHeaderButton(), applyPerms(), askLogin(), buildAccount(), byId(), can(), changePassword() (+32 more) Nodes (40): accountMenu(), addHeaderButton(), applyPerms(), askLogin(), buildAccount(), byId(), can(), changePassword() (+32 more)
### Community 68 - "cJSON_Delete" ### Community 68 - "sim_rig.c"
Cohesion: 0.07 Cohesion: 0.13
Nodes (103): add_item_to_object(), cJSON_AddArrayToObject(), cJSON_AddBoolToObject(), cJSON_AddFalseToObject(), cJSON_AddItemToObject(), cJSON_AddNullToObject(), cJSON_AddNumberToObject(), cJSON_AddObjectToObject() (+95 more) Nodes (37): cJSON_IsNull(), active_room_ports(), api_handler(), color_order_ok(), db_root(), dmx_overlaps(), dmx_runs(), ensure_dirs() (+29 more)
### Community 69 - "httpd_sess.c" ### Community 69 - "httpd_sess.c"
Cohesion: 0.08 Cohesion: 0.06
Nodes (46): httpd_os_thread_delete(), httpd_os_thread_sleep(), esp_err_to_name(), esp_event_post(), esp_read_mac(), vSemaphoreDelete(), httpd_config_t, httpd_free_ctx_fn_t (+38 more) Nodes (44): httpd_os_thread_sleep(), esp_err_to_name(), esp_event_post(), esp_read_mac(), httpd_free_ctx_fn_t, httpd_req, httpd_session_enum_function, thread_data (+36 more)
### Community 70 - "Index Page Modals" ### Community 70 - "Index Page Modals"
Cohesion: 0.11 Cohesion: 0.11
Nodes (19): Audio Beat Detection modal, Header BPM / beat sync indicator, Colour Palette modal, Devices modal, Edit device modal, Edit Zone modal, Device groups modal, Header global brightness slider (+11 more) Nodes (19): Audio Beat Detection modal, Header BPM / beat sync indicator, Colour Palette modal, Devices modal, Edit device modal, Edit Zone modal, Device groups modal, Header global brightness slider (+11 more)
### Community 71 - "LedSimulatorApp" ### Community 71 - "BridgeSim"
Cohesion: 0.10 Cohesion: 0.04
Nodes (5): lan_ip(), main(), _hex(), LedSimulatorApp, main() Nodes (26): BridgeSim, api_seed_layout(), index(), driver_mac(), lan_ip(), load_config(), mac_str(), main() (+18 more)
### Community 72 - "httpd_data" ### Community 72 - "httpd_data"
Cohesion: 0.11 Cohesion: 0.11
@@ -563,20 +568,20 @@ Cohesion: 0.09
Nodes (8): wraps(), print_exception(), WebSocket, websocket_upgrade(), websocket_wrapper(), wrapper(), WebSocketError, with_websocket() Nodes (8): wraps(), print_exception(), WebSocket, websocket_upgrade(), websocket_wrapper(), wrapper(), WebSocketError, with_websocket()
### Community 74 - "espnow_link.cpp" ### Community 74 - "espnow_link.cpp"
Cohesion: 0.08 Cohesion: 0.04
Nodes (35): Asm, buf, cnt, asm_find(), flags, asm_free(), last_us, lens (+27 more) Nodes (48): send_msg(), sim_host_restart(), sim_host_tx(), write_all(), be16(), be32(), ddp_sync_task(), ddp_task() (+40 more)
### Community 75 - "Bench test: S3 controller and one LED driver" ### Community 75 - "Bench test: S3 controller and one LED driver"
Cohesion: 0.23 Cohesion: 0.23
Nodes (9): Bench endpoints /test/loss and /test/beats, 30 ms beat lead (CONFIG_BEAT_LEAD_MS), Bench test: S3 controller and one LED driver, ESP32-C3 vs S3 driver comparison, Logic analyzer latency (marker GPIO, tools/analyze_edges.py), Lossy-link test (simulated loss, retries, resync), Reliable link (rel: acked unicast, retransmits, ack timeouts), Bench troubleshooting (serial ports, channel mismatch, blank UI) (+1 more) Nodes (9): Bench endpoints /test/loss and /test/beats, 30 ms beat lead (CONFIG_BEAT_LEAD_MS), Bench test: S3 controller and one LED driver, ESP32-C3 vs S3 driver comparison, Logic analyzer latency (marker GPIO, tools/analyze_edges.py), Lossy-link test (simulated loss, retries, resync), Reliable link (rel: acked unicast, retransmits, ack timeouts), Bench troubleshooting (serial ports, channel mismatch, blank UI) (+1 more)
### Community 76 - "DMX Driver Art-Net and serial gateway" ### Community 76 - "led-controller ESP32-S3 firmware"
Cohesion: 0.28 Cohesion: 0.20
Nodes (9): DMX Driver Art-Net and serial gateway, DMX fixture (output, start channel, role map; parcan/mover profiles), led-driver-style pattern engine (Preset object), POST /patterns/upload (led-driver parity), Serial DMX512 output (250000 8N2), Patterns resource /patterns, www_dist/www.pack embedded web UI, tools/build_web.sh web UI packer (+1 more) Nodes (11): led_controller ESP-IDF project, Driver app update /drivers/ota (staged files, sha, commit/abort), Firmware OTA /ota (idle slot, rollback), Driver app update over ESP-NOW test (tools/driver_ota.py), led-tool / led-cli serial device CLI, led-cli --ota controller update over Ethernet, driver settings.json (mpremote download/merge/upload), main ESP-IDF component (firmware sources) (+3 more)
### Community 77 - "transport.py" ### Community 77 - "run_test"
Cohesion: 0.16 Cohesion: 0.23
Nodes (3): _convert_filesystem_error(), stdout_write_bytes(), Transport Nodes (15): colour_role(), dmx_artnet_packet(), dmx_sacn_group(), dmx_sacn_packet(), is_any(), put16(), fail(), fill() (+7 more)
### Community 78 - "sim_split.js" ### Community 78 - "sim_split.js"
Cohesion: 0.30 Cohesion: 0.30
@@ -603,16 +608,16 @@ Cohesion: 0.17
Nodes (22): applyCto(), beamColour(), canMode(), canView(), decodeCan(), decodeCanNamed(), decodeMover(), decodeMoverNamed() (+14 more) Nodes (22): applyCto(), beamColour(), canMode(), canView(), decodeCan(), decodeCanNamed(), decodeMover(), decodeMoverNamed() (+14 more)
### Community 84 - "test_groups.py" ### Community 84 - "test_groups.py"
Cohesion: 0.09 Cohesion: 0.12
Nodes (9): find_id_by_field(), missing(), test_scenes(), device(), group(), test_crud(), test_group_identify_needs_devices(), test_profile_scoped_group() (+1 more) Nodes (5): device(), group(), test_crud(), test_group_identify_needs_devices(), test_profile_scoped_group()
### Community 85 - "ESP-NOW Sender Bridge" ### Community 85 - "ESP-NOW Sender Bridge"
Cohesion: 0.29 Cohesion: 0.29
Nodes (9): _broadcast_ws(), _espnow_receive_loop(), _init_espnow(), main(), _send_espnow(), _validate_envelope(), ws(), format_mac() (+1 more) Nodes (9): _broadcast_ws(), _espnow_receive_loop(), _init_espnow(), main(), _send_espnow(), _validate_envelope(), ws(), format_mac() (+1 more)
### Community 86 - "httpd_req_t" ### Community 86 - "cJSON_GetObjectItem"
Cohesion: 0.11 Cohesion: 0.09
Nodes (64): cJSON_AddItemReferenceToObject(), cJSON_DeleteItemFromObject(), cJSON_IsFalse(), httpd_req_t, api_body(), api_body_opt(), api_current_profile(), api_error() (+56 more) Nodes (100): cJSON_AddItemToArray(), cJSON_CreateArray(), cJSON_CreateNull(), cJSON_CreateString(), cJSON_DeleteItemFromObject(), cJSON_Duplicate(), cJSON_GetObjectItem(), cJSON_IsArray() (+92 more)
### Community 88 - "events" ### Community 88 - "events"
Cohesion: 0.09 Cohesion: 0.09
@@ -623,16 +628,16 @@ Cohesion: 0.14
Nodes (4): run_interactive(), handle(), show_menu(), Sender Nodes (4): run_interactive(), handle(), show_menu(), Sender
### Community 92 - "mdns_host.c" ### Community 92 - "mdns_host.c"
Cohesion: 0.27 Cohesion: 0.14
Nodes (10): add_ptr(), build_query(), decode_name(), handle_rr(), mdns_dup(), mdns_query_ptr(), mdns_query_results_free(), parse_packet() (+2 more) Nodes (10): add_ptr(), build_query(), decode_name(), handle_rr(), mdns_dup(), mdns_query_ptr(), mdns_query_results_free(), parse_packet() (+2 more)
### Community 93 - "events" ### Community 93 - "events"
Cohesion: 0.10 Cohesion: 0.10
Nodes (24): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+16 more) Nodes (24): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+16 more)
### Community 94 - "httpd_resp_set_type" ### Community 94 - "httpd_req_t"
Cohesion: 0.07 Cohesion: 0.06
Nodes (37): esp_app_get_description(), httpd_resp_send_500(), httpd_resp_sendstr(), httpd_recv(), httpd_req_recv(), httpd_resp_set_type(), fail(), ota_confirm_later() (+29 more) Nodes (74): httpd_os_thread_delete(), esp_app_get_description(), vTaskDelete(), httpd_req_t, httpd_resp_send_404(), httpd_resp_send_408(), httpd_resp_send_500(), httpd_resp_sendstr() (+66 more)
### Community 95 - "test_dmx_bridge.py" ### Community 95 - "test_dmx_bridge.py"
Cohesion: 0.11 Cohesion: 0.11
@@ -642,17 +647,21 @@ Nodes (30): artnet(), bridge_status(), can_def(), drain(), local(), play(), done
Cohesion: 0.26 Cohesion: 0.26
Nodes (7): Api, main(), group(), preset(), sequence(), new_id(), rig_bars() Nodes (7): Api, main(), group(), preset(), sequence(), new_id(), rig_bars()
### Community 97 - "test_browser.py"
Cohesion: 0.14
Nodes (3): _implicit_wait_s(), test_browser_connection(), test_mobile_tab_presets_two_columns()
### Community 98 - "led-controller ESP32-S3 firmware" ### Community 98 - "led-controller ESP32-S3 firmware"
Cohesion: 0.25 Cohesion: 0.29
Nodes (7): Build and flash, Channel, Ethernet (W5500), Microphone (S3), Protocol, Running the controller against it, USB ESP-NOW bridge Nodes (7): Build and flash, Channel, Ethernet (W5500), Microphone (S3), Protocol, Running the controller against it, USB ESP-NOW bridge
### Community 99 - "cJSON_GetObjectItem" ### Community 99 - "led_strip_rmt_dev_idf4.c"
Cohesion: 0.11 Cohesion: 0.31
Nodes (59): cJSON_AddItemToArray(), cJSON_CreateArray(), cJSON_CreateNull(), cJSON_CreateString(), cJSON_CreateStringArray(), cJSON_Duplicate(), cJSON_IsObject(), cJSON_Parse() (+51 more) Nodes (5): led_strip_rmt_clear(), led_strip_rmt_del(), led_strip_rmt_refresh(), led_strip_rmt_set_pixel(), ws2812_rmt_adapter()
### Community 100 - "bridge_dmx.c" ### Community 100 - "bridge_dmx.c"
Cohesion: 0.10 Cohesion: 0.17
Nodes (26): bridge_mac_is_dmx(), apply_config(), bridge_dmx_close(), bridge_dmx_open(), bridge_dmx_owns_mac(), bridge_dmx_reload(), bridge_dmx_send(), close_inputs() (+18 more) Nodes (20): apply_config(), bridge_dmx_open(), close_inputs(), fixture_bin(), fixture_free(), fixture_read(), fixture_spawn(), fixture_stop() (+12 more)
### Community 101 - "Groups UI (JS)" ### Community 101 - "Groups UI (JS)"
Cohesion: 0.29 Cohesion: 0.29
@@ -674,9 +683,9 @@ Nodes (11): Pattern Selector Mockup (Select LED Pattern), Apply Pattern / Cancel
Cohesion: 0.24 Cohesion: 0.24
Nodes (11): Message processing order (version, presets upsert, colour, selection), Auto vs manual (a) and manual chase flush, Built-in off / on patterns, Patterns and presets on the LED driver, MAX_PRESETS = 32, Pattern OTA via manifest / POST /patterns/upload, Pattern registry (Presets.reload_patterns), Preset short keys (p, c, d, b, a, bg, n1-n6) (+3 more) Nodes (11): Message processing order (version, presets upsert, colour, selection), Auto vs manual (a) and manual chase flush, Built-in off / on patterns, Patterns and presets on the LED driver, MAX_PRESETS = 32, Pattern OTA via manifest / POST /patterns/upload, Pattern registry (Presets.reload_patterns), Preset short keys (p, c, d, b, a, bg, n1-n6) (+3 more)
### Community 106 - "esp_httpd_priv.h" ### Community 106 - "LED controller web UI user guide"
Cohesion: 0.07 Cohesion: 0.25
Nodes (16): httpd_method_t, httpd_uri, method, uri, user_ctx, httpd_req, httpd_session_enum_function, thread_data (+8 more) Nodes (9): Audio API /api/audio and /audio page routes, Combined brightness (global x groups x device x zone), Devices resource /devices, Device groups resource /groups, Sequence playback (lanes, beat advance, switching), Settings resource /settings, Run mode and Edit mode, Sequence sync button (S / BPM) (+1 more)
### Community 107 - "main" ### Community 107 - "main"
Cohesion: 0.18 Cohesion: 0.18
@@ -743,12 +752,12 @@ Cohesion: 0.29
Nodes (6): Pattern Contract, Drawing via driver.n and apply_brightness, Pattern error handling (Presets.tick catches), Presets._load_dynamic_patterns(), Shared driver.step semantics, Global vs per-preset brightness Nodes (6): Pattern Contract, Drawing via driver.n and apply_brightness, Pattern error handling (Presets.tick catches), Presets._load_dynamic_patterns(), Shared driver.step semantics, Global vs per-preset brightness
### Community 124 - "httpd_ws.c" ### Community 124 - "httpd_ws.c"
Cohesion: 0.18 Cohesion: 0.21
Nodes (23): desktop_base64_encode(), desktop_sha1(), rol(), sha1_block(), httpd_ws_frame_t, httpd_recv_opt_t, httpd_queue_work(), httpd_recv_pending() (+15 more) Nodes (20): desktop_base64_encode(), desktop_sha1(), rol(), sha1_block(), httpd_ws_frame_t, transfer_complete_cb, httpd_queue_work(), httpd_ws_check_req() (+12 more)
### Community 125 - "led_strip_spi_dev.c" ### Community 125 - "led_strip_spi_dev.c"
Cohesion: 0.06 Cohesion: 0.09
Nodes (39): heap_caps_calloc(), app_main(), app_main(), configure_led(), app_main(), configure_led(), led_strip_rmt_config_t, led_strip_spi_config_t (+31 more) Nodes (30): heap_caps_calloc(), app_main(), app_main(), configure_led(), app_main(), configure_led(), led_strip_rmt_config_t, led_strip_spi_config_t (+22 more)
### Community 126 - "dmx-draw.js" ### Community 126 - "dmx-draw.js"
Cohesion: 0.21 Cohesion: 0.21
@@ -762,22 +771,18 @@ Nodes (6): Custom Color Picker Demo (screenshot), Hex and RGB input support, HSB
Cohesion: 0.33 Cohesion: 0.33
Nodes (7): Advanced Settings (Step Counter, Step Increment, Device ID, Debug Mode), Basic Settings (Device Name, LED Pin, Number of LEDs), Color Order Selector (RGB/RBG/GRB/GBR/BRG/BGR), Device Settings Page Mockup, Network Settings (Access Point Name, Password, Enable AP), Pattern Parameters N1-N6, Pattern Settings (Pattern, Brightness, Delay) Nodes (7): Advanced Settings (Step Counter, Step Increment, Device ID, Debug Mode), Basic Settings (Device Name, LED Pin, Number of LEDs), Color Order Selector (RGB/RBG/GRB/GBR/BRG/BGR), Device Settings Page Mockup, Network Settings (Access Point Name, Password, Enable AP), Pattern Parameters N1-N6, Pattern Settings (Pattern, Brightness, Delay)
### Community 131 - "layout.py" ### Community 131 - "http_parser_url_fields"
Cohesion: 0.24 Cohesion: 0.22
Nodes (7): normalise_layout(), _reversed_for_column(), rig_placements(), side_name(), strip_count(), strip_places(), StripPlace Nodes (9): http_parser_url_fields, UF_FRAGMENT, UF_HOST, UF_MAX, UF_PATH, UF_PORT, UF_QUERY, UF_SCHEMA (+1 more)
### Community 133 - "led-controller on a desktop" ### Community 133 - "Controller on the Waveshare ESP32-P4-Nano"
Cohesion: 0.33 Cohesion: 0.12
Nodes (5): Build and run, How it is built, Install as a service (.deb), led-controller on a desktop, Limits Nodes (15): Build and run, How it is built, Install as a service (.deb), led-controller on a desktop, Limits, Back to the factory demo, Build and flash, Controller on the Waveshare ESP32-P4-Nano (+7 more)
### Community 135 - "cmakeVariables" ### Community 135 - "cmakeVariables"
Cohesion: 0.10 Cohesion: 0.10
Nodes (24): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+16 more) Nodes (24): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+16 more)
### Community 136 - "HttpDevice"
Cohesion: 0.08
Nodes (8): _default_image(), _info(), ota_update(), HttpDevice, IdfError, _default_image(), _info(), ota_update()
### Community 137 - "events" ### Community 137 - "events"
Cohesion: 0.09 Cohesion: 0.09
Nodes (21): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+13 more) Nodes (21): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+13 more)
@@ -787,8 +792,8 @@ Cohesion: 0.40
Nodes (6): Colour Palette modal mockup (help image), Add Swatch (+) Button, Colour Palette Modal, Palette Colour Swatches, Preset Editor 'From Palette', Profile (palette owner) Nodes (6): Colour Palette modal mockup (help image), Add Swatch (+) Button, Colour Palette Modal, Palette Colour Swatches, Preset Editor 'From Palette', Profile (palette owner)
### Community 139 - "esp_err.h" ### Community 139 - "esp_err.h"
Cohesion: 0.05 Cohesion: 0.04
Nodes (28): heap_caps_malloc(), esp_fill_random(), esp_get_free_heap_size(), esp_get_minimum_free_heap_size(), esp_log_level_set(), esp_log_set_vprintf(), esp_log_timestamp(), esp_log_write() (+20 more) Nodes (32): heap_caps_malloc(), esp_fill_random(), esp_get_free_heap_size(), esp_get_minimum_free_heap_size(), esp_log_level_set(), esp_log_set_vprintf(), esp_log_timestamp(), esp_log_write() (+24 more)
### Community 140 - "LED Driver README" ### Community 140 - "LED Driver README"
Cohesion: 0.47 Cohesion: 0.47
@@ -804,7 +809,7 @@ Nodes (5): dependencies, espressif/led_strip, idf, override_path, version
### Community 143 - "test_rig_sim.py" ### Community 143 - "test_rig_sim.py"
Cohesion: 0.10 Cohesion: 0.10
Nodes (28): all_dark(), col_of(), frames(), led_x(), lit(), mac(), make_preset(), need_sim() (+20 more) Nodes (29): rig_placements(), all_dark(), col_of(), frames(), led_x(), lit(), mac(), make_preset() (+21 more)
### Community 145 - "Help PDF: Modes" ### Community 145 - "Help PDF: Modes"
Cohesion: 0.40 Cohesion: 0.40
@@ -814,6 +819,10 @@ Nodes (4): Edit mode, Mobile layout Menu, Run mode, Zones modal
Cohesion: 0.60 Cohesion: 0.60
Nodes (5): Help image: Main area brightness and preset tiles, Edit Mode: drag tiles to reorder, Global Brightness Slider, Preset Tile (gradient swatch, click to select on tab devices), Tab (e.g. lounge) Nodes (5): Help image: Main area brightness and preset tiles, Edit Mode: drag tiles to reorder, Global Brightness Slider, Preset Tile (gradient swatch, click to select on tab devices), Tab (e.g. lounge)
### Community 149 - "semphr.h"
Cohesion: 0.20
Nodes (7): handle_line(), usb_cfg_task(), arm(), esp_timer_get_time(), esp_timer_is_active(), esp_timer_start_periodic(), timer_task()
### Community 155 - "app.js" ### Community 155 - "app.js"
Cohesion: 0.08 Cohesion: 0.08
Nodes (84): addBridge(), addFixture(), addLog(), api(), applyConfig(), banner(), centreStrips(), changed() (+76 more) Nodes (84): addBridge(), addFixture(), addLog(), api(), applyConfig(), banner(), centreStrips(), changed() (+76 more)
@@ -846,10 +855,6 @@ Nodes (12): _expand(), _preset_from_map(), process_data(), _select_entries(), _t
Cohesion: 0.20 Cohesion: 0.20
Nodes (10): httpd_req, aux, content_len, free_ctx, handle, ignore_sess_ctx_changes, method, sess_ctx (+2 more) Nodes (10): httpd_req, aux, content_len, free_ctx, handle, ignore_sess_ctx_changes, method, sess_ctx (+2 more)
### Community 168 - "espnow_tx_beat"
Cohesion: 0.17
Nodes (12): bench_on_beat_tx(), bench_on_echo(), bench_running(), gen_cb(), bridge_active(), bulk_task(), espnow_tx_beat(), espnow_tx_drop() (+4 more)
### Community 170 - "dependencies" ### Community 170 - "dependencies"
Cohesion: 0.12 Cohesion: 0.12
Nodes (19): dependencies, espressif/cjson, espressif/esp_codec_dev, espressif/esp_hosted, espressif/esp_wifi_remote, espressif/mdns, joltwallet/littlefs, version (+11 more) Nodes (19): dependencies, espressif/cjson, espressif/esp_codec_dev, espressif/esp_hosted, espressif/esp_wifi_remote, espressif/mdns, joltwallet/littlefs, version (+11 more)
@@ -859,23 +864,23 @@ Cohesion: 0.83
Nodes (3): applyListSearch(), initListSearch(), rowSearchText() Nodes (3): applyListSearch(), initListSearch(), rowSearchText()
### Community 177 - "SerialDMX" ### Community 177 - "SerialDMX"
Cohesion: 0.20 Cohesion: 0.18
Nodes (3): SerialDMX, sleep(), ap() Nodes (3): SerialDMX, sleep(), ap()
### Community 178 - "dependencies" ### Community 178 - "dependencies"
Cohesion: 0.14 Cohesion: 0.14
Nodes (14): path, path, dependencies, cmd_nvs, cmd_system, espressif/esp_hosted, espressif/esp_wifi_remote, joltwallet/littlefs (+6 more) Nodes (14): path, path, dependencies, cmd_nvs, cmd_system, espressif/esp_hosted, espressif/esp_wifi_remote, joltwallet/littlefs (+6 more)
### Community 179 - "httpd_txrx.c" ### Community 184 - "beat_dsp.c"
Cohesion: 0.09 Cohesion: 0.27
Nodes (42): httpd_err_code_t, httpd_err_handler_func_t, httpd_resp_send_404(), httpd_resp_send_408(), httpd_resp_sendstr_chunk(), httpd_default_recv(), httpd_default_send(), httpd_register_err_handler() (+34 more) Nodes (16): beat_feed(), analyse_beat(), bar_cue(), bar_decide(), beat_dsp_feed(), beat_dsp_init(), beat_dsp_tap(), best_phase() (+8 more)
### Community 197 - "Test Server Tools" ### Community 197 - "Test Server Tools"
Cohesion: 0.18 Cohesion: 0.18
Nodes (10): 1. Generate Test Certificates, 2. Start HTTPS Server, 3. Configure ESP32, Certificate not found error, Files, Important Notes, Quick Start, Server won't start (+2 more) Nodes (10): 1. Generate Test Certificates, 2. Start HTTPS Server, 3. Configure ESP32, Certificate not found error, Files, Important Notes, Quick Start, Server won't start (+2 more)
### Community 198 - "SerialTransport" ### Community 198 - "SerialTransport"
Cohesion: 0.12 Cohesion: 0.13
Nodes (4): SerialIntercept, SerialTransport, TransportError, TransportExecError Nodes (4): SerialIntercept, SerialTransport, TransportError, TransportExecError
### Community 200 - "Supported Platforms and Transports" ### Community 200 - "Supported Platforms and Transports"
@@ -891,16 +896,20 @@ Cohesion: 0.29
Nodes (6): ota / coprocessor_ota — Host, Scenario, Supported Connection buses, Supported Coprocessors, Supported Host Devices, Supported Platforms and Transports Nodes (6): ota / coprocessor_ota — Host, Scenario, Supported Connection buses, Supported Coprocessors, Supported Host Devices, Supported Platforms and Transports
### Community 204 - "_simlink_proc.py" ### Community 204 - "_simlink_proc.py"
Cohesion: 0.16 Cohesion: 0.15
Nodes (5): connect(), on_feed(), push_pixels(), _reader(), _send_pixels() Nodes (5): connect(), on_feed(), push_pixels(), _reader(), _send_pixels()
### Community 205 - "dependencies" ### Community 205 - "dependencies"
Cohesion: 0.33 Cohesion: 0.33
Nodes (5): dependencies, espressif/esp_hosted, idf, version, version Nodes (5): dependencies, espressif/esp_hosted, idf, version, version
### Community 206 - "led-tool / led-cli serial device CLI" ### Community 206 - ".write"
Cohesion: 0.40 Cohesion: 0.33
Nodes (4): Driver app update over ESP-NOW test (tools/driver_ota.py), led-tool / led-cli serial device CLI, led-cli --ota controller update over Ethernet, driver settings.json (mpremote download/merge/upload) Nodes (5): bridge_dmx_close(), bridge_dmx_reload(), bridge_dmx_send(), dmx_serial_write(), write_all()
### Community 207 - "KeyName"
Cohesion: 0.50
Nodes (4): KeyName, longk, shortk, long_name()
### Community 213 - "Slave Firmware Binaries for LittleFS OTA" ### Community 213 - "Slave Firmware Binaries for LittleFS OTA"
Cohesion: 0.40 Cohesion: 0.40
@@ -919,12 +928,12 @@ Cohesion: 0.33
Nodes (5): api_call_t, cap, done, msg, out Nodes (5): api_call_t, cap, done, msg, out
### Community 218 - "time" ### Community 218 - "time"
Cohesion: 0.12 Cohesion: 0.08
Nodes (13): Blink, Pulse, call(), main(), switch(), wifi_state(), sleep(), sleep_ms() (+5 more) Nodes (18): Blink, Pulse, _default_image(), _info(), ota_update(), sleep(), sleep_ms(), sleep_us() (+10 more)
### Community 221 - "nvs_open" ### Community 221 - "nvs_open"
Cohesion: 0.09 Cohesion: 0.15
Nodes (46): load_channel(), set_channel(), string, ctrl_init(), save_groups(), get_str(), settings_load_hw(), settings_load_wifi() (+38 more) Nodes (27): string, get_str(), nvs_handle_t, from_hex(), get_bytes(), get_num(), nvs_erase_all(), nvs_erase_key() (+19 more)
### Community 227 - "dependencies" ### Community 227 - "dependencies"
Cohesion: 0.33 Cohesion: 0.33
@@ -938,17 +947,17 @@ Nodes (4): boot(), exit(), log(), startPixels()
Cohesion: 0.42 Cohesion: 0.42
Nodes (5): fixtureEnd(), fixtureLeds(), heading(), isPoint(), roomStrips() Nodes (5): fixtureEnd(), fixtureLeds(), heading(), isPoint(), roomStrips()
### Community 241 - "ctrl_msg.cpp" ### Community 241 - "cJSON_CreateObject"
Cohesion: 0.20 Cohesion: 0.10
Nodes (14): apply_device_config(), cstr(), ctrl_build_announce(), ctrl_handle(), expand_v1(), handle_env(), in_group(), KeyName (+6 more) Nodes (60): cJSON_AddArrayToObject(), cJSON_AddBoolToObject(), cJSON_AddItemToObject(), cJSON_AddNumberToObject(), cJSON_AddObjectToObject(), cJSON_AddStringToObject(), cJSON_CreateObject(), cJSON_PrintUnformatted() (+52 more)
### Community 242 - "v1 driver messages (long/short keys)" ### Community 242 - "DMX Driver Art-Net and serial gateway"
Cohesion: 0.40 Cohesion: 0.28
Nodes (5): Controller WebSocket /ws (v1 presets/select), Binary envelope (main/envelope.c, test/binary_envelope.py), v1 driver messages (long/short keys), WebSocket /ws driver message relay, espnow-sender Microdot WebSocket receiver Nodes (9): Art-Net output (UDP 6454), DMX Driver Art-Net and serial gateway, DMX fixture (output, start channel, role map; parcan/mover profiles), led-driver-style pattern engine (Preset object), POST /patterns/upload (led-driver parity), Serial DMX512 output (250000 8N2), Outputs (DDP, Art-Net, sACN, DMX serial pixel fixtures), Patterns resource /patterns (+1 more)
### Community 246 - "src/main.cpp" ### Community 246 - "sim_rx"
Cohesion: 0.05 Cohesion: 0.33
Nodes (28): main(), read_file(), send_msg(), sim_host_flash(), sim_host_restart(), sim_host_tx(), write_all(), patterns_output_level() (+20 more) Nodes (3): sim_rx(), esp_err_to_name(), esp_read_mac()
### Community 253 - "dependencies" ### Community 253 - "dependencies"
Cohesion: 0.50 Cohesion: 0.50
@@ -959,8 +968,8 @@ Cohesion: 0.50
Nodes (3): dependencies, espressif/esp_hosted, espressif/esp_wifi_remote Nodes (3): dependencies, espressif/esp_hosted, espressif/esp_wifi_remote
### Community 257 - "net.cpp" ### Community 257 - "net.cpp"
Cohesion: 0.11 Cohesion: 0.10
Nodes (29): ddp_start(), espnow_link_start(), app_main(), ap_switch_later(), ap_timer_cb(), apply_ap(), apply_client_ip(), apply_sta_config() (+21 more) Nodes (26): ctrl_build_announce(), ap_switch_later(), ap_timer_cb(), apply_ap(), apply_client_ip(), apply_sta_config(), client_allowed(), net_ap_on() (+18 more)
### Community 259 - "events" ### Community 259 - "events"
Cohesion: 0.09 Cohesion: 0.09
@@ -974,40 +983,56 @@ Nodes (21): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEB
Cohesion: 0.09 Cohesion: 0.09
Nodes (6): HTTPException, invoke_handler(), iscoroutine(), Response, aclose(), __anext__() Nodes (6): HTTPException, invoke_handler(), iscoroutine(), Response, aclose(), __anext__()
### Community 262 - "bridge_hosted.c" ### Community 262 - "vTaskDelay"
Cohesion: 0.15 Cohesion: 0.07
Nodes (20): vTaskDelay(), bridge_hosted_send(), bridge_hosted_set_channel(), bridge_hosted_set_rx(), bridge_hosted_status(), bridge_hosted_udp_start(), build_udp_info(), ctl_send() (+12 more) Nodes (40): vTaskDelay(), bridge_hosted_send(), bridge_hosted_set_channel(), bridge_hosted_set_rx(), bridge_hosted_status(), bridge_hosted_udp_start(), build_udp_info(), ctl_send() (+32 more)
### Community 263 - "patterns.c" ### Community 263 - "patterns.c"
Cohesion: 0.26 Cohesion: 0.27
Nodes (19): add_name(), all_patterns(), base_name(), builtin(), create_driver_pattern(), create_pattern(), exists(), file_names() (+11 more) Nodes (18): add_name(), all_patterns(), base_name(), builtin(), create_driver_pattern(), exists(), file_names(), file_path() (+10 more)
### Community 268 - "led-controller ESP32-S3 firmware" ### Community 271 - "httpd_ws_frame"
Cohesion: 0.13 Cohesion: 0.22
Nodes (14): led_controller ESP-IDF project, /db collection export and replace, Back to the factory demo, Build and flash, Controller on the Waveshare ESP32-P4-Nano, Network, Pins (from the Waveshare wiki and BSP), Using it as a network bridge from the desktop (+6 more) Nodes (9): httpd_ws_frame, final, fragmented, left_len, len, payload, type, httpd_ws_type_t (+1 more)
### Community 272 - "dependencies" ### Community 272 - "dependencies"
Cohesion: 0.50 Cohesion: 0.50
Nodes (3): dependencies, espressif/esp_hosted, version Nodes (3): dependencies, espressif/esp_hosted, version
### Community 277 - "flags"
Cohesion: 0.22
Nodes (9): flags, F_CHUNKED, F_CONNECTION_CLOSE, F_CONNECTION_KEEP_ALIVE, F_CONNECTION_UPGRADE, F_CONTENTLENGTH, F_SKIPBODY, F_TRAILING (+1 more)
### Community 282 - "move_bars.py"
Cohesion: 0.39
Nodes (4): call(), main(), switch(), wifi_state()
### Community 286 - "desktop_main.c"
Cohesion: 0.60
Nodes (3): main(), set_from_env(), usage()
### Community 290 - "ws_slot_t"
Cohesion: 0.67
Nodes (3): ws_slot_t, fd, host
## Knowledge Gaps ## Knowledge Gaps
- **297 isolated node(s):** `next`, `prev`, `child`, `type`, `valuestring` (+292 more) - **296 isolated node(s):** `next`, `prev`, `child`, `type`, `valuestring` (+291 more)
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 1581 node(s) total have ≤1 connection when file, concept and rationale nodes are included.) These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 1579 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
- **97 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes. - **97 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
## Suggested Questions ## Suggested Questions
_Questions this graph is uniquely positioned to answer:_ _Questions this graph is uniquely positioned to answer:_
- **Why does `cJSON` connect `cJSON` to `cJSON_GetObjectItem`, `cJSON_Delete`, `bridge_dmx.c`, `seqplay.c`, `patterns.c`, `esp_err.h`, `cJSON_Delete`, `ctrl_msg.cpp`, `web.cpp`, `httpd_req_t`, `cJSON`, `outputs.c`, `nvs_open`, `httpd_resp_set_type`, `auth.c`?** - **Why does `cJSON` connect `cJSON` to `cJSON_IsString`, `seqplay.c`, `sim_rig.c`, `bridge_dmx.c`, `cJSON_Delete`, `patterns.c`, `esp_err.h`, `run_test`, `cJSON_CreateObject`, `nvs_open`, `cJSON_GetObjectItem`, `cJSON`, `web.cpp`, `nvs_open`, `httpd_req_t`, `auth.c`?**
_High betweenness centrality (0.018) - this node is a cross-community bridge._ _High betweenness centrality (0.019) - this node is a cross-community bridge._
- **Are the 232 inferred relationships involving `cJSON_GetObjectItem()` (e.g. with `list_pulse_sources()` and `apply_default()`) actually correct?** - **Are the 232 inferred relationships involving `cJSON_GetObjectItem()` (e.g. with `list_pulse_sources()` and `apply_default()`) actually correct?**
_`cJSON_GetObjectItem()` has 232 INFERRED edges - model-reasoned connections that need verification._ _`cJSON_GetObjectItem()` has 232 INFERRED edges - model-reasoned connections that need verification._
- **What connects `next`, `prev`, `child` to the rest of the system?** - **What connects `next`, `prev`, `child` to the rest of the system?**
_297 weakly-connected nodes found - possible documentation gaps or missing edges._ _296 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `IdfDevice` be split into smaller, more focused modules?** - **Should `IdfDevice` be split into smaller, more focused modules?**
_Cohesion score 0.09747899159663866 - nodes in this community are weakly interconnected._ _Cohesion score 0.09523809523809523 - nodes in this community are weakly interconnected._
- **Why does `led-controller ESP32-S3 firmware` connect `led-controller ESP32-S3 firmware` to `led-controller ESP32-S3 firmware`, `API Docs: Outputs & Audio`, `led-controller on a desktop`, `Bench test: S3 controller and one LED driver`, `DMX Driver Art-Net and serial gateway`, `led-tool / led-cli serial device CLI`, `v1 driver messages (long/short keys)`?** - **Why does `browser()` connect `Controller on the Waveshare ESP32-P4-Nano` to `test_browser.py`, `BrowserTest`?**
_High betweenness centrality (0.012) - this node is a cross-community bridge._ _High betweenness centrality (0.013) - this node is a cross-community bridge._
- **Are the 137 inferred relationships involving `cJSON_Delete()` (e.g. with `list_pulse_sources()` and `ctrl_handle()`) actually correct?** - **Are the 137 inferred relationships involving `cJSON_Delete()` (e.g. with `list_pulse_sources()` and `ctrl_handle()`) actually correct?**
_`cJSON_Delete()` has 137 INFERRED edges - model-reasoned connections that need verification._ _`cJSON_Delete()` has 137 INFERRED edges - model-reasoned connections that need verification._
- **Should `htmx Library` be split into smaller, more focused modules?** - **Should `htmx Library` be split into smaller, more focused modules?**
File diff suppressed because it is too large. Load diff
+80 -62
View File
@@ -498,9 +498,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/main.c": { "main/main.c": {
"mtime": 1795494302.5044138, "mtime": 1795508452.561534,
"seen": 1795494370.9207885, "seen": 1795509579.7794125,
"ast_hash": "5c110aa99c9dd08f2201c9d9e8cd40ac", "ast_hash": "dae3d711ee96daba02c403ae12f68e9c",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/mic.c": { "main/mic.c": {
@@ -606,9 +606,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/web.c": { "main/web.c": {
"mtime": 1795493787.3246942, "mtime": 1795508452.561407,
"seen": 1795494370.9212592, "seen": 1795509579.7799392,
"ast_hash": "3447875fc395c2c9bfcc215ba16f5ec8", "ast_hash": "06786e1a7037d748a112121faceeb898",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/web.h": { "main/web.h": {
@@ -1026,9 +1026,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"README.md": { "README.md": {
"mtime": 1795491763.647069, "mtime": 1795510957.5414376,
"seen": 1795491814.970878, "seen": 1795510986.2356339,
"ast_hash": "675bc2ba1fad31872f81722c1c13bacc", "ast_hash": "1ccd8629118f8600634f782fd1bfcdef",
"semantic_hash": "" "semantic_hash": ""
}, },
"dmx-driver/README.md": { "dmx-driver/README.md": {
@@ -1038,27 +1038,27 @@
"semantic_hash": "119936b48480fc8fd781b1a00eea6268" "semantic_hash": "119936b48480fc8fd781b1a00eea6268"
}, },
"docs/API.md": { "docs/API.md": {
"mtime": 1795143003.6935625, "mtime": 1795510756.709885,
"seen": 1795143072.6420221, "seen": 1795510986.2358174,
"ast_hash": "46785edf71d73bc28e2f86bf74381bba", "ast_hash": "007a980057530e37c1d2642a756037a6",
"semantic_hash": "" "semantic_hash": ""
}, },
"docs/BENCH_TEST.md": { "docs/BENCH_TEST.md": {
"mtime": 1794391490.7550883, "mtime": 1795510756.7122715,
"seen": 1794394826.0931482, "seen": 1795510986.2358196,
"ast_hash": "e6b4fbe38636577e45e47e54cc61f6fa", "ast_hash": "c63133bb6488dedb5be62542eeeaf2ca",
"semantic_hash": "" "semantic_hash": ""
}, },
"docs/SPECIFICATION.md": { "docs/SPECIFICATION.md": {
"mtime": 1793604965.2290945, "mtime": 1795510756.7127538,
"seen": 1793707995.1511066, "seen": 1795510986.2358234,
"ast_hash": "18bd94e8bf045ccee9841b3d1e4cc48c", "ast_hash": "b69770dd958bf8dd5353aaf627a9f08d",
"semantic_hash": "18bd94e8bf045ccee9841b3d1e4cc48c" "semantic_hash": ""
}, },
"docs/help.md": { "docs/help.md": {
"mtime": 1794907715.2042778, "mtime": 1795510756.7102916,
"seen": 1794908131.1550112, "seen": 1795510986.2358248,
"ast_hash": "9b59628957b50d9eacf47c354f809ecc", "ast_hash": "f7ef20474cf3757ad1543fe028d8a6d1",
"semantic_hash": "" "semantic_hash": ""
}, },
"docs/mockups/COLOR_PICKER_README.md": { "docs/mockups/COLOR_PICKER_README.md": {
@@ -1152,9 +1152,9 @@
"semantic_hash": "a22100f153914e6634f0ccc029e55112" "semantic_hash": "a22100f153914e6634f0ccc029e55112"
}, },
"led-simulator/README.md": { "led-simulator/README.md": {
"mtime": 1794892340.3417401, "mtime": 1795510756.7114048,
"seen": 1794892352.3478699, "seen": 1795510986.2386189,
"ast_hash": "6c38c68132c3204dcfc1bcf76d77973e", "ast_hash": "9450eb8884e4eabc419e80726d081bc6",
"semantic_hash": "" "semantic_hash": ""
}, },
"led-tool/README.md": { "led-tool/README.md": {
@@ -1164,9 +1164,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/CMakeLists.txt": { "main/CMakeLists.txt": {
"mtime": 1795491368.7900033, "mtime": 1795508452.561687,
"seen": 1795491814.973525, "seen": 1795509579.787264,
"ast_hash": "ad3588145329827fa056d1c5870b65c8", "ast_hash": "df00a4a4202b115ba16c9757c36fa582",
"semantic_hash": "" "semantic_hash": ""
}, },
"scripts/led-test/CMakeLists.txt": { "scripts/led-test/CMakeLists.txt": {
@@ -1242,10 +1242,10 @@
"semantic_hash": "4fb798183a5b6b8dfad42bbaa519c6e1" "semantic_hash": "4fb798183a5b6b8dfad42bbaa519c6e1"
}, },
"test/api/README.md": { "test/api/README.md": {
"mtime": 1793691714.9029741, "mtime": 1795510756.7118764,
"seen": 1793707995.151135, "seen": 1795510986.2402225,
"ast_hash": "3286ebfc47b050f9e202d80083a632a1", "ast_hash": "9f68c89a0e733166a3a38218f4197f2c",
"semantic_hash": "3286ebfc47b050f9e202d80083a632a1" "semantic_hash": ""
}, },
"web/audio.html": { "web/audio.html": {
"mtime": 1793622279.1001084, "mtime": 1793622279.1001084,
@@ -1488,15 +1488,15 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"main/bridge.c": { "main/bridge.c": {
"mtime": 1795481895.1970575, "mtime": 1795508452.561108,
"seen": 1795483469.5355816, "seen": 1795509579.7788699,
"ast_hash": "e67df911705487f6e8f85ea2e7c55f29", "ast_hash": "816a8a21bb5a67d5e4f7b9d7969bfc35",
"semantic_hash": "" "semantic_hash": ""
}, },
"main/bridge.h": { "main/bridge.h": {
"mtime": 1795482117.822777, "mtime": 1795508452.5613012,
"seen": 1795483469.535583, "seen": 1795509579.778872,
"ast_hash": "6334a5c8b0208f6c776ad9b2918fa1d3", "ast_hash": "6f3388fa6e3968234ca0151a31f070ef",
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/include/driver/gpio.h": { "sim-controller/components/sim/include/driver/gpio.h": {
@@ -1560,9 +1560,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/README.md": { "sim-controller/README.md": {
"mtime": 1794273430.7510035, "mtime": 1795510756.7115562,
"seen": 1794273476.566736, "seen": 1795510986.2401474,
"ast_hash": "ee5427b4014fadfd3e7bf12bddd39e31", "ast_hash": "bcaa94a9c50a3bc2872dfc969438e6c1",
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/CMakeLists.txt": { "sim-controller/components/sim/CMakeLists.txt": {
@@ -1908,9 +1908,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"bridge/README.md": { "bridge/README.md": {
"mtime": 1794736618.248672, "mtime": 1795510756.7108748,
"seen": 1794736624.2835445, "seen": 1795510986.235672,
"ast_hash": "a098aebe58375adf6c0a80abc2d1678b", "ast_hash": "4be21f2aeb0760a578bcd5f9adc18cce",
"semantic_hash": "" "semantic_hash": ""
}, },
"bridge/main/CMakeLists.txt": { "bridge/main/CMakeLists.txt": {
@@ -2202,9 +2202,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"desktop/README.md": { "desktop/README.md": {
"mtime": 1794783160.3829637, "mtime": 1795510969.9038398,
"seen": 1794783239.9568346, "seen": 1795510986.2357416,
"ast_hash": "b7c5faa1485d7609be3eb34c8340abfc", "ast_hash": "df62c27eb1950fc09e925973725ef2a3",
"semantic_hash": "" "semantic_hash": ""
}, },
"desktop/third_party/http_parser/LICENSE.txt": { "desktop/third_party/http_parser/LICENSE.txt": {
@@ -2442,9 +2442,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"web/static/seq_timeline.js": { "web/static/seq_timeline.js": {
"mtime": 1795493787.3251786, "mtime": 1795508463.5559955,
"seen": 1795494370.9252515, "seen": 1795509579.7842224,
"ast_hash": "2a1dc5f8ac02c54d743f57df61ec9ff1", "ast_hash": "fc34c21763d22a3093dc89c0a0d2136d",
"semantic_hash": "" "semantic_hash": ""
}, },
".claude/launch.json": { ".claude/launch.json": {
@@ -2586,9 +2586,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/sim_rig.c": { "sim-controller/components/sim/sim_rig.c": {
"mtime": 1794891280.4632754, "mtime": 1795508452.560802,
"seen": 1794892352.3451536, "seen": 1795509579.7820244,
"ast_hash": "25d63d46b8ae120e1839bacd03c54123", "ast_hash": "c40b0e6dbc70ba689bfbf136e9dfbf69",
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/sim_rig.h": { "sim-controller/components/sim/sim_rig.h": {
@@ -2604,9 +2604,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"web/static/sim_split.js": { "web/static/sim_split.js": {
"mtime": 1795493787.3248851, "mtime": 1795508463.5542197,
"seen": 1795494370.9253223, "seen": 1795509579.784286,
"ast_hash": "e2b1f871b231ec4f86210f7bd4b44396", "ast_hash": "f3d3b757970f3c9bf8e8f9ac08845069",
"semantic_hash": "" "semantic_hash": ""
}, },
".gitea/workflows/release.yml": { ".gitea/workflows/release.yml": {
@@ -2658,9 +2658,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/sim_net.c": { "sim-controller/components/sim/sim_net.c": {
"mtime": 1794907687.544602, "mtime": 1795508452.5600376,
"seen": 1794908131.1508925, "seen": 1795509579.781986,
"ast_hash": "3a8bf5f4ad21642e80adf774859d0f2d", "ast_hash": "ebc3d16a4777cc0dd617672d8690efc2",
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/sim_net.h": { "sim-controller/components/sim/sim_net.h": {
@@ -3696,9 +3696,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"docs/P4_NANO.md": { "docs/P4_NANO.md": {
"mtime": 1795491763.646949, "mtime": 1795510756.709074,
"seen": 1795491814.9711444, "seen": 1795510986.2358212,
"ast_hash": "ad769c97ad56e7341c4795bcb7975605", "ast_hash": "ab5d161ba5f84c94bb02ef83577e0b03",
"semantic_hash": "" "semantic_hash": ""
}, },
"led-driver/build-d61/CMakeCache.txt": { "led-driver/build-d61/CMakeCache.txt": {
@@ -3766,5 +3766,23 @@
"seen": 1795483469.542502, "seen": 1795483469.542502,
"ast_hash": "24d4d2db512d6f8cd76dd4b8c524aed1", "ast_hash": "24d4d2db512d6f8cd76dd4b8c524aed1",
"semantic_hash": "" "semantic_hash": ""
},
"docs/images/screenshots/gallery.png": {
"mtime": 1795510957.520466,
"seen": 1795510986.2406073,
"ast_hash": "d36aafa3d4f6dbaf0c7030868a94f6d9",
"semantic_hash": ""
},
"docs/images/screenshots/sequence.png": {
"mtime": 1795510957.208469,
"seen": 1795510986.24061,
"ast_hash": "9b3000792e6b7d90167c008c32d42d9f",
"semantic_hash": ""
},
"docs/images/screenshots/simulator.png": {
"mtime": 1795510956.8114724,
"seen": 1795510986.2406118,
"ast_hash": "8e6c048fbfef596001a8915cfd79bc15",
"semantic_hash": ""
} }
} }
+217 -265
View File
@@ -1,17 +1,17 @@
# Graph Report - led-controller (2026-11-24) # Graph Report - led-controller (2026-11-24)
## Corpus Check ## Corpus Check
- 533 files · ~2,051,361 words - 533 files · ~2,052,662 words
- Verdict: corpus is large enough that graph structure adds value. - Verdict: corpus is large enough that graph structure adds value.
- Unclassified: 6320 file(s) not represented in the graph (top: .obj 4420, .cmake 802, .a 520) - Unclassified: 6320 file(s) not represented in the graph (top: .obj 4420, .cmake 802, .a 520)
## Summary ## Summary
- 5784 nodes · 16712 edges · 293 communities (188 shown, 105 thin omitted) - 5786 nodes · 16725 edges · 276 communities (180 shown, 96 thin omitted)
- Extraction: 75% EXTRACTED · 25% INFERRED · 0% AMBIGUOUS · INFERRED: 4160 edges (avg confidence: 0.85) - Extraction: 75% EXTRACTED · 25% INFERRED · 0% AMBIGUOUS · INFERRED: 4164 edges (avg confidence: 0.85)
- Token cost: 0 input · 0 output - Token cost: 0 input · 0 output
## Graph Freshness ## Graph Freshness
- Built from commit: `ba8e160a` - Built from commit: `8756315a`
- Run `git rev-parse HEAD` and compare to check if the graph is stale. - Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost). - Run `graphify update .` after code changes (no API cost).
@@ -19,7 +19,7 @@
- IdfDevice - IdfDevice
- htmx Library - htmx Library
- PyboardCommand - PyboardCommand
- Browser Tests & Mockup Images - BrowserTest
- Audio UI (JS) - Audio UI (JS)
- cJSON - cJSON
- controller - controller
@@ -33,7 +33,7 @@
- freertos.c - freertos.c
- unique - unique
- Sequences UI (JS) - Sequences UI (JS)
- bridge.c - bridge_serial.c
- bridge_main.c - bridge_main.c
- led_strip Component Docs - led_strip Component Docs
- Art-Net Output - Art-Net Output
@@ -48,27 +48,27 @@
- binary_envelope.py - binary_envelope.py
- Colour Picker Mockups - Colour Picker Mockups
- auth.c - auth.c
- BridgeSim - cJSON_IsString
- httpd_parse.c - httpd_parse.c
- test_sequences.py - test_sequences.py
- seqplay.c - seqplay.c
- API Docs: Outputs & Audio - API Docs: Outputs & Audio
- bridge_sim.py - ws2812.cpp
- driver_ota.py - driver_ota.py
- cJSON_IsNumber - cJSON_Delete
- xSemaphoreGive - xSemaphoreGive
- WS2812 - WS2812
- run_all - run_all
- create_app - generate_images.py
- events - events
- http_parser.h - http_parser.h
- xTaskCreate - bridge_eth.c
- argparse - argparse
- Colour Picker JS - Colour Picker JS
- Chromium Colour Picker JS - Chromium Colour Picker JS
- steps - steps
- API Tests: Devices - API Tests: Devices
- beat.c - sim_stubs.c
- mpremote Transport - mpremote Transport
- mcu_host/main/main.c - mcu_host/main/main.c
- nvs_open - nvs_open
@@ -84,16 +84,16 @@
- sys - sys
- presets.cpp - presets.cpp
- auth.js - auth.js
- cJSON_CreateObject - sim_rig.c
- httpd_sess.c - httpd_sess.c
- Index Page Modals - Index Page Modals
- LedSimulatorApp - BridgeSim
- httpd_data - httpd_data
- Microdot WebSocket (dmx) - Microdot WebSocket (dmx)
- espnow_link.cpp - espnow_link.cpp
- Bench test: S3 controller and one LED driver - Bench test: S3 controller and one LED driver
- led-controller ESP32-S3 firmware - led-controller ESP32-S3 firmware
- transport.py - run_test
- sim_split.js - sim_split.js
- Audio Monitor Page - Audio Monitor Page
- OutputManager - OutputManager
@@ -102,7 +102,7 @@
- dmx.js - dmx.js
- test_groups.py - test_groups.py
- ESP-NOW Sender Bridge - ESP-NOW Sender Bridge
- httpd_req_t - cJSON_GetObjectItem
- Microdot Async IO (dmx) - Microdot Async IO (dmx)
- events - events
- PatternPlayer - PatternPlayer
@@ -110,19 +110,19 @@
- Pin - Pin
- mdns_host.c - mdns_host.c
- events - events
- httpd_resp_set_type - httpd_req_t
- test_dmx_bridge.py - test_dmx_bridge.py
- sim_demo.py - sim_demo.py
- NeoPixel - test_browser.py
- led-controller ESP32-S3 firmware - led-controller ESP32-S3 firmware
- cJSON_GetObjectItem - led_strip_rmt_dev_idf4.c
- bridge_dmx.c - bridge_dmx.c
- Groups UI (JS) - Groups UI (JS)
- httpd_req_aux - httpd_req_aux
- Help: Mobile Menu Image - Help: Mobile Menu Image
- Pattern Selector Mockup Image - Pattern Selector Mockup Image
- Driver Pattern Docs - Driver Pattern Docs
- httpd_txrx.c - LED controller web UI user guide
- main - main
- cmakeVariables - cmakeVariables
- Driver Message API Docs - Driver Message API Docs
@@ -131,7 +131,6 @@
- test_auth.py - test_auth.py
- Outputs UI (JS) - Outputs UI (JS)
- dependencies - dependencies
- Help PDF: Overview
- Mockups Index Image - Mockups Index Image
- test_routes.py - test_routes.py
- Help: Header Toolbar Image - Help: Header Toolbar Image
@@ -147,9 +146,9 @@
- ESPNow - ESPNow
- Colour Picker Demo Image - Colour Picker Demo Image
- Settings Mockup Image - Settings Mockup Image
- layout.py - http_parser_url_fields
- Settings - Settings
- led-controller on a desktop - Controller on the Waveshare ESP32-P4-Nano
- cmakeVariables - cmakeVariables
- HttpDevice - HttpDevice
- events - events
@@ -162,7 +161,7 @@
- settings_editor.js - settings_editor.js
- Help PDF: Modes - Help PDF: Modes
- Help: Tab Preset Strip Image - Help: Tab Preset Strip Image
- esp_timer_create - semphr.h
- vendor.sh - vendor.sh
- app.js - app.js
- RMT Example Manifest - RMT Example Manifest
@@ -172,8 +171,8 @@
- dmx_bridge.js - dmx_bridge.js
- Preset - Preset
- httpd_req - httpd_req
- idf_device.py - test_patterns.py
- build_sim_web.sh - LED Controller HTTP/JSON API
- dependencies - dependencies
- List Search (JS) - List Search (JS)
- DMX Solid Pattern - DMX Solid Pattern
@@ -182,7 +181,7 @@
- graphify Instructions - graphify Instructions
- SerialDMX - SerialDMX
- dependencies - dependencies
- httpd_resp_set_status - _browser_sleep
- bulk.sh Script - bulk.sh Script
- deploy.sh Script - deploy.sh Script
- Driver install.sh - Driver install.sh
@@ -193,14 +192,14 @@
- Spec: Pattern Selector UI - Spec: Pattern Selector UI
- Test Server Tools - Test Server Tools
- SerialTransport - SerialTransport
- mac_str - test_audio.py
- Supported Platforms and Transports - Supported Platforms and Transports
- httpd_ctrl_data - httpd_ctrl_data
- Supported Platforms and Transports - Supported Platforms and Transports
- _simlink_proc.py - _simlink_proc.py
- dependencies - dependencies
- http_parser.c - .write
- Request - KeyName
- WLAN - WLAN
- Slave Firmware Binaries for LittleFS OTA - Slave Firmware Binaries for LittleFS OTA
- Slave Firmware Binaries for Partition OTA - Slave Firmware Binaries for Partition OTA
@@ -214,41 +213,26 @@
- examples/blink.py - examples/blink.py
- driver-worker.js - driver-worker.js
- layout.js - layout.js
- README.md - bridge_mac_is_dmx
- decode_presets - cJSON_CreateObject
- v1 driver messages (long/short keys) - sim_rx
- src/main.cpp
- dependencies - dependencies
- dependencies - dependencies
- websocket.py
- create_self_signed_certs.sh - create_self_signed_certs.sh
- net.cpp - net.cpp
- microdot.py
- events - events
- events - events
- Response - Response
- bridge_hosted.c - vTaskDelay
- patterns.c - patterns.c
- URLPattern
- status_get_handler
- web.c
- machine.py - machine.py
- Controller on the Waveshare ESP32-P4-Nano
- led_strip_rmt_encoder.c
- httpd_stop
- httpd_ws_frame - httpd_ws_frame
- dependencies - dependencies
- flags - flags
- move_bars.py - move_bars.py
- hmac256
- create_https_server.py - create_https_server.py
- desktop_main.c - desktop_main.c
- httpd_os_thread_create
- led-driver/main/ota.c
- relay_slot_t
- ws_slot_t - ws_slot_t
- ws_client_send_text
- ws_client_connect
## God Nodes (most connected - your core abstractions) ## God Nodes (most connected - your core abstractions)
1. `cJSON` - 292 edges 1. `cJSON` - 292 edges
@@ -303,27 +287,27 @@
- **ESP-NOW driver delivery layers** — docs_api_binary_envelope, docs_api_delivery_digest, docs_bench_test_reliable_link, docs_bench_test_beat_double_send [INFERRED 0.85] - **ESP-NOW driver delivery layers** — docs_api_binary_envelope, docs_api_delivery_digest, docs_bench_test_reliable_link, docs_bench_test_beat_double_send [INFERRED 0.85]
- **v1 message handling on driver** — led_driver_docs_api_v1_message, led_driver_docs_patterns_process_data_flow, led_driver_docs_patterns_pattern_registry, led_driver_docs_patterns_preset_short_keys, led_driver_docs_api_select_message [INFERRED 0.85] - **v1 message handling on driver** — led_driver_docs_api_v1_message, led_driver_docs_patterns_process_data_flow, led_driver_docs_patterns_pattern_registry, led_driver_docs_patterns_preset_short_keys, led_driver_docs_api_select_message [INFERRED 0.85]
## Communities (293 total, 105 thin omitted) ## Communities (276 total, 96 thin omitted)
### Community 0 - "IdfDevice" ### Community 0 - "IdfDevice"
Cohesion: 0.10 Cohesion: 0.10
Nodes (8): _hex_rgb(), _idf_post(), _idf_show(), _preset_content(), run_idf(), open_when_ready(), IdfDevice, probe() Nodes (9): _hex_rgb(), _idf_post(), _idf_show(), _preset_content(), run_idf(), open_when_ready(), read_state(), IdfDevice (+1 more)
### Community 1 - "htmx Library" ### Community 1 - "htmx Library"
Cohesion: 0.08 Cohesion: 0.08
Nodes (101): a(), Ae(), an(), at(), B(), be(), bn(), bt() (+93 more) Nodes (101): a(), Ae(), an(), at(), B(), be(), bn(), bt() (+93 more)
### Community 3 - "Browser Tests & Mockup Images" ### Community 3 - "BrowserTest"
Cohesion: 0.06 Cohesion: 0.19
Nodes (17): generate_image(), generate_with_html2image(), generate_with_playwright(), generate_with_selenium(), main(), browser(), _browser_sleep(), BrowserTest (+9 more) Nodes (7): BrowserTest, main(), test_color_palette_ui(), test_preset_drag_and_drop(), test_presets_ui(), test_profiles_ui(), test_zones_ui()
### Community 4 - "Audio UI (JS)" ### Community 4 - "Audio UI (JS)"
Cohesion: 0.11 Cohesion: 0.11
Nodes (58): applyAudioStatus(), applyServerAudioUiFields(), audioRunPreferredDeviceId(), beatSyncButtonTitle(), bind(), clampLiveBpm(), clampSimulatedBpm(), clearBeatPhaseTimers() (+50 more) Nodes (58): applyAudioStatus(), applyServerAudioUiFields(), audioRunPreferredDeviceId(), beatSyncButtonTitle(), bind(), clampLiveBpm(), clampSimulatedBpm(), clearBeatPhaseTimers() (+50 more)
### Community 5 - "cJSON" ### Community 5 - "cJSON"
Cohesion: 0.05 Cohesion: 0.06
Nodes (98): add_item_to_array(), add_item_to_object(), buffer_skip_whitespace(), case_insensitive_strcmp(), cast_away_const(), cJSON, cJSON_AddFalseToObject(), cJSON_AddItemReferenceToArray() (+90 more) Nodes (91): add_item_to_array(), add_item_to_object(), buffer_skip_whitespace(), case_insensitive_strcmp(), cast_away_const(), cJSON, cJSON_AddFalseToObject(), cJSON_AddItemReferenceToArray() (+83 more)
### Community 6 - "controller" ### Community 6 - "controller"
Cohesion: 0.05 Cohesion: 0.05
@@ -358,52 +342,60 @@ Cohesion: 0.10
Nodes (42): applyBrightnessSliders(), applyZoneContentKindEditModal(), clamp255(), computeZoneNamesTargets(), computeZonePresetUnionTargets(), computeZoneTargets(), createZone(), effectiveGroupIdsForZonePreset() (+34 more) Nodes (42): applyBrightnessSliders(), applyZoneContentKindEditModal(), clamp255(), computeZoneNamesTargets(), computeZonePresetUnionTargets(), computeZoneTargets(), createZone(), effectiveGroupIdsForZonePreset() (+34 more)
### Community 14 - "freertos.c" ### Community 14 - "freertos.c"
Cohesion: 0.05 Cohesion: 0.07
Nodes (55): on_recv(), make_deadline(), queue_send(), sem_give(), sem_new(), sem_take(), uxQueueMessagesWaiting(), vEventGroupDelete() (+47 more) Nodes (41): on_recv(), make_deadline(), queue_send(), sem_give(), sem_new(), sem_take(), uxQueueMessagesWaiting(), vEventGroupDelete() (+33 more)
### Community 15 - "unique" ### Community 15 - "unique"
Cohesion: 0.05 Cohesion: 0.04
Nodes (28): new_id(), unique(), test_preset_round_trip(), test_profile_import_folds_animation_ids(), test_profile_round_trip(), test_sequence_round_trip(), start(), test_definition_in_use_is_kept() (+20 more) Nodes (32): find_id_by_field(), missing(), new_id(), unique(), test_preset_round_trip(), test_profile_import_folds_animation_ids(), test_profile_round_trip(), test_sequence_round_trip() (+24 more)
### Community 16 - "Sequences UI (JS)" ### Community 16 - "Sequences UI (JS)"
Cohesion: 0.11 Cohesion: 0.11
Nodes (32): addSeqTarget(), addSequenceToTab(), appendZoneSequenceTiles(), applySequenceSwitchWaitFromServer(), buildStepPlaySelect(), createSequenceTileRow(), deleteCurrentSequence(), fetchGroupsMapSeq() (+24 more) Nodes (32): addSeqTarget(), addSequenceToTab(), appendZoneSequenceTiles(), applySequenceSwitchWaitFromServer(), buildStepPlaySelect(), createSequenceTileRow(), deleteCurrentSequence(), fetchGroupsMapSeq() (+24 more)
### Community 17 - "bridge.c" ### Community 17 - "bridge_serial.c"
Cohesion: 0.07 Cohesion: 0.15
Nodes (47): bridge_crc16_update(), bridge_decode_feed(), bridge_encode(), activate(), bridge_board_set_channel(), bridge_mac_is_dmx(), bridge_ports_json(), bridge_send() (+39 more) Nodes (23): bridge_crc16_update(), bridge_decode_feed(), bridge_encode(), bridge_ports_json(), keepalive_task(), bridge_serial_close(), bridge_serial_follow_mac(), bridge_serial_has_mic() (+15 more)
### Community 18 - "bridge_main.c" ### Community 18 - "bridge_main.c"
Cohesion: 0.05 Cohesion: 0.04
Nodes (37): bridge_eth_ip(), bridge_eth_start(), on_eth_down(), on_got_ip(), build_info(), ctl_task(), ensure_peer(), handle_frame() (+29 more) Nodes (70): app_main(), build_info(), ctl_open(), ctl_task(), ensure_peer(), handle_frame(), host_rx_task(), log_hook() (+62 more)
### Community 19 - "led_strip Component Docs" ### Community 19 - "led_strip Component Docs"
Cohesion: 0.10 Cohesion: 0.10
Nodes (36): led_test ESP-IDF project, led_test main component (main.c), led_strip API Reference, led_model_t (WS2812/SK6812), led_pixel_format_t (GRB/GRBW), led_strip_clear(), led_strip_config_t, led_strip_del() (+28 more) Nodes (36): led_test ESP-IDF project, led_test main component (main.c), led_strip API Reference, led_model_t (WS2812/SK6812), led_pixel_format_t (GRB/GRBW), led_strip_clear(), led_strip_config_t, led_strip_del() (+28 more)
### Community 20 - "Art-Net Output" ### Community 20 - "Art-Net Output"
Cohesion: 0.09 Cohesion: 0.10
Nodes (10): ArtNet, as_channels(), build_artdmx(), _ip_bytes(), _pad(), port_lo(), ticks_diff(), ticks_ms() (+2 more) Nodes (10): ArtNet, as_channels(), build_artdmx(), _ip_bytes(), _pad(), port_lo(), sleep_ms(), ticks_diff() (+2 more)
### Community 21 - "web.cpp" ### Community 21 - "web.cpp"
Cohesion: 0.10 Cohesion: 0.09
Nodes (58): cJSON_free(), ddp_set_enabled(), net_ap_on(), net_sta_status(), api_call_work(), api_fn_t, api_http_entry(), api_req_t (+50 more) Nodes (60): cJSON_free(), ddp_set_enabled(), add_uri(), api_call_work(), api_fn_t, api_http_entry(), api_req_t, api_route_t (+52 more)
### Community 22 - "espnow_tx.c" ### Community 22 - "espnow_tx.c"
Cohesion: 0.07 Cohesion: 0.07
Nodes (33): bench_on_beat_tx(), bench_on_echo(), bench_running(), gen_cb(), bridge_active(), engine_groups_push_all(), ap_event(), bulk_task() (+25 more) Nodes (29): api_bridges_remove(), bench_on_beat_tx(), bench_on_echo(), bench_running(), bench_start(), bench_stop(), gen_cb(), gpio_mark() (+21 more)
### Community 23 - "cJSON" ### Community 23 - "cJSON"
Cohesion: 0.06 Cohesion: 0.07
Nodes (112): list_pulse_sources(), cJSON_GetArrayItem(), cJSON_GetArraySize(), cJSON_GetObjectItem(), cJSON_IsArray(), cJSON_IsString(), apply_default(), apply_select() (+104 more) Nodes (63): cJSON_IsTrue(), build_groups(), defer_groups(), device_name_for(), driver_in_zone(), driver_task(), emit_c(), emit_json() (+55 more)
### Community 24 - "time" ### Community 24 - "time"
Cohesion: 0.15 Cohesion: 0.15
Nodes (11): answers_ping(), bridge_macs(), candidate_ports(), controller_name_for(), flash(), main(), process(), read_state() (+3 more) Nodes (10): answers_ping(), bridge_macs(), candidate_ports(), controller_name_for(), flash(), main(), process(), say() (+2 more)
### Community 25 - "Microdot"
Cohesion: 0.05
Nodes (4): Microdot, decorated(), mro(), URLPattern
### Community 26 - "httpd_handle_t" ### Community 26 - "httpd_handle_t"
Cohesion: 0.17 Cohesion: 0.11
Nodes (27): httpd_handle_t, httpd_method_t, httpd_uri, method, httpd_uri_t, uri, user_ctx, httpd_start() (+19 more) Nodes (32): vSemaphoreDelete(), httpd_err_code_t, httpd_err_handler_func_t, httpd_handle_t, httpd_method_t, httpd_uri, method, httpd_uri_t (+24 more)
### Community 27 - "NoCaseDict"
Cohesion: 0.07
Nodes (4): MultiDict, NoCaseDict, Request, G
### Community 28 - "Devices UI (JS)" ### Community 28 - "Devices UI (JS)"
Cohesion: 0.09 Cohesion: 0.09
@@ -418,68 +410,68 @@ Cohesion: 0.11
Nodes (25): Chromium-style Color Picker Demo, ColorPickerChromium Component, updateColors() (Chromium demo), Custom Color Picker Demo, updateColors() (standard demo), Custom Colour Picker README, POST /api/colors (example), ColorPicker Component (+17 more) Nodes (25): Chromium-style Color Picker Demo, ColorPickerChromium Component, updateColors() (Chromium demo), Custom Color Picker Demo, updateColors() (standard demo), Custom Colour Picker README, POST /api/colors (example), ColorPicker Component (+17 more)
### Community 31 - "auth.c" ### Community 31 - "auth.c"
Cohesion: 0.10 Cohesion: 0.11
Nodes (67): cJSON_AddBoolToObject(), httpd_req_to_sockfd(), httpd_resp_set_hdr(), bridge_store_locked(), all_edit(), area_index(), auth_can(), auth_classify() (+59 more) Nodes (54): area_index(), auth_can(), auth_classify(), auth_enabled_locked(), auth_gate(), auth_init(), auth_route(), auth_ws_admit() (+46 more)
### Community 32 - "BridgeSim" ### Community 32 - "cJSON_IsString"
Cohesion: 0.18 Cohesion: 0.10
Nodes (3): BridgeSim, _read_json(), Strip Nodes (37): list_alsa_devices(), list_pulse_sources(), mic_list_devices(), cJSON_GetArrayItem(), cJSON_GetArraySize(), cJSON_IsString(), apply_default(), apply_presets() (+29 more)
### Community 33 - "httpd_parse.c" ### Community 33 - "httpd_parse.c"
Cohesion: 0.07 Cohesion: 0.06
Nodes (51): httpd_config_t, httpd_create(), cb_header_field(), cb_header_value(), cb_headers_complete(), cb_no_body(), cb_on_body(), cb_url() (+43 more) Nodes (56): httpd_config_t, httpd_create(), cb_header_field(), cb_header_value(), cb_headers_complete(), cb_no_body(), cb_on_body(), cb_url() (+48 more)
### Community 34 - "test_sequences.py" ### Community 34 - "test_sequences.py"
Cohesion: 0.16 Cohesion: 0.16
Nodes (29): clock(), make(), presets(), test_beat_and_time_lanes_together(), test_chase_moves_and_bounces(), test_editing_stops_playback(), test_editing_stops_the_preview_not_the_live_sequence(), test_legacy_animation_kind_plays_once() (+21 more) Nodes (29): clock(), make(), presets(), test_beat_and_time_lanes_together(), test_chase_moves_and_bounces(), test_editing_stops_playback(), test_editing_stops_the_preview_not_the_live_sequence(), test_legacy_animation_kind_plays_once() (+21 more)
### Community 35 - "seqplay.c" ### Community 35 - "seqplay.c"
Cohesion: 0.07 Cohesion: 0.05
Nodes (78): mic_error(), mic_is_open(), audio_api_resume_mic(), audio_handler(), audio_run(), events(), mic_follow_setting(), ok_with_status() (+70 more) Nodes (99): mic_error(), mic_is_open(), cJSON_AddNullToObject(), bridge_store_locked(), audio_api_resume_mic(), audio_handler(), audio_run(), mic_follow_setting() (+91 more)
### Community 36 - "API Docs: Outputs & Audio" ### Community 36 - "API Docs: Outputs & Audio"
Cohesion: 0.16 Cohesion: 0.19
Nodes (22): Audio API /api/audio and /audio page routes, Profile/preset/sequence JSON bundles (import/export), Combined brightness (global x groups x device x zone), /db collection export and replace, Devices resource /devices, Driver group membership lists (group ids, z<zone id>), Device groups resource /groups, LED Controller HTTP/JSON API (+14 more) Nodes (14): Controller WebSocket /ws (v1 presets/select), Binary envelope (main/envelope.c, test/binary_envelope.py), Profile/preset/sequence JSON bundles (import/export), Combined brightness (global x groups x device x zone), Devices resource /devices, Driver group membership lists (group ids, z<zone id>), Device groups resource /groups, Palettes resource /palettes (+6 more)
### Community 37 - "bridge_sim.py" ### Community 37 - "ws2812.cpp"
Cohesion: 0.14 Cohesion: 0.14
Nodes (10): driver_mac(), load_config(), main(), _merge(), sync_patterns(), controller_url(), _get(), _post() (+2 more) Nodes (5): new_ws2812_encoder(), rmt_del_ws2812_encoder(), rmt_encode_ws2812(), rmt_ws2812_encoder_reset(), rmt_ws2812_encoder_t
### Community 38 - "driver_ota.py" ### Community 38 - "driver_ota.py"
Cohesion: 0.14 Cohesion: 0.14
Nodes (9): discover(), local_subnet(), main(), discover(), _expand(), _ip(), local_subnet(), ota_drivers() (+1 more) Nodes (9): discover(), local_subnet(), main(), discover(), _expand(), _ip(), local_subnet(), ota_drivers() (+1 more)
### Community 39 - "cJSON_IsNumber" ### Community 39 - "cJSON_Delete"
Cohesion: 0.16 Cohesion: 0.07
Nodes (30): cJSON_AddTrueToObject(), cJSON_IsNumber(), num(), api_effective_brightness(), api_identify_group(), clamp255(), device_brightness(), device_driver_config() (+22 more) Nodes (84): cJSON_AddTrueToObject(), cJSON_Delete(), cJSON_IsFalse(), cJSON_IsNumber(), cJSON_Parse(), api_body(), api_body_opt(), api_current_profile() (+76 more)
### Community 40 - "xSemaphoreGive" ### Community 40 - "xSemaphoreGive"
Cohesion: 0.05 Cohesion: 0.04
Nodes (77): udp_task(), xSemaphoreGive(), xSemaphoreTake(), clamp_leds(), ddp_show(), frame_alloc(), fx_fn, now_ms() (+69 more) Nodes (96): mic_task(), rx_task(), udp_send_up(), udp_task(), usb_send_frame(), xSemaphoreGive(), xSemaphoreTake(), clamp_leds() (+88 more)
### Community 41 - "WS2812" ### Community 41 - "WS2812"
Cohesion: 0.06 Cohesion: 0.09
Nodes (20): new_ws2812_encoder(), rmt_del_ws2812_encoder(), rmt_encode_ws2812(), rmt_ws2812_encoder_reset(), rmt_ws2812_encoder_t, WS2812, channel_, encoder_ (+12 more) Nodes (15): WS2812, channel_, encoder_, num_leds_, order_, pixels_, tx_config_, tx_pixels_ (+7 more)
### Community 42 - "run_all" ### Community 42 - "run_all"
Cohesion: 0.12 Cohesion: 0.12
Nodes (13): dim(), expected(), frame(), frame_sum(), mismatch_detail(), packet(), read_serial(), run_all() (+5 more) Nodes (13): dim(), expected(), frame(), frame_sum(), mismatch_detail(), packet(), read_serial(), run_all() (+5 more)
### Community 43 - "create_app" ### Community 43 - "generate_images.py"
Cohesion: 0.12 Cohesion: 0.15
Nodes (6): create_app(), serial_ports(), ws_handler(), list_serial_ports(), main(), output_tick() Nodes (5): generate_image(), generate_with_html2image(), generate_with_playwright(), generate_with_selenium(), main()
### Community 44 - "events" ### Community 44 - "events"
Cohesion: 0.09 Cohesion: 0.09
Nodes (21): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+13 more) Nodes (21): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+13 more)
### Community 45 - "http_parser.h" ### Community 45 - "http_parser.h"
Cohesion: 0.06 Cohesion: 0.08
Nodes (33): http_cb, http_data_cb, http_errno, HTTP_ERRNO_MAP, http_method, http_parser_settings, on_body, on_chunk_complete (+25 more) Nodes (24): http_cb, http_data_cb, http_errno, HTTP_ERRNO_MAP, http_method, http_parser_settings, on_body, on_chunk_complete (+16 more)
### Community 46 - "xTaskCreate" ### Community 46 - "bridge_eth.c"
Cohesion: 0.07 Cohesion: 0.08
Nodes (42): app_main(), ctl_open(), mic_start(), udp_open(), esp_event_loop_create_default(), xQueueCreate(), xSemaphoreCreateBinary(), xSemaphoreCreateMutex() (+34 more) Nodes (16): bridge_eth_ip(), bridge_eth_start(), on_eth_down(), on_got_ip(), led_model_t, led_pixel_format_t, led_strip_t, led_strip_rmt_clear() (+8 more)
### Community 47 - "argparse" ### Community 47 - "argparse"
Cohesion: 0.10 Cohesion: 0.10
@@ -489,9 +481,9 @@ Nodes (16): analyze(), edges(), main(), pct(), read(), art_dmx(), effect_frame()
Cohesion: 0.10 Cohesion: 0.10
Nodes (19): TAG, TOKEN, jobs, release, name, on, push, contents (+11 more) Nodes (19): TAG, TOKEN, jobs, release, name, on, push, contents (+11 more)
### Community 52 - "beat.c" ### Community 52 - "sim_stubs.c"
Cohesion: 0.14 Cohesion: 0.16
Nodes (13): beat_start(), led_off_cb(), led_set(), gpio_mark(), ap_button_held(), gpio_config(), gpio_get_level(), gpio_reset_pin() (+5 more) Nodes (5): esp_vfs_littlefs_register(), mic_get_level(), mic_start(), mic_stream_open(), mic_stream_read()
### Community 53 - "mpremote Transport" ### Community 53 - "mpremote Transport"
Cohesion: 0.12 Cohesion: 0.12
@@ -502,8 +494,8 @@ Cohesion: 0.06
Nodes (25): c6_version(), on_version(), app_main(), halt(), image_size(), http_client_event_handler(), ota_https_perform(), parse_image_header_from_buffer() (+17 more) Nodes (25): c6_version(), on_version(), app_main(), halt(), image_size(), http_client_event_handler(), ota_https_perform(), parse_image_header_from_buffer() (+17 more)
### Community 55 - "nvs_open" ### Community 55 - "nvs_open"
Cohesion: 0.20 Cohesion: 0.19
Nodes (19): load_channel(), set_channel(), sim_host_flash(), apply_device_config(), ctrl_init(), save_groups(), settings_load_hw(), settings_load_wifi() (+11 more) Nodes (18): load_channel(), set_channel(), sim_host_flash(), apply_device_config(), ctrl_init(), save_groups(), default_hostname(), settings_load_hw() (+10 more)
### Community 57 - "httpd_config" ### Community 57 - "httpd_config"
Cohesion: 0.06 Cohesion: 0.06
@@ -514,8 +506,8 @@ Cohesion: 0.16
Nodes (30): addPreset(), apply(), applySpec(), banner(), bgField(), buildCard(), checkField(), closeEditor() (+22 more) Nodes (30): addPreset(), apply(), applySpec(), banner(), bgField(), buildCard(), checkField(), closeEditor() (+22 more)
### Community 59 - "mic_alsa.c" ### Community 59 - "mic_alsa.c"
Cohesion: 0.12 Cohesion: 0.05
Nodes (15): capture_loop(), capture_thread(), list_alsa_devices(), mic_close(), mic_get_level(), mic_list_devices(), mic_open(), mic_start() (+7 more) Nodes (27): capture_loop(), capture_thread(), mic_close(), mic_get_level(), mic_open(), mic_start(), mic_stream_open(), mic_stream_read() (+19 more)
### Community 60 - "test_sim_net.py" ### Community 60 - "test_sim_net.py"
Cohesion: 0.13 Cohesion: 0.13
@@ -526,64 +518,68 @@ Cohesion: 0.17
Nodes (5): base_url(), c(), Client, profile(), restore_db() Nodes (5): base_url(), c(), Client, profile(), restore_db()
### Community 62 - "sock_db" ### Community 62 - "sock_db"
Cohesion: 0.09 Cohesion: 0.07
Nodes (22): httpd_pending_func_t, httpd_recv_func_t, httpd_send_func_t, sock_db, ctx, fd, for_async_req, free_ctx (+14 more) Nodes (37): httpd_pending_func_t, httpd_recv_func_t, httpd_send_func_t, httpd_ws_client_info_t, httpd_recv_opt_t, sock_db, ctx, fd (+29 more)
### Community 63 - "Help: Zones & Palette" ### Community 63 - "Help: Zones & Palette"
Cohesion: 0.13 Cohesion: 0.10
Nodes (18): Colour Palette (per profile), Zone default preset (default hint), DJ zone starter option, From Palette linked colours, LED driver JSON (presets, select, save, default, manifest), Patterns dialog, POST /presets/send, Preset editor (Try, Save, Send, Manual) (+10 more) Nodes (26): API.md, Colour Palette (per profile), Zone default preset (default hint), DJ zone starter option, LED controller user guide, LED driver JSON (presets, select, save, default, manifest), Main web UI (Raspberry Pi app), Pattern OTA install over HTTP (/patterns/ota, upload, driver, send) (+18 more)
### Community 64 - "ddp_test.py" ### Community 64 - "ddp_test.py"
Cohesion: 0.09 Cohesion: 0.09
Nodes (23): hsv(), rig_mid(), rig_rows(), rig_xy(), soak_rig_bounce(), soak_rig_checker(), soak_rig_columns(), soak_rig_converge() (+15 more) Nodes (23): hsv(), rig_mid(), rig_rows(), rig_xy(), soak_rig_bounce(), soak_rig_checker(), soak_rig_columns(), soak_rig_converge() (+15 more)
### Community 65 - "sys" ### Community 65 - "sys"
Cohesion: 0.09 Cohesion: 0.06
Nodes (3): mpremote_base(), main(), TransportExecError Nodes (7): mpremote_base(), urldecode_bytes(), urldecode_str(), main(), _convert_filesystem_error(), stdout_write_bytes(), Transport
### Community 66 - "presets.cpp" ### Community 66 - "presets.cpp"
Cohesion: 0.20 Cohesion: 0.15
Nodes (22): clear_all_presets(), build_defaults(), entry_key(), find(), load_entry(), presets_add_defaults(), presets_at(), presets_count() (+14 more) Nodes (29): main(), read_file(), clear_all_presets(), patterns_output_level(), build_defaults(), entry_key(), find(), load_entry() (+21 more)
### Community 67 - "auth.js" ### Community 67 - "auth.js"
Cohesion: 0.15 Cohesion: 0.15
Nodes (40): accountMenu(), addHeaderButton(), applyPerms(), askLogin(), buildAccount(), byId(), can(), changePassword() (+32 more) Nodes (40): accountMenu(), addHeaderButton(), applyPerms(), askLogin(), buildAccount(), byId(), can(), changePassword() (+32 more)
### Community 68 - "cJSON_CreateObject" ### Community 68 - "sim_rig.c"
Cohesion: 0.07 Cohesion: 0.13
Nodes (89): cJSON_AddItemToObject(), cJSON_AddNumberToObject(), cJSON_AddObjectToObject(), cJSON_AddStringToObject(), cJSON_CreateObject(), cJSON_IsNull(), cJSON_IsTrue(), cJSON_PrintUnformatted() (+81 more) Nodes (37): cJSON_IsNull(), active_room_ports(), api_handler(), color_order_ok(), db_root(), dmx_overlaps(), dmx_runs(), ensure_dirs() (+29 more)
### Community 69 - "httpd_sess.c" ### Community 69 - "httpd_sess.c"
Cohesion: 0.12 Cohesion: 0.06
Nodes (34): httpd_os_thread_delete(), httpd_free_ctx_fn_t, httpd_accept_conn(), httpd_process_session(), httpd_server(), httpd_thread(), enum_function(), fd_is_valid() (+26 more) Nodes (44): httpd_os_thread_sleep(), esp_err_to_name(), esp_event_post(), esp_read_mac(), httpd_free_ctx_fn_t, httpd_req, httpd_session_enum_function, thread_data (+36 more)
### Community 70 - "Index Page Modals" ### Community 70 - "Index Page Modals"
Cohesion: 0.11 Cohesion: 0.11
Nodes (19): Audio Beat Detection modal, Header BPM / beat sync indicator, Colour Palette modal, Devices modal, Edit device modal, Edit Zone modal, Device groups modal, Header global brightness slider (+11 more) Nodes (19): Audio Beat Detection modal, Header BPM / beat sync indicator, Colour Palette modal, Devices modal, Edit device modal, Edit Zone modal, Device groups modal, Header global brightness slider (+11 more)
### Community 71 - "LedSimulatorApp" ### Community 71 - "BridgeSim"
Cohesion: 0.12 Cohesion: 0.04
Nodes (4): lan_ip(), _hex(), LedSimulatorApp, main() Nodes (26): BridgeSim, api_seed_layout(), index(), driver_mac(), lan_ip(), load_config(), mac_str(), main() (+18 more)
### Community 72 - "httpd_data" ### Community 72 - "httpd_data"
Cohesion: 0.11 Cohesion: 0.11
Nodes (17): esp_http_server_event_id_t, httpd_data, config, ctrl_fd, ctrl_sock_semaphore, err_handler_fns, hd_calls, hd_req (+9 more) Nodes (17): esp_http_server_event_id_t, httpd_data, config, ctrl_fd, ctrl_sock_semaphore, err_handler_fns, hd_calls, hd_req (+9 more)
### Community 73 - "Microdot WebSocket (dmx)"
Cohesion: 0.09
Nodes (8): wraps(), print_exception(), WebSocket, websocket_upgrade(), websocket_wrapper(), wrapper(), WebSocketError, with_websocket()
### Community 74 - "espnow_link.cpp" ### Community 74 - "espnow_link.cpp"
Cohesion: 0.08 Cohesion: 0.04
Nodes (35): Asm, buf, cnt, asm_find(), flags, asm_free(), last_us, lens (+27 more) Nodes (48): send_msg(), sim_host_restart(), sim_host_tx(), write_all(), be16(), be32(), ddp_sync_task(), ddp_task() (+40 more)
### Community 75 - "Bench test: S3 controller and one LED driver" ### Community 75 - "Bench test: S3 controller and one LED driver"
Cohesion: 0.23 Cohesion: 0.23
Nodes (9): Bench endpoints /test/loss and /test/beats, 30 ms beat lead (CONFIG_BEAT_LEAD_MS), Bench test: S3 controller and one LED driver, ESP32-C3 vs S3 driver comparison, Logic analyzer latency (marker GPIO, tools/analyze_edges.py), Lossy-link test (simulated loss, retries, resync), Reliable link (rel: acked unicast, retransmits, ack timeouts), Bench troubleshooting (serial ports, channel mismatch, blank UI) (+1 more) Nodes (9): Bench endpoints /test/loss and /test/beats, 30 ms beat lead (CONFIG_BEAT_LEAD_MS), Bench test: S3 controller and one LED driver, ESP32-C3 vs S3 driver comparison, Logic analyzer latency (marker GPIO, tools/analyze_edges.py), Lossy-link test (simulated loss, retries, resync), Reliable link (rel: acked unicast, retransmits, ack timeouts), Bench troubleshooting (serial ports, channel mismatch, blank UI) (+1 more)
### Community 76 - "led-controller ESP32-S3 firmware" ### Community 76 - "led-controller ESP32-S3 firmware"
Cohesion: 0.16 Cohesion: 0.14
Nodes (16): led_controller ESP-IDF project, POST /patterns/upload (led-driver parity), Driver app update /drivers/ota (staged files, sha, commit/abort), Firmware OTA /ota (idle slot, rollback), Patterns resource /patterns, Driver app update over ESP-NOW test (tools/driver_ota.py), led-simulator, led-tool / led-cli serial device CLI (+8 more) Nodes (18): led_controller ESP-IDF project, DMX Driver Art-Net and serial gateway, DMX fixture (output, start channel, role map; parcan/mover profiles), led-driver-style pattern engine (Preset object), POST /patterns/upload (led-driver parity), Serial DMX512 output (250000 8N2), Driver app update /drivers/ota (staged files, sha, commit/abort), Firmware OTA /ota (idle slot, rollback) (+10 more)
### Community 77 - "transport.py" ### Community 77 - "run_test"
Cohesion: 0.23 Cohesion: 0.23
Nodes (3): _convert_filesystem_error(), stdout_write_bytes(), Transport Nodes (15): colour_role(), dmx_artnet_packet(), dmx_sacn_group(), dmx_sacn_packet(), is_any(), put16(), fail(), fill() (+7 more)
### Community 78 - "sim_split.js" ### Community 78 - "sim_split.js"
Cohesion: 0.30 Cohesion: 0.30
@@ -593,6 +589,10 @@ Nodes (20): addMenuEntries(), applyWidth(), attachSwipe(), build(), clampWidth()
Cohesion: 0.16 Cohesion: 0.16
Nodes (16): /audio.wav live PCM stream, bar() bar-position renderer, /beats SSE event stream, draw() timeline canvas, Listen button (WAV stream playback via AudioContext), median(), Audio and beats page (/audio), stats() tap vs computer agreement (+8 more) Nodes (16): /audio.wav live PCM stream, bar() bar-position renderer, /beats SSE event stream, draw() timeline canvas, Listen button (WAV stream playback via AudioContext), median(), Audio and beats page (/audio), stats() tap vs computer agreement (+8 more)
### Community 80 - "OutputManager"
Cohesion: 0.18
Nodes (3): main(), output_tick(), OutputManager
### Community 81 - "artnet_dmx.py" ### Community 81 - "artnet_dmx.py"
Cohesion: 0.26 Cohesion: 0.26
Nodes (9): parse(), _assert_eq(), main(), test_artnet_send_loopback(), test_build_artdmx(), test_fixture_patch(), test_pattern_blink_and_select(), test_pattern_upload() (+1 more) Nodes (9): parse(), _assert_eq(), main(), test_artnet_send_loopback(), test_build_artdmx(), test_fixture_patch(), test_pattern_blink_and_select(), test_pattern_upload() (+1 more)
@@ -606,16 +606,16 @@ Cohesion: 0.17
Nodes (22): applyCto(), beamColour(), canMode(), canView(), decodeCan(), decodeCanNamed(), decodeMover(), decodeMoverNamed() (+14 more) Nodes (22): applyCto(), beamColour(), canMode(), canView(), decodeCan(), decodeCanNamed(), decodeMover(), decodeMoverNamed() (+14 more)
### Community 84 - "test_groups.py" ### Community 84 - "test_groups.py"
Cohesion: 0.07 Cohesion: 0.12
Nodes (10): find_id_by_field(), missing(), test_scenes(), device(), group(), test_crud(), test_group_identify_needs_devices(), test_profile_scoped_group() (+2 more) Nodes (5): device(), group(), test_crud(), test_group_identify_needs_devices(), test_profile_scoped_group()
### Community 85 - "ESP-NOW Sender Bridge" ### Community 85 - "ESP-NOW Sender Bridge"
Cohesion: 0.20 Cohesion: 0.29
Nodes (10): ap(), _broadcast_ws(), _espnow_receive_loop(), _init_espnow(), main(), _send_espnow(), _validate_envelope(), ws() (+2 more) Nodes (9): _broadcast_ws(), _espnow_receive_loop(), _init_espnow(), main(), _send_espnow(), _validate_envelope(), ws(), format_mac() (+1 more)
### Community 86 - "httpd_req_t" ### Community 86 - "cJSON_GetObjectItem"
Cohesion: 0.10 Cohesion: 0.09
Nodes (83): cJSON_AddItemReferenceToObject(), cJSON_Delete(), cJSON_DeleteItemFromObject(), cJSON_Duplicate(), cJSON_ReplaceItemInObject(), httpd_req_t, httpd_recv(), httpd_req_recv() (+75 more) Nodes (100): cJSON_AddItemToArray(), cJSON_CreateArray(), cJSON_CreateNull(), cJSON_CreateString(), cJSON_DeleteItemFromObject(), cJSON_Duplicate(), cJSON_GetObjectItem(), cJSON_IsArray() (+92 more)
### Community 88 - "events" ### Community 88 - "events"
Cohesion: 0.09 Cohesion: 0.09
@@ -626,16 +626,16 @@ Cohesion: 0.14
Nodes (4): run_interactive(), handle(), show_menu(), Sender Nodes (4): run_interactive(), handle(), show_menu(), Sender
### Community 92 - "mdns_host.c" ### Community 92 - "mdns_host.c"
Cohesion: 0.15 Cohesion: 0.14
Nodes (10): add_ptr(), build_query(), decode_name(), handle_rr(), mdns_dup(), mdns_query_ptr(), mdns_query_results_free(), parse_packet() (+2 more) Nodes (10): add_ptr(), build_query(), decode_name(), handle_rr(), mdns_dup(), mdns_query_ptr(), mdns_query_results_free(), parse_packet() (+2 more)
### Community 93 - "events" ### Community 93 - "events"
Cohesion: 0.10 Cohesion: 0.10
Nodes (24): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+16 more) Nodes (24): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+16 more)
### Community 94 - "httpd_resp_set_type" ### Community 94 - "httpd_req_t"
Cohesion: 0.21 Cohesion: 0.06
Nodes (17): esp_app_get_description(), httpd_resp_sendstr(), httpd_req_async_handler_begin(), httpd_resp_set_type(), fail(), ota_get_handler(), ota_post_handler(), reboot_post_handler() (+9 more) Nodes (74): httpd_os_thread_delete(), esp_app_get_description(), vTaskDelete(), httpd_req_t, httpd_resp_send_404(), httpd_resp_send_408(), httpd_resp_send_500(), httpd_resp_sendstr() (+66 more)
### Community 95 - "test_dmx_bridge.py" ### Community 95 - "test_dmx_bridge.py"
Cohesion: 0.11 Cohesion: 0.11
@@ -645,17 +645,21 @@ Nodes (30): artnet(), bridge_status(), can_def(), drain(), local(), play(), done
Cohesion: 0.26 Cohesion: 0.26
Nodes (7): Api, main(), group(), preset(), sequence(), new_id(), rig_bars() Nodes (7): Api, main(), group(), preset(), sequence(), new_id(), rig_bars()
### Community 97 - "test_browser.py"
Cohesion: 0.14
Nodes (3): _implicit_wait_s(), test_browser_connection(), test_mobile_tab_presets_two_columns()
### Community 98 - "led-controller ESP32-S3 firmware" ### Community 98 - "led-controller ESP32-S3 firmware"
Cohesion: 0.25 Cohesion: 0.29
Nodes (7): Build and flash, Channel, Ethernet (W5500), Microphone (S3), Protocol, Running the controller against it, USB ESP-NOW bridge Nodes (7): Build and flash, Channel, Ethernet (W5500), Microphone (S3), Protocol, Running the controller against it, USB ESP-NOW bridge
### Community 99 - "cJSON_GetObjectItem" ### Community 99 - "led_strip_rmt_dev_idf4.c"
Cohesion: 0.12 Cohesion: 0.31
Nodes (50): cJSON_AddArrayToObject(), cJSON_AddItemToArray(), cJSON_CreateArray(), cJSON_CreateString(), cJSON_CreateStringArray(), cJSON_IsObject(), cJSON_Parse(), ctrl_groups_json() (+42 more) Nodes (5): led_strip_rmt_clear(), led_strip_rmt_del(), led_strip_rmt_refresh(), led_strip_rmt_set_pixel(), ws2812_rmt_adapter()
### Community 100 - "bridge_dmx.c" ### Community 100 - "bridge_dmx.c"
Cohesion: 0.08 Cohesion: 0.17
Nodes (42): apply_config(), bridge_dmx_close(), bridge_dmx_open(), bridge_dmx_reload(), bridge_dmx_send(), close_inputs(), fixture_bin(), fixture_free() (+34 more) Nodes (20): apply_config(), bridge_dmx_open(), close_inputs(), fixture_bin(), fixture_free(), fixture_read(), fixture_spawn(), fixture_stop() (+12 more)
### Community 101 - "Groups UI (JS)" ### Community 101 - "Groups UI (JS)"
Cohesion: 0.29 Cohesion: 0.29
@@ -677,9 +681,9 @@ Nodes (11): Pattern Selector Mockup (Select LED Pattern), Apply Pattern / Cancel
Cohesion: 0.24 Cohesion: 0.24
Nodes (11): Message processing order (version, presets upsert, colour, selection), Auto vs manual (a) and manual chase flush, Built-in off / on patterns, Patterns and presets on the LED driver, MAX_PRESETS = 32, Pattern OTA via manifest / POST /patterns/upload, Pattern registry (Presets.reload_patterns), Preset short keys (p, c, d, b, a, bg, n1-n6) (+3 more) Nodes (11): Message processing order (version, presets upsert, colour, selection), Auto vs manual (a) and manual chase flush, Built-in off / on patterns, Patterns and presets on the LED driver, MAX_PRESETS = 32, Pattern OTA via manifest / POST /patterns/upload, Pattern registry (Presets.reload_patterns), Preset short keys (p, c, d, b, a, bg, n1-n6) (+3 more)
### Community 106 - "httpd_txrx.c" ### Community 106 - "LED controller web UI user guide"
Cohesion: 0.07 Cohesion: 0.29
Nodes (23): vSemaphoreDelete(), httpd_err_code_t, httpd_err_handler_func_t, httpd_recv_opt_t, httpd_req, httpd_session_enum_function, thread_data, handle (+15 more) Nodes (7): Art-Net output (UDP 6454), Audio API /api/audio and /audio page routes, Outputs (DDP, Art-Net, sACN, DMX serial pixel fixtures), Sequence playback (lanes, beat advance, switching), Run mode and Edit mode, Sequence sync button (S / BPM), LED controller web UI user guide
### Community 107 - "main" ### Community 107 - "main"
Cohesion: 0.18 Cohesion: 0.18
@@ -713,10 +717,6 @@ Nodes (8): fetchOutputs(), loadOutputsModal(), openOutputEditor(), OUTPUT_PROTOC
Cohesion: 0.50 Cohesion: 0.50
Nodes (3): dependencies, espressif/w5500, version Nodes (3): dependencies, espressif/w5500, version
### Community 115 - "Help PDF: Overview"
Cohesion: 0.25
Nodes (9): API.md, LED controller user guide, Main web UI (Raspberry Pi app), Pattern OTA install over HTTP (/patterns/ota, upload, driver, send), Pattern parameters n1-n8, README, Serial to ESP-NOW bridge transport, WebSocket /ws (+1 more)
### Community 116 - "Mockups Index Image" ### Community 116 - "Mockups Index Image"
Cohesion: 0.31 Cohesion: 0.31
Nodes (9): LED Driver UI Mockups Index (screenshot), Dashboard Mockup, Device Groups, Device Management Mockup, LED Patterns (On, Off, Blink, Chase, Circle, Pulse, Rainbow, Transition), N1-N8 Pattern Parameters, Pattern Selector Mockup, Presets Mockup (+1 more) Nodes (9): LED Driver UI Mockups Index (screenshot), Dashboard Mockup, Device Groups, Device Management Mockup, LED Patterns (On, Off, Blink, Chase, Circle, Pulse, Rainbow, Transition), N1-N8 Pattern Parameters, Pattern Selector Mockup, Presets Mockup (+1 more)
@@ -746,12 +746,12 @@ Cohesion: 0.29
Nodes (6): Pattern Contract, Drawing via driver.n and apply_brightness, Pattern error handling (Presets.tick catches), Presets._load_dynamic_patterns(), Shared driver.step semantics, Global vs per-preset brightness Nodes (6): Pattern Contract, Drawing via driver.n and apply_brightness, Pattern error handling (Presets.tick catches), Presets._load_dynamic_patterns(), Shared driver.step semantics, Global vs per-preset brightness
### Community 124 - "httpd_ws.c" ### Community 124 - "httpd_ws.c"
Cohesion: 0.16 Cohesion: 0.21
Nodes (24): desktop_base64_encode(), desktop_sha1(), rol(), sha1_block(), httpd_ws_client_info_t, httpd_ws_frame_t, transfer_complete_cb, httpd_queue_work() (+16 more) Nodes (20): desktop_base64_encode(), desktop_sha1(), rol(), sha1_block(), httpd_ws_frame_t, transfer_complete_cb, httpd_queue_work(), httpd_ws_check_req() (+12 more)
### Community 125 - "led_strip_spi_dev.c" ### Community 125 - "led_strip_spi_dev.c"
Cohesion: 0.06 Cohesion: 0.09
Nodes (39): heap_caps_calloc(), app_main(), app_main(), configure_led(), app_main(), configure_led(), led_strip_rmt_config_t, led_strip_spi_config_t (+31 more) Nodes (30): heap_caps_calloc(), app_main(), app_main(), configure_led(), app_main(), configure_led(), led_strip_rmt_config_t, led_strip_spi_config_t (+22 more)
### Community 126 - "dmx-draw.js" ### Community 126 - "dmx-draw.js"
Cohesion: 0.21 Cohesion: 0.21
@@ -765,13 +765,13 @@ Nodes (6): Custom Color Picker Demo (screenshot), Hex and RGB input support, HSB
Cohesion: 0.33 Cohesion: 0.33
Nodes (7): Advanced Settings (Step Counter, Step Increment, Device ID, Debug Mode), Basic Settings (Device Name, LED Pin, Number of LEDs), Color Order Selector (RGB/RBG/GRB/GBR/BRG/BGR), Device Settings Page Mockup, Network Settings (Access Point Name, Password, Enable AP), Pattern Parameters N1-N6, Pattern Settings (Pattern, Brightness, Delay) Nodes (7): Advanced Settings (Step Counter, Step Increment, Device ID, Debug Mode), Basic Settings (Device Name, LED Pin, Number of LEDs), Color Order Selector (RGB/RBG/GRB/GBR/BRG/BGR), Device Settings Page Mockup, Network Settings (Access Point Name, Password, Enable AP), Pattern Parameters N1-N6, Pattern Settings (Pattern, Brightness, Delay)
### Community 131 - "layout.py" ### Community 131 - "http_parser_url_fields"
Cohesion: 0.24 Cohesion: 0.22
Nodes (7): normalise_layout(), _reversed_for_column(), rig_placements(), side_name(), strip_count(), strip_places(), StripPlace Nodes (9): http_parser_url_fields, UF_FRAGMENT, UF_HOST, UF_MAX, UF_PATH, UF_PORT, UF_QUERY, UF_SCHEMA (+1 more)
### Community 133 - "led-controller on a desktop" ### Community 133 - "Controller on the Waveshare ESP32-P4-Nano"
Cohesion: 0.33 Cohesion: 0.12
Nodes (5): Build and run, How it is built, Install as a service (.deb), led-controller on a desktop, Limits Nodes (15): Build and run, How it is built, Install as a service (.deb), led-controller on a desktop, Limits, Back to the factory demo, Build and flash, Controller on the Waveshare ESP32-P4-Nano (+7 more)
### Community 135 - "cmakeVariables" ### Community 135 - "cmakeVariables"
Cohesion: 0.10 Cohesion: 0.10
@@ -786,8 +786,8 @@ Cohesion: 0.40
Nodes (6): Colour Palette modal mockup (help image), Add Swatch (+) Button, Colour Palette Modal, Palette Colour Swatches, Preset Editor 'From Palette', Profile (palette owner) Nodes (6): Colour Palette modal mockup (help image), Add Swatch (+) Button, Colour Palette Modal, Palette Colour Swatches, Preset Editor 'From Palette', Profile (palette owner)
### Community 139 - "esp_err.h" ### Community 139 - "esp_err.h"
Cohesion: 0.05 Cohesion: 0.04
Nodes (27): heap_caps_malloc(), esp_fill_random(), esp_get_free_heap_size(), esp_get_minimum_free_heap_size(), esp_log_level_set(), esp_log_set_vprintf(), esp_log_timestamp(), esp_log_write() (+19 more) Nodes (32): heap_caps_malloc(), esp_fill_random(), esp_get_free_heap_size(), esp_get_minimum_free_heap_size(), esp_log_level_set(), esp_log_set_vprintf(), esp_log_timestamp(), esp_log_write() (+24 more)
### Community 140 - "LED Driver README" ### Community 140 - "LED Driver README"
Cohesion: 0.47 Cohesion: 0.47
@@ -802,8 +802,8 @@ Cohesion: 0.33
Nodes (5): dependencies, espressif/led_strip, idf, override_path, version Nodes (5): dependencies, espressif/led_strip, idf, override_path, version
### Community 143 - "test_rig_sim.py" ### Community 143 - "test_rig_sim.py"
Cohesion: 0.08 Cohesion: 0.10
Nodes (29): test_events_stream(), all_dark(), col_of(), frames(), led_x(), lit(), mac(), make_preset() (+21 more) Nodes (29): rig_placements(), all_dark(), col_of(), frames(), led_x(), lit(), mac(), make_preset() (+21 more)
### Community 145 - "Help PDF: Modes" ### Community 145 - "Help PDF: Modes"
Cohesion: 0.40 Cohesion: 0.40
@@ -813,9 +813,9 @@ Nodes (4): Edit mode, Mobile layout Menu, Run mode, Zones modal
Cohesion: 0.60 Cohesion: 0.60
Nodes (5): Help image: Main area brightness and preset tiles, Edit Mode: drag tiles to reorder, Global Brightness Slider, Preset Tile (gradient swatch, click to select on tab devices), Tab (e.g. lounge) Nodes (5): Help image: Main area brightness and preset tiles, Edit Mode: drag tiles to reorder, Global Brightness Slider, Preset Tile (gradient swatch, click to select on tab devices), Tab (e.g. lounge)
### Community 149 - "esp_timer_create" ### Community 149 - "semphr.h"
Cohesion: 0.18 Cohesion: 0.20
Nodes (15): ap_switch_later(), on_ip_event(), on_wifi_event(), dsp_event(), bench_start(), bench_stop(), ota_confirm_later(), arm() (+7 more) Nodes (7): handle_line(), usb_cfg_task(), arm(), esp_timer_get_time(), esp_timer_is_active(), esp_timer_start_periodic(), timer_task()
### Community 155 - "app.js" ### Community 155 - "app.js"
Cohesion: 0.08 Cohesion: 0.08
@@ -842,16 +842,16 @@ Cohesion: 0.25
Nodes (18): addUniverse(), editDef(), el(), error(), fixtureRow(), json(), load(), loadDefs() (+10 more) Nodes (18): addUniverse(), editDef(), el(), error(), fixtureRow(), json(), load(), loadDefs() (+10 more)
### Community 166 - "Preset" ### Community 166 - "Preset"
Cohesion: 0.13 Cohesion: 0.08
Nodes (8): _expand(), _preset_from_map(), process_data(), _select_entries(), _targets_for_key(), play(), _parse_colour(), Preset Nodes (12): _expand(), _preset_from_map(), process_data(), _select_entries(), _targets_for_key(), create_app(), play(), serial_ports() (+4 more)
### Community 167 - "httpd_req" ### Community 167 - "httpd_req"
Cohesion: 0.20 Cohesion: 0.20
Nodes (10): httpd_req, aux, content_len, free_ctx, handle, ignore_sess_ctx_changes, method, sess_ctx (+2 more) Nodes (10): httpd_req, aux, content_len, free_ctx, handle, ignore_sess_ctx_changes, method, sess_ctx (+2 more)
### Community 168 - "idf_device.py" ### Community 169 - "LED Controller HTTP/JSON API"
Cohesion: 0.13 Cohesion: 0.20
Nodes (8): _default_image(), _info(), ota_update(), _default_image(), _info(), ota_update(), info(), upload() Nodes (11): /db collection export and replace, LED Controller HTTP/JSON API, Settings resource /settings, WebSocket /ws driver message relay, espnow-sender Microdot WebSocket receiver, led-simulator, led-controller ESP32-P4-Nano firmware, HTTP API test suite (pytest) (+3 more)
### Community 170 - "dependencies" ### Community 170 - "dependencies"
Cohesion: 0.12 Cohesion: 0.12
@@ -862,32 +862,24 @@ Cohesion: 0.83
Nodes (3): applyListSearch(), initListSearch(), rowSearchText() Nodes (3): applyListSearch(), initListSearch(), rowSearchText()
### Community 177 - "SerialDMX" ### Community 177 - "SerialDMX"
Cohesion: 0.24 Cohesion: 0.18
Nodes (3): sleep_ms(), SerialDMX, sleep() Nodes (3): SerialDMX, sleep(), ap()
### Community 178 - "dependencies" ### Community 178 - "dependencies"
Cohesion: 0.14 Cohesion: 0.14
Nodes (14): path, path, dependencies, cmd_nvs, cmd_system, espressif/esp_hosted, espressif/esp_wifi_remote, joltwallet/littlefs (+6 more) Nodes (14): path, path, dependencies, cmd_nvs, cmd_system, espressif/esp_hosted, espressif/esp_wifi_remote, joltwallet/littlefs (+6 more)
### Community 179 - "httpd_resp_set_status"
Cohesion: 0.20
Nodes (16): httpd_resp_send_404(), httpd_resp_send_408(), httpd_resp_send_500(), httpd_resp_sendstr_chunk(), httpd_resp_send(), httpd_resp_send_chunk(), httpd_resp_send_custom_err(), httpd_resp_send_err() (+8 more)
### Community 184 - "beat_dsp.c" ### Community 184 - "beat_dsp.c"
Cohesion: 0.23 Cohesion: 0.27
Nodes (17): beat_feed(), analyse_beat(), bar_cue(), bar_decide(), beat_dsp_bpm(), beat_dsp_feed(), beat_dsp_init(), beat_dsp_tap() (+9 more) Nodes (16): beat_feed(), analyse_beat(), bar_cue(), bar_decide(), beat_dsp_feed(), beat_dsp_init(), beat_dsp_tap(), best_phase() (+8 more)
### Community 197 - "Test Server Tools" ### Community 197 - "Test Server Tools"
Cohesion: 0.18 Cohesion: 0.18
Nodes (10): 1. Generate Test Certificates, 2. Start HTTPS Server, 3. Configure ESP32, Certificate not found error, Files, Important Notes, Quick Start, Server won't start (+2 more) Nodes (10): 1. Generate Test Certificates, 2. Start HTTPS Server, 3. Configure ESP32, Certificate not found error, Files, Important Notes, Quick Start, Server won't start (+2 more)
### Community 198 - "SerialTransport" ### Community 198 - "SerialTransport"
Cohesion: 0.14 Cohesion: 0.13
Nodes (3): SerialIntercept, SerialTransport, TransportError Nodes (4): SerialIntercept, SerialTransport, TransportError, TransportExecError
### Community 199 - "mac_str"
Cohesion: 0.20
Nodes (3): api_seed_layout(), index(), mac_str()
### Community 200 - "Supported Platforms and Transports" ### Community 200 - "Supported Platforms and Transports"
Cohesion: 0.29 Cohesion: 0.29
@@ -902,16 +894,20 @@ Cohesion: 0.29
Nodes (6): ota / coprocessor_ota — Host, Scenario, Supported Connection buses, Supported Coprocessors, Supported Host Devices, Supported Platforms and Transports Nodes (6): ota / coprocessor_ota — Host, Scenario, Supported Connection buses, Supported Coprocessors, Supported Host Devices, Supported Platforms and Transports
### Community 204 - "_simlink_proc.py" ### Community 204 - "_simlink_proc.py"
Cohesion: 0.16 Cohesion: 0.15
Nodes (5): connect(), on_feed(), push_pixels(), _reader(), _send_pixels() Nodes (5): connect(), on_feed(), push_pixels(), _reader(), _send_pixels()
### Community 205 - "dependencies" ### Community 205 - "dependencies"
Cohesion: 0.33 Cohesion: 0.33
Nodes (5): dependencies, espressif/esp_hosted, idf, version, version Nodes (5): dependencies, espressif/esp_hosted, idf, version, version
### Community 206 - "http_parser.c" ### Community 206 - ".write"
Cohesion: 0.19 Cohesion: 0.33
Nodes (7): http_message_needs_eof(), http_parse_host(), http_parse_host_char(), http_parser_execute(), http_parser_parse_url(), http_should_keep_alive(), parse_url_char() Nodes (5): bridge_dmx_close(), bridge_dmx_reload(), bridge_dmx_send(), dmx_serial_write(), write_all()
### Community 207 - "KeyName"
Cohesion: 0.50
Nodes (4): KeyName, longk, shortk, long_name()
### Community 213 - "Slave Firmware Binaries for LittleFS OTA" ### Community 213 - "Slave Firmware Binaries for LittleFS OTA"
Cohesion: 0.40 Cohesion: 0.40
@@ -930,12 +926,12 @@ Cohesion: 0.33
Nodes (5): api_call_t, cap, done, msg, out Nodes (5): api_call_t, cap, done, msg, out
### Community 218 - "time" ### Community 218 - "time"
Cohesion: 0.15 Cohesion: 0.08
Nodes (9): Blink, Pulse, sleep(), sleep_ms(), sleep_us(), ticks_diff(), ticks_ms(), ticks_us() (+1 more) Nodes (18): Blink, Pulse, _default_image(), _info(), ota_update(), sleep(), sleep_ms(), sleep_us() (+10 more)
### Community 221 - "nvs_open" ### Community 221 - "nvs_open"
Cohesion: 0.14 Cohesion: 0.15
Nodes (28): string, read_file(), load_legacy(), get_str(), nvs_handle_t, from_hex(), get_bytes(), get_num() (+20 more) Nodes (27): string, get_str(), nvs_handle_t, from_hex(), get_bytes(), get_num(), nvs_erase_all(), nvs_erase_key() (+19 more)
### Community 227 - "dependencies" ### Community 227 - "dependencies"
Cohesion: 0.33 Cohesion: 0.33
@@ -949,17 +945,13 @@ Nodes (4): boot(), exit(), log(), startPixels()
Cohesion: 0.42 Cohesion: 0.42
Nodes (5): fixtureEnd(), fixtureLeds(), heading(), isPoint(), roomStrips() Nodes (5): fixtureEnd(), fixtureLeds(), heading(), isPoint(), roomStrips()
### Community 241 - "decode_presets" ### Community 241 - "cJSON_CreateObject"
Cohesion: 0.22 Cohesion: 0.10
Nodes (14): cstr(), ctrl_handle(), decode_default(), decode_presets(), decode_select(), env_to_json(), expand_v1(), handle_env() (+6 more) Nodes (60): cJSON_AddArrayToObject(), cJSON_AddBoolToObject(), cJSON_AddItemToObject(), cJSON_AddNumberToObject(), cJSON_AddObjectToObject(), cJSON_AddStringToObject(), cJSON_CreateObject(), cJSON_PrintUnformatted() (+52 more)
### Community 242 - "v1 driver messages (long/short keys)" ### Community 246 - "sim_rx"
Cohesion: 0.22 Cohesion: 0.33
Nodes (10): Art-Net output (UDP 6454), Controller WebSocket /ws (v1 presets/select), DMX Driver Art-Net and serial gateway, DMX fixture (output, start channel, role map; parcan/mover profiles), led-driver-style pattern engine (Preset object), Serial DMX512 output (250000 8N2), Binary envelope (main/envelope.c, test/binary_envelope.py), v1 driver messages (long/short keys) (+2 more) Nodes (3): sim_rx(), esp_err_to_name(), esp_read_mac()
### Community 246 - "src/main.cpp"
Cohesion: 0.05
Nodes (28): vTaskDelete(), send_msg(), sim_host_restart(), sim_host_tx(), write_all(), in_group(), KeyName, longk (+20 more)
### Community 253 - "dependencies" ### Community 253 - "dependencies"
Cohesion: 0.50 Cohesion: 0.50
@@ -969,17 +961,9 @@ Nodes (3): dependencies, espressif/esp_hosted, espressif/esp_wifi_remote
Cohesion: 0.50 Cohesion: 0.50
Nodes (3): dependencies, espressif/esp_hosted, espressif/esp_wifi_remote Nodes (3): dependencies, espressif/esp_hosted, espressif/esp_wifi_remote
### Community 255 - "websocket.py"
Cohesion: 0.21
Nodes (6): wraps(), print_exception(), websocket_upgrade(), websocket_wrapper(), wrapper(), with_websocket()
### Community 257 - "net.cpp" ### Community 257 - "net.cpp"
Cohesion: 0.11 Cohesion: 0.10
Nodes (25): main(), ctrl_build_announce(), ddp_start(), espnow_link_start(), app_main(), ap_timer_cb(), apply_ap(), apply_client_ip() (+17 more) Nodes (26): ctrl_build_announce(), ap_switch_later(), ap_timer_cb(), apply_ap(), apply_client_ip(), apply_sta_config(), client_allowed(), net_ap_on() (+18 more)
### Community 258 - "microdot.py"
Cohesion: 0.14
Nodes (4): invoke_handler(), mro(), urldecode_bytes(), urldecode_str()
### Community 259 - "events" ### Community 259 - "events"
Cohesion: 0.09 Cohesion: 0.09
@@ -990,36 +974,16 @@ Cohesion: 0.09
Nodes (21): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+13 more) Nodes (21): cached, exitCode, stdout, variable, CMAKE_C_FLAGS, CMAKE_C_FLAGS_DEBUG, CMAKE_CXX_FLAGS, CMAKE_CXX_FLAGS_DEBUG (+13 more)
### Community 261 - "Response" ### Community 261 - "Response"
Cohesion: 0.10 Cohesion: 0.09
Nodes (5): HTTPException, iscoroutine(), Response, aclose(), __anext__() Nodes (6): HTTPException, invoke_handler(), iscoroutine(), Response, aclose(), __anext__()
### Community 262 - "bridge_hosted.c" ### Community 262 - "vTaskDelay"
Cohesion: 0.14 Cohesion: 0.07
Nodes (22): vTaskDelay(), bridge_hosted_send(), bridge_hosted_set_channel(), bridge_hosted_status(), bridge_hosted_udp_start(), build_udp_info(), ctl_send(), ctl_task() (+14 more) Nodes (40): vTaskDelay(), bridge_hosted_send(), bridge_hosted_set_channel(), bridge_hosted_set_rx(), bridge_hosted_status(), bridge_hosted_udp_start(), build_udp_info(), ctl_send() (+32 more)
### Community 263 - "patterns.c" ### Community 263 - "patterns.c"
Cohesion: 0.27 Cohesion: 0.27
Nodes (17): add_name(), all_patterns(), base_name(), builtin(), exists(), file_names(), file_path(), get_pattern() (+9 more) Nodes (18): add_name(), all_patterns(), base_name(), builtin(), create_driver_pattern(), exists(), file_names(), file_path() (+10 more)
### Community 265 - "status_get_handler"
Cohesion: 0.20
Nodes (8): espnow_tx_ap_clients(), espnow_tx_stats(), reset_reason(), status_get_handler(), mic_get_level(), rel_stats(), rel_ver(), status_get_handler()
### Community 266 - "web.c"
Cohesion: 0.40
Nodes (9): audio_page_handler(), etag(), find_file(), index_handler(), mime_for(), send_gz(), static_handler(), web_file() (+1 more)
### Community 268 - "Controller on the Waveshare ESP32-P4-Nano"
Cohesion: 0.29
Nodes (6): Back to the factory demo, Build and flash, Controller on the Waveshare ESP32-P4-Nano, Network, Pins (from the Waveshare wiki and BSP), Using it as a network bridge from the desktop
### Community 269 - "led_strip_rmt_encoder.c"
Cohesion: 0.25
Nodes (5): led_strip_encoder_config_t, rmt_del_led_strip_encoder(), rmt_encode_led_strip(), rmt_led_strip_encoder_reset(), rmt_new_led_strip_encoder()
### Community 270 - "httpd_stop"
Cohesion: 0.22
Nodes (7): httpd_os_thread_sleep(), esp_err_to_name(), esp_event_post(), esp_read_mac(), esp_http_server_dispatch_event(), httpd_stop(), cs_send_to_ctrl_sock()
### Community 271 - "httpd_ws_frame" ### Community 271 - "httpd_ws_frame"
Cohesion: 0.22 Cohesion: 0.22
@@ -1037,43 +1001,31 @@ Nodes (9): flags, F_CHUNKED, F_CONNECTION_CLOSE, F_CONNECTION_KEEP_ALIVE, F_CONN
Cohesion: 0.39 Cohesion: 0.39
Nodes (4): call(), main(), switch(), wifi_state() Nodes (4): call(), main(), switch(), wifi_state()
### Community 284 - "hmac256"
Cohesion: 0.43
Nodes (6): hmac256(), rotr(), sha_block(), sha_final(), sha_init(), sha_update()
### Community 286 - "desktop_main.c" ### Community 286 - "desktop_main.c"
Cohesion: 0.60 Cohesion: 0.60
Nodes (3): main(), set_from_env(), usage() Nodes (3): main(), set_from_env(), usage()
### Community 287 - "httpd_os_thread_create"
Cohesion: 0.40
Nodes (3): httpd_os_thread_create(), httpd_os_thread_handle(), httpd_validate_req_ptr()
### Community 289 - "relay_slot_t"
Cohesion: 0.50
Nodes (3): relay_slot_t, cl, host
### Community 290 - "ws_slot_t" ### Community 290 - "ws_slot_t"
Cohesion: 0.67 Cohesion: 0.67
Nodes (3): ws_slot_t, fd, host Nodes (3): ws_slot_t, fd, host
## Knowledge Gaps ## Knowledge Gaps
- **297 isolated node(s):** `next`, `prev`, `child`, `type`, `valuestring` (+292 more) - **296 isolated node(s):** `next`, `prev`, `child`, `type`, `valuestring` (+291 more)
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 1581 node(s) total have ≤1 connection when file, concept and rationale nodes are included.) These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 1578 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
- **105 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes. - **96 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
## Suggested Questions ## Suggested Questions
_Questions this graph is uniquely positioned to answer:_ _Questions this graph is uniquely positioned to answer:_
- **Why does `cJSON` connect `cJSON` to `cJSON_GetObjectItem`, `cJSON_CreateObject`, `seqplay.c`, `bridge_dmx.c`, `cJSON_IsNumber`, `patterns.c`, `esp_err.h`, `decode_presets`, `httpd_resp_set_status`, `nvs_open`, `httpd_req_t`, `cJSON`, `web.cpp`, `nvs_open`, `auth.c`?** - **Why does `led-controller ESP32-P4-Nano firmware` connect `LED Controller HTTP/JSON API` to `Controller on the Waveshare ESP32-P4-Nano`, `LED controller web UI user guide`, `Bench test: S3 controller and one LED driver`, `led-controller ESP32-S3 firmware`, `bridge_main.c`?**
_High betweenness centrality (0.019) - this node is a cross-community bridge._ _High betweenness centrality (0.019) - this node is a cross-community bridge._
- **Are the 232 inferred relationships involving `cJSON_GetObjectItem()` (e.g. with `list_pulse_sources()` and `apply_default()`) actually correct?** - **Are the 232 inferred relationships involving `cJSON_GetObjectItem()` (e.g. with `list_pulse_sources()` and `apply_default()`) actually correct?**
_`cJSON_GetObjectItem()` has 232 INFERRED edges - model-reasoned connections that need verification._ _`cJSON_GetObjectItem()` has 232 INFERRED edges - model-reasoned connections that need verification._
- **What connects `next`, `prev`, `child` to the rest of the system?** - **What connects `next`, `prev`, `child` to the rest of the system?**
_297 weakly-connected nodes found - possible documentation gaps or missing edges._ _296 weakly-connected nodes found - possible documentation gaps or missing edges._
- **Should `IdfDevice` be split into smaller, more focused modules?** - **Should `IdfDevice` be split into smaller, more focused modules?**
_Cohesion score 0.09747899159663866 - nodes in this community are weakly interconnected._ _Cohesion score 0.09523809523809523 - nodes in this community are weakly interconnected._
- **Why does `led-controller ESP32-S3 firmware` connect `led-controller ESP32-S3 firmware` to `led-controller ESP32-S3 firmware`, `API Docs: Outputs & Audio`, `led-controller on a desktop`, `Bench test: S3 controller and one LED driver`, `Controller on the Waveshare ESP32-P4-Nano`, `v1 driver messages (long/short keys)`?** - **Why does `cJSON` connect `cJSON` to `cJSON_IsString`, `seqplay.c`, `sim_rig.c`, `bridge_dmx.c`, `cJSON_Delete`, `patterns.c`, `esp_err.h`, `run_test`, `cJSON_CreateObject`, `nvs_open`, `cJSON_GetObjectItem`, `cJSON`, `web.cpp`, `nvs_open`, `httpd_req_t`, `auth.c`?**
_High betweenness centrality (0.019) - this node is a cross-community bridge._ _High betweenness centrality (0.019) - this node is a cross-community bridge._
- **Are the 137 inferred relationships involving `cJSON_Delete()` (e.g. with `list_pulse_sources()` and `ctrl_handle()`) actually correct?** - **Are the 137 inferred relationships involving `cJSON_Delete()` (e.g. with `list_pulse_sources()` and `ctrl_handle()`) actually correct?**
_`cJSON_Delete()` has 137 INFERRED edges - model-reasoned connections that need verification._ _`cJSON_Delete()` has 137 INFERRED edges - model-reasoned connections that need verification._
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_sim_controller_readme_md", "label": "README.md", "file_type": "document", "node_kind": "page", "source_file": "sim-controller/README.md", "source_location": "L1"}, {"id": "$graphify-root$_sim_controller_readme_sim_controller", "label": "sim-controller", "file_type": "document", "node_kind": "heading", "source_file": "sim-controller/README.md", "source_location": "L1"}], "edges": [{"source": "$graphify-root$_sim_controller_readme_md", "target": "$graphify-root$_sim_controller_readme_sim_controller", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sim-controller/README.md", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_sim_controller_readme_sim_controller", "callee": "app_main", "is_member_call": false, "language": "markdown", "context": "app_main", "source_file": "sim-controller/README.md", "source_location": "L14"}, {"caller_nid": "$graphify-root$_sim_controller_readme_sim_controller", "callee": "esp_timer", "is_member_call": false, "language": "markdown", "context": "esp_timer", "source_file": "sim-controller/README.md", "source_location": "L15"}, {"caller_nid": "$graphify-root$_sim_controller_readme_sim_controller", "callee": "audio_simulated_bpm", "is_member_call": false, "language": "markdown", "context": "audio_simulated_bpm", "source_file": "sim-controller/README.md", "source_location": "L17"}, {"caller_nid": "$graphify-root$_sim_controller_readme_sim_controller", "callee": "browser", "is_member_call": false, "language": "markdown", "context": "browser", "source_file": "sim-controller/README.md", "source_location": "L18"}, {"caller_nid": "$graphify-root$_sim_controller_readme_sim_controller", "callee": "LED_SIM_DB", "is_member_call": false, "language": "markdown", "context": "LED_SIM_DB", "source_file": "sim-controller/README.md", "source_location": "L19"}, {"caller_nid": "$graphify-root$_sim_controller_readme_sim_controller", "callee": "LED_SIM_HTTP_PORT", "is_member_call": false, "language": "markdown", "context": "LED_SIM_HTTP_PORT", "source_file": "sim-controller/README.md", "source_location": "L20"}, {"caller_nid": "$graphify-root$_sim_controller_readme_sim_controller", "callee": "LED_SIM_BRIDGE", "is_member_call": false, "language": "markdown", "context": "LED_SIM_BRIDGE", "source_file": "sim-controller/README.md", "source_location": "L20"}], "input_tokens": 0, "output_tokens": 0}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_bridge_readme_md", "label": "README.md", "file_type": "document", "node_kind": "page", "source_file": "bridge/README.md", "source_location": "L1"}, {"id": "$graphify-root$_bridge_readme_usb_esp_now_bridge", "label": "USB ESP-NOW bridge", "file_type": "document", "node_kind": "heading", "source_file": "bridge/README.md", "source_location": "L1"}, {"id": "$graphify-root$_bridge_readme_build_and_flash", "label": "Build and flash", "file_type": "document", "node_kind": "heading", "source_file": "bridge/README.md", "source_location": "L16"}, {"id": "$graphify-root$_bridge_readme_running_the_controller_against_it", "label": "Running the controller against it", "file_type": "document", "node_kind": "heading", "source_file": "bridge/README.md", "source_location": "L29"}, {"id": "$graphify-root$_bridge_readme_microphone_s3", "label": "Microphone (S3)", "file_type": "document", "node_kind": "heading", "source_file": "bridge/README.md", "source_location": "L39"}, {"id": "$graphify-root$_bridge_readme_channel", "label": "Channel", "file_type": "document", "node_kind": "heading", "source_file": "bridge/README.md", "source_location": "L47"}, {"id": "$graphify-root$_bridge_readme_protocol", "label": "Protocol", "file_type": "document", "node_kind": "heading", "source_file": "bridge/README.md", "source_location": "L53"}, {"id": "$graphify-root$_bridge_readme_ethernet_w5500", "label": "Ethernet (W5500)", "file_type": "document", "node_kind": "heading", "source_file": "bridge/README.md", "source_location": "L74"}], "edges": [{"source": "$graphify-root$_bridge_readme_md", "target": "$graphify-root$_bridge_readme_usb_esp_now_bridge", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bridge/README.md", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_bridge_readme_md", "target": "$graphify-root$_docs_p4_nano_md", "relation": "references", "confidence": "EXTRACTED", "source_file": "bridge/README.md", "source_location": "L4", "weight": 1.0, "target_file": "$graphify-root$/docs/P4_NANO.md"}, {"source": "$graphify-root$_bridge_readme_usb_esp_now_bridge", "target": "$graphify-root$_bridge_readme_build_and_flash", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bridge/README.md", "source_location": "L16", "weight": 1.0}, {"source": "$graphify-root$_bridge_readme_usb_esp_now_bridge", "target": "$graphify-root$_bridge_readme_running_the_controller_against_it", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bridge/README.md", "source_location": "L29", "weight": 1.0}, {"source": "$graphify-root$_bridge_readme_usb_esp_now_bridge", "target": "$graphify-root$_bridge_readme_microphone_s3", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bridge/README.md", "source_location": "L39", "weight": 1.0}, {"source": "$graphify-root$_bridge_readme_usb_esp_now_bridge", "target": "$graphify-root$_bridge_readme_channel", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bridge/README.md", "source_location": "L47", "weight": 1.0}, {"source": "$graphify-root$_bridge_readme_usb_esp_now_bridge", "target": "$graphify-root$_bridge_readme_protocol", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bridge/README.md", "source_location": "L53", "weight": 1.0}, {"source": "$graphify-root$_bridge_readme_usb_esp_now_bridge", "target": "$graphify-root$_bridge_readme_ethernet_w5500", "relation": "contains", "confidence": "EXTRACTED", "source_file": "bridge/README.md", "source_location": "L74", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_bridge_readme_running_the_controller_against_it", "callee": "bridge_links", "is_member_call": false, "language": "markdown", "context": "bridge_links", "source_file": "bridge/README.md", "source_location": "L36"}, {"caller_nid": "$graphify-root$_bridge_readme_channel", "callee": "bridge_serial_set_channel", "is_member_call": false, "language": "markdown", "context": "bridge_serial_set_channel", "source_file": "bridge/README.md", "source_location": "L51"}, {"caller_nid": "$graphify-root$_bridge_readme_ethernet_w5500", "callee": "ip", "is_member_call": false, "language": "markdown", "context": "ip", "source_file": "bridge/README.md", "source_location": "L82"}], "input_tokens": 0, "output_tokens": 0, "_cached_target_files": ["$graphify-root$/docs/P4_NANO.md"]}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_desktop_readme_md", "label": "README.md", "file_type": "document", "node_kind": "page", "source_file": "desktop/README.md", "source_location": "L1"}, {"id": "$graphify-root$_desktop_readme_led_controller_on_a_desktop", "label": "led-controller on a desktop", "file_type": "document", "node_kind": "heading", "source_file": "desktop/README.md", "source_location": "L1"}, {"id": "$graphify-root$_desktop_readme_build_and_run", "label": "Build and run", "file_type": "document", "node_kind": "heading", "source_file": "desktop/README.md", "source_location": "L8"}, {"id": "$graphify-root$_desktop_readme_install_as_a_service_deb", "label": "Install as a service (.deb)", "file_type": "document", "node_kind": "heading", "source_file": "desktop/README.md", "source_location": "L31"}, {"id": "$graphify-root$_desktop_readme_how_it_is_built", "label": "How it is built", "file_type": "document", "node_kind": "heading", "source_file": "desktop/README.md", "source_location": "L48"}, {"id": "$graphify-root$_desktop_readme_limits", "label": "Limits", "file_type": "document", "node_kind": "heading", "source_file": "desktop/README.md", "source_location": "L67"}], "edges": [{"source": "$graphify-root$_desktop_readme_md", "target": "$graphify-root$_desktop_readme_led_controller_on_a_desktop", "relation": "contains", "confidence": "EXTRACTED", "source_file": "desktop/README.md", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_desktop_readme_led_controller_on_a_desktop", "target": "$graphify-root$_desktop_readme_build_and_run", "relation": "contains", "confidence": "EXTRACTED", "source_file": "desktop/README.md", "source_location": "L8", "weight": 1.0}, {"source": "$graphify-root$_desktop_readme_led_controller_on_a_desktop", "target": "$graphify-root$_desktop_readme_install_as_a_service_deb", "relation": "contains", "confidence": "EXTRACTED", "source_file": "desktop/README.md", "source_location": "L31", "weight": 1.0}, {"source": "$graphify-root$_desktop_readme_led_controller_on_a_desktop", "target": "$graphify-root$_desktop_readme_how_it_is_built", "relation": "contains", "confidence": "EXTRACTED", "source_file": "desktop/README.md", "source_location": "L48", "weight": 1.0}, {"source": "$graphify-root$_desktop_readme_led_controller_on_a_desktop", "target": "$graphify-root$_desktop_readme_limits", "relation": "contains", "confidence": "EXTRACTED", "source_file": "desktop/README.md", "source_location": "L67", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_desktop_readme_build_and_run", "callee": "cmake", "is_member_call": false, "language": "markdown", "context": "cmake", "source_file": "desktop/README.md", "source_location": "L10"}, {"caller_nid": "$graphify-root$_desktop_readme_build_and_run", "callee": "node", "is_member_call": false, "language": "markdown", "context": "node", "source_file": "desktop/README.md", "source_location": "L10"}, {"caller_nid": "$graphify-root$_desktop_readme_build_and_run", "callee": "LED_CONTROLLER_DB", "is_member_call": false, "language": "markdown", "context": "LED_CONTROLLER_DB", "source_file": "desktop/README.md", "source_location": "L26"}, {"caller_nid": "$graphify-root$_desktop_readme_build_and_run", "callee": "LED_CONTROLLER_HTTP_PORT", "is_member_call": false, "language": "markdown", "context": "LED_CONTROLLER_HTTP_PORT", "source_file": "desktop/README.md", "source_location": "L27"}, {"caller_nid": "$graphify-root$_desktop_readme_build_and_run", "callee": "info", "is_member_call": false, "language": "markdown", "context": "info", "source_file": "desktop/README.md", "source_location": "L29"}, {"caller_nid": "$graphify-root$_desktop_readme_install_as_a_service_deb", "callee": "dialout", "is_member_call": false, "language": "markdown", "context": "dialout", "source_file": "desktop/README.md", "source_location": "L43"}, {"caller_nid": "$graphify-root$_desktop_readme_how_it_is_built", "callee": "pack", "is_member_call": false, "language": "markdown", "context": "sim.pack", "source_file": "desktop/README.md", "source_location": "L58", "qualifiers": ["sim"]}, {"caller_nid": "$graphify-root$_desktop_readme_how_it_is_built", "callee": "http_parser", "is_member_call": false, "language": "markdown", "context": "http_parser", "source_file": "desktop/README.md", "source_location": "L63"}, {"caller_nid": "$graphify-root$_desktop_readme_limits", "callee": "browser", "is_member_call": false, "language": "markdown", "context": "browser", "source_file": "desktop/README.md", "source_location": "L69"}], "input_tokens": 0, "output_tokens": 0}
@@ -0,0 +1 @@
{"nodes": [{"id": "$graphify-root$_docs_p4_nano_md", "label": "P4_NANO.md", "file_type": "document", "node_kind": "page", "source_file": "docs/P4_NANO.md", "source_location": "L1"}, {"id": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "label": "Controller on the Waveshare ESP32-P4-Nano", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L1"}, {"id": "$graphify-root$_docs_p4_nano_build_and_flash", "label": "Build and flash", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L28"}, {"id": "$graphify-root$_docs_p4_nano_flash_layout", "label": "Flash layout", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L47"}, {"id": "$graphify-root$_docs_p4_nano_network", "label": "Network", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L58"}, {"id": "$graphify-root$_docs_p4_nano_using_it_as_a_network_bridge_from_the_desktop", "label": "Using it as a network bridge from the desktop", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L67"}, {"id": "$graphify-root$_docs_p4_nano_pins_from_the_waveshare_wiki_and_bsp", "label": "Pins (from the Waveshare wiki and BSP)", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L82"}, {"id": "$graphify-root$_docs_p4_nano_back_to_the_factory_demo", "label": "Back to the factory demo", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L94"}, {"id": "$graphify-root$_docs_p4_nano_simulator", "label": "Simulator", "file_type": "document", "node_kind": "heading", "source_file": "docs/P4_NANO.md", "source_location": "L104"}], "edges": [{"source": "$graphify-root$_docs_p4_nano_md", "target": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "target": "$graphify-root$_docs_p4_nano_build_and_flash", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L28", "weight": 1.0}, {"source": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "target": "$graphify-root$_docs_p4_nano_flash_layout", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L47", "weight": 1.0}, {"source": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "target": "$graphify-root$_docs_p4_nano_network", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L58", "weight": 1.0}, {"source": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "target": "$graphify-root$_docs_p4_nano_using_it_as_a_network_bridge_from_the_desktop", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L67", "weight": 1.0}, {"source": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "target": "$graphify-root$_docs_p4_nano_pins_from_the_waveshare_wiki_and_bsp", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L82", "weight": 1.0}, {"source": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "target": "$graphify-root$_docs_p4_nano_back_to_the_factory_demo", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L94", "weight": 1.0}, {"source": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "target": "$graphify-root$_docs_p4_nano_simulator", "relation": "contains", "confidence": "EXTRACTED", "source_file": "docs/P4_NANO.md", "source_location": "L104", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "callee": "esp_wifi_remote", "is_member_call": false, "language": "markdown", "context": "esp_wifi_remote", "source_file": "docs/P4_NANO.md", "source_location": "L15"}, {"caller_nid": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "callee": "c6", "is_member_call": false, "language": "markdown", "context": "c6", "source_file": "docs/P4_NANO.md", "source_location": "L17"}, {"caller_nid": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "callee": "esp_codec_dev", "is_member_call": false, "language": "markdown", "context": "esp_codec_dev", "source_file": "docs/P4_NANO.md", "source_location": "L21"}, {"caller_nid": "$graphify-root$_docs_p4_nano_controller_on_the_waveshare_esp32_p4_nano", "callee": "browser", "is_member_call": false, "language": "markdown", "context": "brLine truncated
+1 -1
View File
@@ -1 +1 @@
1795508302.3689675 1795511036.9941492
+1 -1
View File
@@ -1 +1 @@
{".claude/CLAUDE.md":{"size":226,"mtime_ns":1793707532996234423,"indexed_at_ns":1793707658543205519,"word_count":29,"hashes":{".claude/CLAUDE.md":"dd502cd6ce0bbff5d4c021e94be6aa49afe1f99dd85901e0201831908630e94b"}},"CLAUDE.md":{"size":1582,"mtime_ns":1794560833170090840,"indexed_at_ns":1794609720117981763,"word_count":247},"CMakeLists.txt":{"size":111,"mtime_ns":1795491368790070568,"indexed_at_ns":1795491805230481418,"word_count":4},"README.md":{"size":3828,"mtime_ns":1795491763647068986,"indexed_at_ns":1795491805231678597,"word_count":528},"db/audio_run.json":{"size":103,"mtime_ns":1792558116811211805,"indexed_at_ns":1793707658868880485,"word_count":10,"hashes":{"db/audio_run.json":"22b6ce7327ac83a083fd0ab93d338685ce8a4bf2eba2122f93dbe7b7b36ffe8d"}},"db/bridges.json":{"size":279,"mtime_ns":1792035647171829311,"indexed_at_ns":1793707658874810261,"word_count":26,"hashes":{"db/bridges.json":"3cacd14c72fe5d4a0d316f8b1189134686de036427c8c97d26827638f5c0a913"}},"db/device.json":{"size":2,"mtime_ns":1793777185742747874,"indexed_at_ns":1793777223754642632,"word_count":1,"hashes":{"db/device.json":"d37387d627ac3f5cd9a139daf3b0490a820f32cc88fdcf09a89f7ed5f2879437"}},"db/group.json":{"size":407,"mtime_ns":1793784073189169768,"indexed_at_ns":1793784223737930610,"word_count":48,"hashes":{"db/group.json":"5ac5e81478218af9a7905607a853f0e58b3b8ed6218fb43406366214d81fdf1f"}},"db/output.json":{"size":2,"mtime_ns":1793777185742792981,"indexed_at_ns":1793777223755186745,"word_count":1,"hashes":{"db/output.json":"41b7170a77edddababaeeacfbfcac81d52aed8cd7ab91326a1b2587168f24fea"}},"db/palette.json":{"size":95,"mtime_ns":1793777185742725183,"indexed_at_ns":1793777223755421480,"word_count":9,"hashes":{"db/palette.json":"51fc59a676fa15de8a94dad96942d2ba1837f08bcfbe5158248a3a26e7b8c867"}},"db/pattern.json":{"size":3990,"mtime_ns":1794852754898578747,"indexed_at_ns":1794852782207946806,"word_count":484,"hashes":{"db/pattern.json":"77bfca27b86c95fc42394ab0a1cc3bd626bb8cbf902086aa9daba6a045715d41"}},"db/preset.json":{"size":1547,"mtime_ns":1794192230145924224,"indexed_at_ns":1794192255641306971,"word_count":2,"hashes":{"db/preset.json":"b787780a60fb5de5ab1ae5e95e28c56209c07e76167bf6f7d54a23098de393f1"}},"db/profile.json":{"size":103,"mtime_ns":1793777185742698915,"indexed_at_ns":1793777223756285988,"word_count":13,"hashes":{"db/profile.json":"0c884cad9c2d30151e71adcf2c73c922accc2adc1ec7e3a5f2557f65348ab16d"}},"db/scene.json":{"size":2,"mtime_ns":1793777185743064106,"indexed_at_ns":1793777223756521395,"word_count":1,"hashes":{"db/scene.json":"3fa068cb49be44a2bca2cc32c266bc67dd33f09a90ca72ff5b7e744f2d6372e4"}},"db/sequence.json":{"size":2,"mtime_ns":1793777185742815256,"indexed_at_ns":1793777223756746197,"word_count":1,"hashes":{"db/sequence.json":"9fe59214947c107acb45669e2f107b00be6b6c6184e12ca597f7fc2b661e341a"}},"db/zone.json":{"size":280,"mtime_ns":1793783703894998088,"indexed_at_ns":1793784223739991976,"word_count":35,"hashes":{"db/zone.json":"cdd502ffa90331dbfa71842351796f0b9317de1d744f644233c2e5537089ff7b"}},"dmx-driver/README.md":{"size":2911,"mtime_ns":1792558116808211795,"indexed_at_ns":1793707658544334791,"word_count":395,"hashes":{"dmx-driver/README.md":"0c5ffe2dffbe102a54487430d3946fadbc65335f06b0f6c79f3c16b82f56ab0b"}},"dmx-driver/dev.py":{"size":2240,"mtime_ns":1792558116805211784,"indexed_at_ns":1793707658877667616,"word_count":194,"hashes":{"dmx-driver/dev.py":"284307111b0bcc67200ad58aa46b1a9f4f909b1f565a4867b3ef4bf4bbaec012"}},"dmx-driver/lib/artnet.py":{"size":10536,"mtime_ns":1792558116801446799,"indexed_at_ns":1793707658877956591,"word_count":1079,"hashes":{"dmx-driver/lib/artnet.py":"3aac26e5fc30ac42944e6c70446b999b5d527d088aa82ff47287f89ae6c1fac5"}},"dmx-driver/lib/dmx.py":{"size":930,"mtime_ns":1792558116819211832,"indexed_at_ns":1793707658878446873,"word_count":106,"hashes":{"dmx-driver/lib/dmx.py":"6c9934df04c6685364a31ddf7efc87d2502ce582d7a8f1c3ddcd42483e99c67e"}},"dmx-driver/lib/microdot/__init__.py":{"size":105,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658878927267,"word_count":13,"hashes":{"dmx-driver/lib/microdot/__init__.py":"ec3f822838066330dbdfa6a24ca7fd3e059ef19aabaccc322e70ef6a7da55aac"}},"dmx-driver/lib/microdot/helpers.py":{"size":232,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879255364,"word_count":26,"hashes":{"dmx-driver/lib/microdot/helpers.py":"6b2e71d9786d2c149801eb943b8b873d07601bf9ae1bf9c413114941b32163c2"}},"dmx-driver/lib/microdot/microdot.py":{"size":53202,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879562246,"word_count":5131,"hashes":{"dmx-driver/lib/microdot/microdot.py":"4402b84a5214da121fad794ab9bcb59a355d4c98647d3a53953cf3bc78291688"}},"dmx-driver/lib/microdot/utemplate.py":{"size":2543,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879958078,"word_count":233,"hashes":{"dmx-driver/lib/microdot/utemplate.py":"d248495f0d973d0a0c0d0121b837e9ffa87735726897ad51c4ba753ffd72a8ad"}},"dmx-driver/lib/microdot/websocket.py":{"size":8188,"mtime_Line truncated {".claude/CLAUDE.md":{"size":226,"mtime_ns":1793707532996234423,"indexed_at_ns":1793707658543205519,"word_count":29,"hashes":{".claude/CLAUDE.md":"dd502cd6ce0bbff5d4c021e94be6aa49afe1f99dd85901e0201831908630e94b"}},"CLAUDE.md":{"size":1582,"mtime_ns":1794560833170090840,"indexed_at_ns":1794609720117981763,"word_count":247},"CMakeLists.txt":{"size":111,"mtime_ns":1795491368790070568,"indexed_at_ns":1795491805230481418,"word_count":4},"README.md":{"size":5634,"mtime_ns":1795510957541437590,"indexed_at_ns":1795510971608969146,"word_count":760},"db/audio_run.json":{"size":103,"mtime_ns":1792558116811211805,"indexed_at_ns":1793707658868880485,"word_count":10,"hashes":{"db/audio_run.json":"22b6ce7327ac83a083fd0ab93d338685ce8a4bf2eba2122f93dbe7b7b36ffe8d"}},"db/bridges.json":{"size":279,"mtime_ns":1792035647171829311,"indexed_at_ns":1793707658874810261,"word_count":26,"hashes":{"db/bridges.json":"3cacd14c72fe5d4a0d316f8b1189134686de036427c8c97d26827638f5c0a913"}},"db/device.json":{"size":2,"mtime_ns":1793777185742747874,"indexed_at_ns":1793777223754642632,"word_count":1,"hashes":{"db/device.json":"d37387d627ac3f5cd9a139daf3b0490a820f32cc88fdcf09a89f7ed5f2879437"}},"db/group.json":{"size":407,"mtime_ns":1793784073189169768,"indexed_at_ns":1793784223737930610,"word_count":48,"hashes":{"db/group.json":"5ac5e81478218af9a7905607a853f0e58b3b8ed6218fb43406366214d81fdf1f"}},"db/output.json":{"size":2,"mtime_ns":1793777185742792981,"indexed_at_ns":1793777223755186745,"word_count":1,"hashes":{"db/output.json":"41b7170a77edddababaeeacfbfcac81d52aed8cd7ab91326a1b2587168f24fea"}},"db/palette.json":{"size":95,"mtime_ns":1793777185742725183,"indexed_at_ns":1793777223755421480,"word_count":9,"hashes":{"db/palette.json":"51fc59a676fa15de8a94dad96942d2ba1837f08bcfbe5158248a3a26e7b8c867"}},"db/pattern.json":{"size":3990,"mtime_ns":1794852754898578747,"indexed_at_ns":1794852782207946806,"word_count":484,"hashes":{"db/pattern.json":"77bfca27b86c95fc42394ab0a1cc3bd626bb8cbf902086aa9daba6a045715d41"}},"db/preset.json":{"size":1547,"mtime_ns":1794192230145924224,"indexed_at_ns":1794192255641306971,"word_count":2,"hashes":{"db/preset.json":"b787780a60fb5de5ab1ae5e95e28c56209c07e76167bf6f7d54a23098de393f1"}},"db/profile.json":{"size":103,"mtime_ns":1793777185742698915,"indexed_at_ns":1793777223756285988,"word_count":13,"hashes":{"db/profile.json":"0c884cad9c2d30151e71adcf2c73c922accc2adc1ec7e3a5f2557f65348ab16d"}},"db/scene.json":{"size":2,"mtime_ns":1793777185743064106,"indexed_at_ns":1793777223756521395,"word_count":1,"hashes":{"db/scene.json":"3fa068cb49be44a2bca2cc32c266bc67dd33f09a90ca72ff5b7e744f2d6372e4"}},"db/sequence.json":{"size":2,"mtime_ns":1793777185742815256,"indexed_at_ns":1793777223756746197,"word_count":1,"hashes":{"db/sequence.json":"9fe59214947c107acb45669e2f107b00be6b6c6184e12ca597f7fc2b661e341a"}},"db/zone.json":{"size":280,"mtime_ns":1793783703894998088,"indexed_at_ns":1793784223739991976,"word_count":35,"hashes":{"db/zone.json":"cdd502ffa90331dbfa71842351796f0b9317de1d744f644233c2e5537089ff7b"}},"dmx-driver/README.md":{"size":2911,"mtime_ns":1792558116808211795,"indexed_at_ns":1793707658544334791,"word_count":395,"hashes":{"dmx-driver/README.md":"0c5ffe2dffbe102a54487430d3946fadbc65335f06b0f6c79f3c16b82f56ab0b"}},"dmx-driver/dev.py":{"size":2240,"mtime_ns":1792558116805211784,"indexed_at_ns":1793707658877667616,"word_count":194,"hashes":{"dmx-driver/dev.py":"284307111b0bcc67200ad58aa46b1a9f4f909b1f565a4867b3ef4bf4bbaec012"}},"dmx-driver/lib/artnet.py":{"size":10536,"mtime_ns":1792558116801446799,"indexed_at_ns":1793707658877956591,"word_count":1079,"hashes":{"dmx-driver/lib/artnet.py":"3aac26e5fc30ac42944e6c70446b999b5d527d088aa82ff47287f89ae6c1fac5"}},"dmx-driver/lib/dmx.py":{"size":930,"mtime_ns":1792558116819211832,"indexed_at_ns":1793707658878446873,"word_count":106,"hashes":{"dmx-driver/lib/dmx.py":"6c9934df04c6685364a31ddf7efc87d2502ce582d7a8f1c3ddcd42483e99c67e"}},"dmx-driver/lib/microdot/__init__.py":{"size":105,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658878927267,"word_count":13,"hashes":{"dmx-driver/lib/microdot/__init__.py":"ec3f822838066330dbdfa6a24ca7fd3e059ef19aabaccc322e70ef6a7da55aac"}},"dmx-driver/lib/microdot/helpers.py":{"size":232,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879255364,"word_count":26,"hashes":{"dmx-driver/lib/microdot/helpers.py":"6b2e71d9786d2c149801eb943b8b873d07601bf9ae1bf9c413114941b32163c2"}},"dmx-driver/lib/microdot/microdot.py":{"size":53202,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879562246,"word_count":5131,"hashes":{"dmx-driver/lib/microdot/microdot.py":"4402b84a5214da121fad794ab9bcb59a355d4c98647d3a53953cf3bc78291688"}},"dmx-driver/lib/microdot/utemplate.py":{"size":2543,"mtime_ns":1790587714329195337,"indexed_at_ns":1793707658879958078,"word_count":233,"hashes":{"dmx-driver/lib/microdot/utemplate.py":"d248495f0d973d0a0c0d0121b837e9ffa87735726897ad51c4ba753ffd72a8ad"}},"dmx-driver/lib/microdot/websocket.py":{"size":8188,"mtime_Line truncated
+5 -5
View File
@@ -94,12 +94,12 @@
</div> </div>
<div id="legend"></div> <div id="legend"></div>
</div> </div>
<div id="stats">293 nodes &middot; 698 edges &middot; 293 communities</div> <div id="stats">276 nodes &middot; 622 edges &middot; 276 communities</div>
</div> </div>
<script> <script>
const RAW_NODES = [{"id": "221", "label": "nvs_open", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 17.0, "font": {"size": 12, "color": "#ffffff"}, "title": "nvs_open", "community": 221, "community_name": "nvs_open", "source_file": "", "file_type": "", "degree": 11, "member_count": 31}, {"id": "241", "label": "decode_presets", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 13.8, "font": {"size": 12, "color": "#ffffff"}, "title": "decode_presets", "community": 241, "community_name": "decode_presets", "source_file": "", "file_type": "", "degree": 9, "member_count": 17}, {"id": "246", "label": "src/main.cpp", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 25.8, "font": {"size": 12, "color": "#ffffff"}, "title": "src/main.cpp", "community": 246, "community_name": "src/main.cpp", "source_file": "", "file_type": "", "degree": 30, "member_count": 70}, {"id": "74", "label": "espnow_link.cpp", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 19.0, "font": {"size": 12, "color": "#ffffff"}, "title": "espnow_link.cpp", "community": 74, "community_name": "espnow_link.cpp", "source_file": "", "file_type": "", "degree": 9, "member_count": 40}, {"id": "41", "label": "WS2812", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 19.9, "font": {"size": 12, "color": "#ffffff"}, "title": "WS2812", "community": 41, "community_name": "WS2812", "source_file": "", "file_type": "", "degree": 6, "member_count": 44}, {"id": "217", "label": "api_call_t", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.4, "font": {"size": 12, "color": "#ffffff"}, "title": "api_call_t", "community": 217, "community_name": "api_call_t", "source_file": "", "file_type": "", "degree": 1, "member_count": 6}, {"id": "5", "label": "cJSON", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 34.8, "font": {"size": 12, "color": "#ffffff"}, "title": "cJSON", "community": 5, "community_name": "cJSON", "source_file": "", "file_type": "", "degree": 20, "member_count": 110}, {"id": "46", "label": "xTaskCreate", "color": {"background": "#B07AA1", "border": "#B07AA1", "highlight": {"background": "#ffffff", "border": "#B07AA1"}}, "size": 22.2, "font": {"size": 12, "color": "#ffffff"}, "title": "xTaskCreate", "community": 46, "community_name": "xTaskCreate", "source_file": "", "file_type": "", "degree": 27, "member_count": 54}, {"id": "277", "label": "flags", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 12.0, "font": {"size": 12, "color": "#ffffff"}, "title": "flags", "community": 277, "community_name": "flags", "source_file": "", "file_type": "", "degree": 1, "member_count": 9}, {"id": "45", "label": "http_parser.h", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 18.1, "font": {"size": 12, "color": "#ffffff"}, "title": "http_parser.h", "community": 45, "community_name": "http_parser.h", "source_file": "", "file_type": "", "degree": 5, "member_count": 36}, {"id": "139", "label": "esp_err.h", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 40.0, "font": {"size": 12, "color": "#ffffff"}, "title": "esp_err.h", "community": 139, "community_name": "esp_err.h", "source_file": "", "file_type": "", "degree": 59, "member_count": 133}, {"id": "33", "label": "httpd_parse.c", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 22.2, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_parse.c", "community": 33, "community_name": "httpd_parse.c", "source_file": "", "file_type": "", "degree": 19, "member_count": 54}, {"id": "57", "label": "httpd_config", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 17.7, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_config", "community": 57, "community_name": "httpd_config", "source_file": "", "file_type": "", "degree": 2, "member_count": 34}, {"id": "201", "label": "httpd_ctrl_data", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 12.0, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_ctrl_data", "community": 201, "community_name": "httpd_ctrl_data", "source_file": "", "file_type": "", "degree": 3, "member_count": 9}, {"id": "72"Line truncated const RAW_NODES = [{"id": "207", "label": "KeyName", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 10.8, "font": {"size": 12, "color": "#ffffff"}, "title": "KeyName", "community": 207, "community_name": "KeyName", "source_file": "", "file_type": "", "degree": 1, "member_count": 4}, {"id": "221", "label": "nvs_open", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 16.1, "font": {"size": 12, "color": "#ffffff"}, "title": "nvs_open", "community": 221, "community_name": "nvs_open", "source_file": "", "file_type": "", "degree": 9, "member_count": 30}, {"id": "241", "label": "cJSON_CreateObject", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 22.8, "font": {"size": 12, "color": "#ffffff"}, "title": "cJSON_CreateObject", "community": 241, "community_name": "cJSON_CreateObject", "source_file": "", "file_type": "", "degree": 26, "member_count": 63}, {"id": "74", "label": "espnow_link.cpp", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 25.8, "font": {"size": 12, "color": "#ffffff"}, "title": "espnow_link.cpp", "community": 74, "community_name": "espnow_link.cpp", "source_file": "", "file_type": "", "degree": 23, "member_count": 78}, {"id": "41", "label": "WS2812", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 15.3, "font": {"size": 12, "color": "#ffffff"}, "title": "WS2812", "community": 41, "community_name": "WS2812", "source_file": "", "file_type": "", "degree": 7, "member_count": 26}, {"id": "217", "label": "api_call_t", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.2, "font": {"size": 12, "color": "#ffffff"}, "title": "api_call_t", "community": 217, "community_name": "api_call_t", "source_file": "", "file_type": "", "degree": 1, "member_count": 6}, {"id": "5", "label": "cJSON", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 30.9, "font": {"size": 12, "color": "#ffffff"}, "title": "cJSON", "community": 5, "community_name": "cJSON", "source_file": "", "file_type": "", "degree": 19, "member_count": 103}, {"id": "14", "label": "freertos.c", "color": {"background": "#59A14F", "border": "#59A14F", "highlight": {"background": "#ffffff", "border": "#59A14F"}}, "size": 22.0, "font": {"size": 12, "color": "#ffffff"}, "title": "freertos.c", "community": 14, "community_name": "freertos.c", "source_file": "", "file_type": "", "degree": 24, "member_count": 59}, {"id": "277", "label": "flags", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 11.8, "font": {"size": 12, "color": "#ffffff"}, "title": "flags", "community": 277, "community_name": "flags", "source_file": "", "file_type": "", "degree": 1, "member_count": 9}, {"id": "45", "label": "http_parser.h", "color": {"background": "#EDC948", "border": "#EDC948", "highlight": {"background": "#ffffff", "border": "#EDC948"}}, "size": 15.5, "font": {"size": 12, "color": "#ffffff"}, "title": "http_parser.h", "community": 45, "community_name": "http_parser.h", "source_file": "", "file_type": "", "degree": 5, "member_count": 27}, {"id": "139", "label": "esp_err.h", "color": {"background": "#BAB0AC", "border": "#BAB0AC", "highlight": {"background": "#ffffff", "border": "#BAB0AC"}}, "size": 40.0, "font": {"size": 12, "color": "#ffffff"}, "title": "esp_err.h", "community": 139, "community_name": "esp_err.h", "source_file": "", "file_type": "", "degree": 54, "member_count": 148}, {"id": "33", "label": "httpd_parse.c", "color": {"background": "#76B7B2", "border": "#76B7B2", "highlight": {"background": "#ffffff", "border": "#76B7B2"}}, "size": 23.4, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_parse.c", "community": 33, "community_name": "httpd_parse.c", "source_file": "", "file_type": "", "degree": 18, "member_count": 66}, {"id": "131", "label": "http_parser_url_fields", "color": {"background": "#F28E2B", "border": "#F28E2B", "highlight": {"background": "#ffffff", "border": "#F28E2B"}}, "size": 11.8, "font": {"size": 12, "color": "#ffffff"}, "title": "http_parser_url_fields", "community": 131, "community_name": "http_parser_url_fields", "source_file": "", "file_type": "", "degree": 1, "member_count": 9}, {"id": "57", "label": "httpd_config", "color": {"background": "#FF9DA7", "border": "#FF9DA7", "highlight": {"background": "#ffffff", "border": "#FF9DA7"}}, "size": 16.9, "font": {"size": 12, "color": "#ffffff"}, "title": "httpd_config", "community": 57, "community_name": "httpd_config", "source_file": "", "file_type": "", "degree": 2, "member_count": 34Line truncated
const RAW_EDGES = [{"from": "221", "to": "5", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "257", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "246", "label": "8 cross-community edges", "title": "8 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "66", "label": "7 cross-community edges", "title": "7 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "99", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "86", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "55", "label": "17 cross-community edges", "title": "17 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "68", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "46", "label": "4 cross-community edges", "title": "4 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "139", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "41", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "246", "label": "11 cross-community edges", "title": "11 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "5", "label": "8 cross-community edges", "title": "8 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "23", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "55", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "86", "label": "5 cross-community edges", "title": "5 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "74", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "68", "label": "12 cross-community edges", "title": "12 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "99", "label": "8 cross-community edges", "title": "8 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "31", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", "to": "100", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", "to": "14", "label": "6 cross-community edges", "title": "6 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", "to": "149", "label": "4 cross-community edges", "title": "4 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", "to": "18", "label": "16 cross-community edges", "title": "16 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", "to": "21", "label": "16 cross-community edges", "title": "16 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "246", Line truncated const RAW_EDGES = [{"from": "207", "to": "139", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "5", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "18", "label": "4 cross-community edges", "title": "4 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "257", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "55", "label": "17 cross-community edges", "title": "17 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "66", "label": "11 cross-community edges", "title": "11 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "241", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "139", "label": "7 cross-community edges", "title": "7 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "74", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "221", "to": "41", "label": "1 cross-community edges", "title": "1 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "139", "label": "13 cross-community edges", "title": "13 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "5", "label": "71 cross-community edges", "title": "71 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "100", "label": "7 cross-community edges", "title": "7 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "14", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "149", "label": "2 cross-community edges", "title": "2 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "18", "label": "3 cross-community edges", "title": "3 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "21", "label": "57 cross-community edges", "title": "57 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "23", "label": "36 cross-community edges", "title": "36 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "86", "label": "153 cross-community edges", "title": "153 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "39", "label": "133 cross-community edges", "title": "133 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "66", "label": "11 cross-community edges", "title": "11 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "257", "label": "9 cross-community edges", "title": "9 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "35", "label": "47 cross-community edges", "title": "47 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "263", "label": "17 cross-community edges", "title": "17 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATED"}, {"from": "241", "to": "32", "label": "38 cross-community edges", "title": "38 cross-community edges [AGGREGATED]", "dashes": true, "width": 1, "color": {"opacity": 0.35}, "confidence": "AGGREGATELine truncated
const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "IdfDevice", "count": 35}, {"cid": 1, "color": "#F28E2B", "label": "htmx Library", "count": 104}, {"cid": 2, "color": "#E15759", "label": "PyboardCommand", "count": 26}, {"cid": 3, "color": "#76B7B2", "label": "Browser Tests &amp; Mockup Images", "count": 70}, {"cid": 4, "color": "#59A14F", "label": "Audio UI (JS)", "count": 59}, {"cid": 5, "color": "#EDC948", "label": "cJSON", "count": 110}, {"cid": 6, "color": "#B07AA1", "label": "controller", "count": 40}, {"cid": 7, "color": "#FF9DA7", "label": "led-tool Device CLI", "count": 68}, {"cid": 8, "color": "#9C755F", "label": "ab", "count": 102}, {"cid": 9, "color": "#BAB0AC", "label": "Compiler", "count": 42}, {"cid": 10, "color": "#4E79A7", "label": "Spec: Pi Animation Engine", "count": 47}, {"cid": 11, "color": "#F28E2B", "label": "seq_timeline.js", "count": 83}, {"cid": 12, "color": "#E15759", "label": "Presets UI (JS)", "count": 47}, {"cid": 13, "color": "#76B7B2", "label": "Zones UI (JS)", "count": 46}, {"cid": 14, "color": "#59A14F", "label": "freertos.c", "count": 84}, {"cid": 15, "color": "#EDC948", "label": "unique", "count": 65}, {"cid": 16, "color": "#B07AA1", "label": "Sequences UI (JS)", "count": 40}, {"cid": 17, "color": "#FF9DA7", "label": "bridge.c", "count": 59}, {"cid": 18, "color": "#9C755F", "label": "bridge_main.c", "count": 58}, {"cid": 19, "color": "#BAB0AC", "label": "led_strip Component Docs", "count": 39}, {"cid": 20, "color": "#4E79A7", "label": "Art-Net Output", "count": 37}, {"cid": 21, "color": "#F28E2B", "label": "web.cpp", "count": 61}, {"cid": 22, "color": "#E15759", "label": "espnow_tx.c", "count": 48}, {"cid": 23, "color": "#76B7B2", "label": "cJSON", "count": 121}, {"cid": 24, "color": "#59A14F", "label": "time", "count": 24}, {"cid": 25, "color": "#EDC948", "label": "Microdot", "count": 31}, {"cid": 26, "color": "#B07AA1", "label": "httpd_handle_t", "count": 28}, {"cid": 27, "color": "#FF9DA7", "label": "NoCaseDict", "count": 19}, {"cid": 28, "color": "#9C755F", "label": "Devices UI (JS)", "count": 41}, {"cid": 29, "color": "#BAB0AC", "label": "binary_envelope.py", "count": 30}, {"cid": 30, "color": "#4E79A7", "label": "Colour Picker Mockups", "count": 29}, {"cid": 31, "color": "#F28E2B", "label": "auth.c", "count": 75}, {"cid": 32, "color": "#E15759", "label": "BridgeSim", "count": 20}, {"cid": 33, "color": "#76B7B2", "label": "httpd_parse.c", "count": 54}, {"cid": 34, "color": "#59A14F", "label": "test_sequences.py", "count": 34}, {"cid": 35, "color": "#EDC948", "label": "seqplay.c", "count": 86}, {"cid": 36, "color": "#B07AA1", "label": "API Docs: Outputs &amp; Audio", "count": 24}, {"cid": 37, "color": "#FF9DA7", "label": "bridge_sim.py", "count": 22}, {"cid": 38, "color": "#9C755F", "label": "driver_ota.py", "count": 24}, {"cid": 39, "color": "#BAB0AC", "label": "cJSON_IsNumber", "count": 35}, {"cid": 40, "color": "#4E79A7", "label": "xSemaphoreGive", "count": 92}, {"cid": 41, "color": "#F28E2B", "label": "WS2812", "count": 44}, {"cid": 42, "color": "#E15759", "label": "run_all", "count": 21}, {"cid": 43, "color": "#76B7B2", "label": "create_app", "count": 24}, {"cid": 44, "color": "#59A14F", "label": "events", "count": 22}, {"cid": 45, "color": "#EDC948", "label": "http_parser.h", "count": 36}, {"cid": 46, "color": "#B07AA1", "label": "xTaskCreate", "count": 54}, {"cid": 47, "color": "#FF9DA7", "label": "argparse", "count": 33}, {"cid": 48, "color": "#9C755F", "label": "Colour Picker JS", "count": 23}, {"cid": 49, "color": "#BAB0AC", "label": "Chromium Colour Picker JS", "count": 23}, {"cid": 50, "color": "#4E79A7", "label": "steps", "count": 20}, {"cid": 51, "color": "#F28E2B", "label": "API Tests: Devices", "count": 27}, {"cid": 52, "color": "#E15759", "label": "beat.c", "count": 19}, {"cid": 53, "color": "#76B7B2", "label": "mpremote Transport", "count": 22}, {"cid": 54, "color": "#59A14F", "label": "mcu_host/main/main.c", "count": 60}, {"cid": 55, "color": "#EDC948", "label": "nvs_open", "count": 24}, {"cid": 56, "color": "#B07AA1", "label": "test_outputs.py", "count": 10}, {"cid": 57, "color": "#FF9DA7", "label": "httpd_config", "count": 34}, {"cid": 58, "color": "#9C755F", "label": "gallery.js", "count": 32}, {"cid": 59, "color": "#BAB0AC", "label": "mic_alsa.c", "count": 25}, {"cid": 60, "color": "#4E79A7", "label": "test_sim_net.py", "count": 31}, {"cid": 61, "color": "#F28E2B", "label": "API Test Fixtures &amp; Audio", "count": 15}, {"cid": 62, "color": "#E15759", "label": "sock_db", "count": 22}, {"cid": 63, "color": "#76B7B2", "label": "Help: Zones &amp; Palette", "count": 20}, {"cid": 64, "color": "#59A14F", "label": "ddp_test.py", "count": 41}, {"cid": 65, "color": "#EDC948", "label": "sys", "count": 32}, {"cid": 66, "color": "#B07AA1", "label": "presets.cpp", "count": 25}, {"cid": 67, "color": "#FF9DA7", "label": "auth.js", "count": 42}, {"cid": 68, "color": "#9C755F", "label": "cJSON_CreateObject", "count": 94}, {"cid": 69, "color": "#BAB0AC", "Line truncated const LEGEND = [{"cid": 0, "color": "#4E79A7", "label": "IdfDevice", "count": 36}, {"cid": 1, "color": "#F28E2B", "label": "htmx Library", "count": 104}, {"cid": 2, "color": "#E15759", "label": "PyboardCommand", "count": 26}, {"cid": 3, "color": "#76B7B2", "label": "BrowserTest", "count": 27}, {"cid": 4, "color": "#59A14F", "label": "Audio UI (JS)", "count": 59}, {"cid": 5, "color": "#EDC948", "label": "cJSON", "count": 103}, {"cid": 6, "color": "#B07AA1", "label": "controller", "count": 40}, {"cid": 7, "color": "#FF9DA7", "label": "led-tool Device CLI", "count": 67}, {"cid": 8, "color": "#9C755F", "label": "ab", "count": 102}, {"cid": 9, "color": "#BAB0AC", "label": "Compiler", "count": 42}, {"cid": 10, "color": "#4E79A7", "label": "Spec: Pi Animation Engine", "count": 47}, {"cid": 11, "color": "#F28E2B", "label": "seq_timeline.js", "count": 83}, {"cid": 12, "color": "#E15759", "label": "Presets UI (JS)", "count": 47}, {"cid": 13, "color": "#76B7B2", "label": "Zones UI (JS)", "count": 46}, {"cid": 14, "color": "#59A14F", "label": "freertos.c", "count": 59}, {"cid": 15, "color": "#EDC948", "label": "unique", "count": 74}, {"cid": 16, "color": "#B07AA1", "label": "Sequences UI (JS)", "count": 40}, {"cid": 17, "color": "#FF9DA7", "label": "bridge_serial.c", "count": 29}, {"cid": 18, "color": "#9C755F", "label": "bridge_main.c", "count": 94}, {"cid": 19, "color": "#BAB0AC", "label": "led_strip Component Docs", "count": 39}, {"cid": 20, "color": "#4E79A7", "label": "Art-Net Output", "count": 36}, {"cid": 21, "color": "#F28E2B", "label": "web.cpp", "count": 65}, {"cid": 22, "color": "#E15759", "label": "espnow_tx.c", "count": 44}, {"cid": 23, "color": "#76B7B2", "label": "cJSON", "count": 70}, {"cid": 24, "color": "#59A14F", "label": "time", "count": 23}, {"cid": 25, "color": "#EDC948", "label": "Microdot", "count": 47}, {"cid": 26, "color": "#B07AA1", "label": "httpd_handle_t", "count": 37}, {"cid": 27, "color": "#FF9DA7", "label": "NoCaseDict", "count": 35}, {"cid": 28, "color": "#9C755F", "label": "Devices UI (JS)", "count": 41}, {"cid": 29, "color": "#BAB0AC", "label": "binary_envelope.py", "count": 30}, {"cid": 30, "color": "#4E79A7", "label": "Colour Picker Mockups", "count": 29}, {"cid": 31, "color": "#F28E2B", "label": "auth.c", "count": 62}, {"cid": 32, "color": "#E15759", "label": "cJSON_IsString", "count": 42}, {"cid": 33, "color": "#76B7B2", "label": "httpd_parse.c", "count": 66}, {"cid": 34, "color": "#59A14F", "label": "test_sequences.py", "count": 34}, {"cid": 35, "color": "#EDC948", "label": "seqplay.c", "count": 112}, {"cid": 36, "color": "#B07AA1", "label": "API Docs: Outputs &amp; Audio", "count": 15}, {"cid": 37, "color": "#FF9DA7", "label": "ws2812.cpp", "count": 18}, {"cid": 38, "color": "#9C755F", "label": "driver_ota.py", "count": 24}, {"cid": 39, "color": "#BAB0AC", "label": "cJSON_Delete", "count": 101}, {"cid": 40, "color": "#4E79A7", "label": "xSemaphoreGive", "count": 112}, {"cid": 41, "color": "#F28E2B", "label": "WS2812", "count": 26}, {"cid": 42, "color": "#E15759", "label": "run_all", "count": 21}, {"cid": 43, "color": "#76B7B2", "label": "generate_images.py", "count": 17}, {"cid": 44, "color": "#59A14F", "label": "events", "count": 22}, {"cid": 45, "color": "#EDC948", "label": "http_parser.h", "count": 27}, {"cid": 46, "color": "#B07AA1", "label": "bridge_eth.c", "count": 37}, {"cid": 47, "color": "#FF9DA7", "label": "argparse", "count": 33}, {"cid": 48, "color": "#9C755F", "label": "Colour Picker JS", "count": 23}, {"cid": 49, "color": "#BAB0AC", "label": "Chromium Colour Picker JS", "count": 23}, {"cid": 50, "color": "#4E79A7", "label": "steps", "count": 20}, {"cid": 51, "color": "#F28E2B", "label": "API Tests: Devices", "count": 27}, {"cid": 52, "color": "#E15759", "label": "sim_stubs.c", "count": 14}, {"cid": 53, "color": "#76B7B2", "label": "mpremote Transport", "count": 22}, {"cid": 54, "color": "#59A14F", "label": "mcu_host/main/main.c", "count": 60}, {"cid": 55, "color": "#EDC948", "label": "nvs_open", "count": 22}, {"cid": 56, "color": "#B07AA1", "label": "test_outputs.py", "count": 10}, {"cid": 57, "color": "#FF9DA7", "label": "httpd_config", "count": 34}, {"cid": 58, "color": "#9C755F", "label": "gallery.js", "count": 32}, {"cid": 59, "color": "#BAB0AC", "label": "mic_alsa.c", "count": 52}, {"cid": 60, "color": "#4E79A7", "label": "test_sim_net.py", "count": 31}, {"cid": 61, "color": "#F28E2B", "label": "API Test Fixtures &amp; Audio", "count": 15}, {"cid": 62, "color": "#E15759", "label": "sock_db", "count": 38}, {"cid": 63, "color": "#76B7B2", "label": "Help: Zones &amp; Palette", "count": 28}, {"cid": 64, "color": "#59A14F", "label": "ddp_test.py", "count": 41}, {"cid": 65, "color": "#EDC948", "label": "sys", "count": 53}, {"cid": 66, "color": "#B07AA1", "label": "presets.cpp", "count": 32}, {"cid": 67, "color": "#FF9DA7", "label": "auth.js", "count": 42}, {"cid": 68, "color": "#9C755F", "label": "sim_rig.c", "count": 39}, {"cid": 69, "color": "#BAB0AC", "label": Line truncated
// HTML-escape helper — prevents XSS when injecting graph data into innerHTML // HTML-escape helper — prevents XSS when injecting graph data into innerHTML
function esc(s) { function esc(s) {
@@ -407,7 +407,7 @@ LEGEND.forEach(c => {
</script> </script>
<script> <script>
// Render hyperedges as shaded regions // Render hyperedges as shaded regions
const hyperedges = [{"id": "docs_help_edit_mode_management", "label": "Edit-mode-only management features", "nodes": ["145", "63"]}, {"id": "docs_mockups_device_modal_flow", "label": "Device/Group Modal Flow", "nodes": ["180", "30"]}, {"id": "espnow_driver_delivery_layers", "label": "ESP-NOW driver delivery layers", "nodes": ["242", "75"]}, {"id": "v1_message_pipeline", "label": "v1 message handling on driver", "nodes": ["109", "105"]}]; const hyperedges = [{"id": "brightness_combination", "label": "Combined brightness factors", "nodes": ["36", "169"]}, {"id": "docs_help_edit_mode_management", "label": "Edit-mode-only management features", "nodes": ["145", "63"]}, {"id": "docs_mockups_device_modal_flow", "label": "Device/Group Modal Flow", "nodes": ["180", "30"]}, {"id": "espnow_driver_delivery_layers", "label": "ESP-NOW driver delivery layers", "nodes": ["36", "75"]}, {"id": "v1_message_pipeline", "label": "v1 message handling on driver", "nodes": ["109", "105"]}];
// afterDrawing passes ctx already transformed to network coordinate space. // afterDrawing passes ctx already transformed to network coordinate space.
// Draw node positions raw — no manual pan/zoom/DPR math needed. // Draw node positions raw — no manual pan/zoom/DPR math needed.
+1 -1
View File
@@ -1 +1 @@
{"directed":false,"multigraph":false,"graph":{"hyperedges":[{"id":"audio_page_endpoints","label":"Audio page live endpoints","nodes":["web_audio_status","web_audio_beats","web_audio_audio_wav","web_audio_time","web_audio_tap_ep"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"web/audio.html"},{"id":"beat_latency_measurement","label":"Beat latency measurement methods","nodes":["docs_api_bench_endpoints","docs_bench_test_usb_latency","docs_bench_test_logic_analyzer","docs_bench_test_beat_lead"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/BENCH_TEST.md"},{"id":"brightness_combination","label":"Combined brightness factors","nodes":["docs_api_combined_brightness","docs_api_settings","docs_api_groups","docs_api_devices","docs_api_zones"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/API.md"},{"id":"color_picker_feature_set","label":"Color picker feature set","nodes":["docs_mockups_images_color_picker_demo_hsb_color_model","docs_mockups_images_color_picker_demo_hex_rgb_input","docs_mockups_images_color_picker_demo_keyboard_accessibility","docs_mockups_images_color_picker_demo_cross_platform_consistency"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/color-picker-demo.png"},{"id":"docs_help_edit_mode_management","label":"Edit-mode-only management features","nodes":["docs_help_edit_mode","docs_help_zones_modal","docs_help_send_presets","docs_help_patterns_dialog","docs_help_colour_palette","docs_help_presets_list"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_help_preset_editor_actions","label":"Preset editor actions (Try, Default, Save & Send, Remove from zone)","nodes":["docs_help_try_action","docs_help_default_preset","docs_help_save_and_send","docs_help_remove_from_zone"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_images_help_mobile_menu_header_actions","label":"Header actions aggregated in mobile Menu","nodes":["docs_images_help_mobile_menu_run_mode","docs_images_help_mobile_menu_profiles","docs_images_help_mobile_menu_tabs","docs_images_help_mobile_menu_presets","docs_images_help_mobile_menu_help"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/images/help/mobile-menu.svg"},{"id":"docs_mockups_device_modal_flow","label":"Device/Group Modal Flow","nodes":["docs_mockups_device_management_showadddevicemodal","docs_mockups_device_management_showaddgroupmodal","docs_mockups_device_management_closemodal","docs_mockups_device_management_savedevice"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/device-management.html"},{"id":"docs_mockups_images_index_ui_mockup_set","label":"LED Driver UI Mockup Set","nodes":["docs_mockups_images_index_dashboard_mockup","docs_mockups_images_index_pattern_selector_mockup","docs_mockups_images_index_device_management_mockup","docs_mockups_images_index_settings_mockup","docs_mockups_images_index_presets_mockup"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/index.png"},{"id":"docs_mockups_images_pattern_selector_led_patterns","label":"Selectable LED Patterns","nodes":["docs_mockups_images_pattern_selector_on","docs_mockups_images_pattern_selector_off","docs_mockups_images_pattern_selector_blink","docs_mockups_images_pattern_selector_chase","docs_mockups_images_pattern_selector_circle","docs_mockups_images_pattern_selector_pulse","docs_mockups_images_pattern_selector_rainbow","docs_mockups_images_pattern_selector_transition"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/pattern-selector.png"},{"id":"docs_mockups_preset_schema","label":"Preset/pattern configuration schema (pattern, colors, delay, step increment, N1-N8)","nodes":["docs_mockups_presets_led_patterns","docs_mockups_presets_delay","docs_mockups_presets_step_increment","docs_mockups_presets_n_parameters","docs_mockups_presets_step_offset"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/presets.html"},{"id":"docs_mockups_settings_sections","label":"Device settings sections","nodes":["docs_mockups_settings_basic_settings","docs_mockups_settings_pattern_settings","docs_mockups_settings_advanced_settings","docs_mockups_settings_network_settings"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/settings.html"},{"id":"docs_mockups_ui_mockup_suite","label":"LED Driver UI Mockup Suite","nodes":["docs_mockups_index","docs_mockups_dashboard","docs_mockups_pattern_selector","docs_mockups_device_management","docs_mockups_readme_settings_mockup","docs_mockups_color_picker_readme_presets_mockup"],"relation":"foLine truncated {"directed":false,"multigraph":false,"graph":{"hyperedges":[{"id":"audio_page_endpoints","label":"Audio page live endpoints","nodes":["web_audio_status","web_audio_beats","web_audio_audio_wav","web_audio_time","web_audio_tap_ep"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"web/audio.html"},{"id":"beat_latency_measurement","label":"Beat latency measurement methods","nodes":["docs_api_bench_endpoints","docs_bench_test_usb_latency","docs_bench_test_logic_analyzer","docs_bench_test_beat_lead"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/BENCH_TEST.md"},{"id":"brightness_combination","label":"Combined brightness factors","nodes":["docs_api_combined_brightness","docs_api_settings","docs_api_groups","docs_api_devices","docs_api_zones"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/API.md"},{"id":"color_picker_feature_set","label":"Color picker feature set","nodes":["docs_mockups_images_color_picker_demo_hsb_color_model","docs_mockups_images_color_picker_demo_hex_rgb_input","docs_mockups_images_color_picker_demo_keyboard_accessibility","docs_mockups_images_color_picker_demo_cross_platform_consistency"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/color-picker-demo.png"},{"id":"docs_help_edit_mode_management","label":"Edit-mode-only management features","nodes":["docs_help_edit_mode","docs_help_zones_modal","docs_help_send_presets","docs_help_patterns_dialog","docs_help_colour_palette","docs_help_presets_list"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_help_preset_editor_actions","label":"Preset editor actions (Try, Default, Save & Send, Remove from zone)","nodes":["docs_help_try_action","docs_help_default_preset","docs_help_save_and_send","docs_help_remove_from_zone"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/help.pdf"},{"id":"docs_images_help_mobile_menu_header_actions","label":"Header actions aggregated in mobile Menu","nodes":["docs_images_help_mobile_menu_run_mode","docs_images_help_mobile_menu_profiles","docs_images_help_mobile_menu_tabs","docs_images_help_mobile_menu_presets","docs_images_help_mobile_menu_help"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/images/help/mobile-menu.svg"},{"id":"docs_mockups_device_modal_flow","label":"Device/Group Modal Flow","nodes":["docs_mockups_device_management_showadddevicemodal","docs_mockups_device_management_showaddgroupmodal","docs_mockups_device_management_closemodal","docs_mockups_device_management_savedevice"],"relation":"participate_in","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/device-management.html"},{"id":"docs_mockups_images_index_ui_mockup_set","label":"LED Driver UI Mockup Set","nodes":["docs_mockups_images_index_dashboard_mockup","docs_mockups_images_index_pattern_selector_mockup","docs_mockups_images_index_device_management_mockup","docs_mockups_images_index_settings_mockup","docs_mockups_images_index_presets_mockup"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/index.png"},{"id":"docs_mockups_images_pattern_selector_led_patterns","label":"Selectable LED Patterns","nodes":["docs_mockups_images_pattern_selector_on","docs_mockups_images_pattern_selector_off","docs_mockups_images_pattern_selector_blink","docs_mockups_images_pattern_selector_chase","docs_mockups_images_pattern_selector_circle","docs_mockups_images_pattern_selector_pulse","docs_mockups_images_pattern_selector_rainbow","docs_mockups_images_pattern_selector_transition"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/images/pattern-selector.png"},{"id":"docs_mockups_preset_schema","label":"Preset/pattern configuration schema (pattern, colors, delay, step increment, N1-N8)","nodes":["docs_mockups_presets_led_patterns","docs_mockups_presets_delay","docs_mockups_presets_step_increment","docs_mockups_presets_n_parameters","docs_mockups_presets_step_offset"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/presets.html"},{"id":"docs_mockups_settings_sections","label":"Device settings sections","nodes":["docs_mockups_settings_basic_settings","docs_mockups_settings_pattern_settings","docs_mockups_settings_advanced_settings","docs_mockups_settings_network_settings"],"relation":"form","confidence":"EXTRACTED","confidence_score":1.0,"source_file":"docs/mockups/settings.html"},{"id":"docs_mockups_ui_mockup_suite","label":"LED Driver UI Mockup Suite","nodes":["docs_mockups_index","docs_mockups_dashboard","docs_mockups_pattern_selector","docs_mockups_device_management","docs_mockups_readme_settings_mockup","docs_mockups_color_picker_readme_presets_mockup"],"relation":"foLine truncated
+53 -35
View File
@@ -1026,9 +1026,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"README.md": { "README.md": {
"mtime": 1795491763.647069, "mtime": 1795510957.5414376,
"seen": 1795491814.970878, "seen": 1795510986.2356339,
"ast_hash": "675bc2ba1fad31872f81722c1c13bacc", "ast_hash": "1ccd8629118f8600634f782fd1bfcdef",
"semantic_hash": "" "semantic_hash": ""
}, },
"dmx-driver/README.md": { "dmx-driver/README.md": {
@@ -1038,27 +1038,27 @@
"semantic_hash": "119936b48480fc8fd781b1a00eea6268" "semantic_hash": "119936b48480fc8fd781b1a00eea6268"
}, },
"docs/API.md": { "docs/API.md": {
"mtime": 1795143003.6935625, "mtime": 1795510756.709885,
"seen": 1795143072.6420221, "seen": 1795510986.2358174,
"ast_hash": "46785edf71d73bc28e2f86bf74381bba", "ast_hash": "007a980057530e37c1d2642a756037a6",
"semantic_hash": "" "semantic_hash": ""
}, },
"docs/BENCH_TEST.md": { "docs/BENCH_TEST.md": {
"mtime": 1794391490.7550883, "mtime": 1795510756.7122715,
"seen": 1794394826.0931482, "seen": 1795510986.2358196,
"ast_hash": "e6b4fbe38636577e45e47e54cc61f6fa", "ast_hash": "c63133bb6488dedb5be62542eeeaf2ca",
"semantic_hash": "" "semantic_hash": ""
}, },
"docs/SPECIFICATION.md": { "docs/SPECIFICATION.md": {
"mtime": 1793604965.2290945, "mtime": 1795510756.7127538,
"seen": 1793707995.1511066, "seen": 1795510986.2358234,
"ast_hash": "18bd94e8bf045ccee9841b3d1e4cc48c", "ast_hash": "b69770dd958bf8dd5353aaf627a9f08d",
"semantic_hash": "18bd94e8bf045ccee9841b3d1e4cc48c" "semantic_hash": ""
}, },
"docs/help.md": { "docs/help.md": {
"mtime": 1794907715.2042778, "mtime": 1795510756.7102916,
"seen": 1794908131.1550112, "seen": 1795510986.2358248,
"ast_hash": "9b59628957b50d9eacf47c354f809ecc", "ast_hash": "f7ef20474cf3757ad1543fe028d8a6d1",
"semantic_hash": "" "semantic_hash": ""
}, },
"docs/mockups/COLOR_PICKER_README.md": { "docs/mockups/COLOR_PICKER_README.md": {
@@ -1152,9 +1152,9 @@
"semantic_hash": "a22100f153914e6634f0ccc029e55112" "semantic_hash": "a22100f153914e6634f0ccc029e55112"
}, },
"led-simulator/README.md": { "led-simulator/README.md": {
"mtime": 1794892340.3417401, "mtime": 1795510756.7114048,
"seen": 1794892352.3478699, "seen": 1795510986.2386189,
"ast_hash": "6c38c68132c3204dcfc1bcf76d77973e", "ast_hash": "9450eb8884e4eabc419e80726d081bc6",
"semantic_hash": "" "semantic_hash": ""
}, },
"led-tool/README.md": { "led-tool/README.md": {
@@ -1242,10 +1242,10 @@
"semantic_hash": "4fb798183a5b6b8dfad42bbaa519c6e1" "semantic_hash": "4fb798183a5b6b8dfad42bbaa519c6e1"
}, },
"test/api/README.md": { "test/api/README.md": {
"mtime": 1793691714.9029741, "mtime": 1795510756.7118764,
"seen": 1793707995.151135, "seen": 1795510986.2402225,
"ast_hash": "3286ebfc47b050f9e202d80083a632a1", "ast_hash": "9f68c89a0e733166a3a38218f4197f2c",
"semantic_hash": "3286ebfc47b050f9e202d80083a632a1" "semantic_hash": ""
}, },
"web/audio.html": { "web/audio.html": {
"mtime": 1793622279.1001084, "mtime": 1793622279.1001084,
@@ -1560,9 +1560,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/README.md": { "sim-controller/README.md": {
"mtime": 1794273430.7510035, "mtime": 1795510756.7115562,
"seen": 1794273476.566736, "seen": 1795510986.2401474,
"ast_hash": "ee5427b4014fadfd3e7bf12bddd39e31", "ast_hash": "bcaa94a9c50a3bc2872dfc969438e6c1",
"semantic_hash": "" "semantic_hash": ""
}, },
"sim-controller/components/sim/CMakeLists.txt": { "sim-controller/components/sim/CMakeLists.txt": {
@@ -1908,9 +1908,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"bridge/README.md": { "bridge/README.md": {
"mtime": 1794736618.248672, "mtime": 1795510756.7108748,
"seen": 1794736624.2835445, "seen": 1795510986.235672,
"ast_hash": "a098aebe58375adf6c0a80abc2d1678b", "ast_hash": "4be21f2aeb0760a578bcd5f9adc18cce",
"semantic_hash": "" "semantic_hash": ""
}, },
"bridge/main/CMakeLists.txt": { "bridge/main/CMakeLists.txt": {
@@ -2202,9 +2202,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"desktop/README.md": { "desktop/README.md": {
"mtime": 1794783160.3829637, "mtime": 1795510969.9038398,
"seen": 1794783239.9568346, "seen": 1795510986.2357416,
"ast_hash": "b7c5faa1485d7609be3eb34c8340abfc", "ast_hash": "df62c27eb1950fc09e925973725ef2a3",
"semantic_hash": "" "semantic_hash": ""
}, },
"desktop/third_party/http_parser/LICENSE.txt": { "desktop/third_party/http_parser/LICENSE.txt": {
@@ -3696,9 +3696,9 @@
"semantic_hash": "" "semantic_hash": ""
}, },
"docs/P4_NANO.md": { "docs/P4_NANO.md": {
"mtime": 1795491763.646949, "mtime": 1795510756.709074,
"seen": 1795491814.9711444, "seen": 1795510986.2358212,
"ast_hash": "ad769c97ad56e7341c4795bcb7975605", "ast_hash": "ab5d161ba5f84c94bb02ef83577e0b03",
"semantic_hash": "" "semantic_hash": ""
}, },
"led-driver/build-d61/CMakeCache.txt": { "led-driver/build-d61/CMakeCache.txt": {
@@ -3766,5 +3766,23 @@
"seen": 1795483469.542502, "seen": 1795483469.542502,
"ast_hash": "24d4d2db512d6f8cd76dd4b8c524aed1", "ast_hash": "24d4d2db512d6f8cd76dd4b8c524aed1",
"semantic_hash": "" "semantic_hash": ""
},
"docs/images/screenshots/gallery.png": {
"mtime": 1795510957.520466,
"seen": 1795510986.2406073,
"ast_hash": "d36aafa3d4f6dbaf0c7030868a94f6d9",
"semantic_hash": ""
},
"docs/images/screenshots/sequence.png": {
"mtime": 1795510957.208469,
"seen": 1795510986.24061,
"ast_hash": "9b3000792e6b7d90167c008c32d42d9f",
"semantic_hash": ""
},
"docs/images/screenshots/simulator.png": {
"mtime": 1795510956.8114724,
"seen": 1795510986.2406118,
"ast_hash": "8e6c048fbfef596001a8915cfd79bc15",
"semantic_hash": ""
} }
} }
+13 -7
View File
@@ -1,7 +1,7 @@
# led-simulator # led-simulator
A whole LED rig in the browser, served by **led-controller itself**. The host build of the controller A whole LED rig in the browser, served by **led-controller itself**. The controller on the ESP32-P4-Nano, the desktop
(`sim-controller`, and the desktop build) serves the rig at **`/sim/`**: program and the `sim-controller` build all serve the rig at **`/sim/`**:
- Every LED bar is its own led-driver: the real **C++ firmware** (`led-driver/main`) built to **WebAssembly** - Every LED bar is its own led-driver: the real **C++ firmware** (`led-driver/main`) built to **WebAssembly**
(`../sim-driver/`), one module worker per bar. The worker runs what the board's pattern task and ESP-NOW link task (`../sim-driver/`), one module worker per bar. The worker runs what the board's pattern task and ESP-NOW link task
@@ -36,6 +36,11 @@ their places from the room. Only one tab runs the rig: opening it in a second ta
Settings > Network > Bridges or with the page's *Add the browser bridge* button. `make sim-web` starts the host build Settings > Network > Bridges or with the page's *Add the browser bridge* button. `make sim-web` starts the host build
with `LED_SIM_BRIDGE=browser`. With no bridge configured, `browser` is the default. with `LED_SIM_BRIDGE=browser`. With no bridge configured, `browser` is the default.
On the **ESP32-P4-Nano** the rig is part of the firmware (`make sim-wasm`, then `make build`) at
`http://192.168.50.20/sim/`. The `browser` bridge is always on there, next to the real radio, so a preset plays on the
real drivers and the simulated bars together. Frames addressed to simulated bars (MACs starting `02:51:4d`) are not sent
over the air.
## Rooms ## Rooms
The spatial config follows the stage maps of the qlcplus simulator: one file per room, a size in metres, The spatial config follows the stage maps of the qlcplus simulator: one file per room, a size in metres,
@@ -67,7 +72,8 @@ strip types in `definitions`, and `fixtures` keyed by id, each placed by positio
- The first run makes the `default` room: 16 bars × 119 LEDs in 2 columns × 8 rows, pixel 0 at the centre line, - The first run makes the `default` room: 16 bars × 119 LEDs in 2 columns × 8 rows, pixel 0 at the centre line,
`sim-01` … `sim-16` = `02:51:4d:00:00:01` … `…:10`. The rig's bridge is `02:51:4d:00:00:00`. `sim-01` … `sim-16` = `02:51:4d:00:00:01` … `…:10`. The rig's bridge is `02:51:4d:00:00:00`.
Everything is kept in the controller's store folder (`LED_SIM_DB`; `sim-controller/data` for `make sim-web`): Everything is kept in the controller's store folder (`LED_SIM_DB`; `sim-controller/data` for `make sim-web`; `/db` on the
board):
| | | | | |
| --- | --- | | --- | --- |
@@ -145,17 +151,17 @@ On the page, in Edit mode:
## How it fits together ## How it fits together
``` ```
led-controller (host build) ──"browser" bridge──▶ WS /sim/ws ──▶ page ──postMessage──▶ driver worker × N led-controller ──"browser" bridge──▶ WS /sim/ws ──▶ page ──postMessage──▶ driver worker × N
rel, beats, sequences ◀── src_mac+pkt ───── ◀── tx, px, flash ── (led_driver.wasm: rel, beats, sequences ◀── src_mac+pkt ── ◀── tx, px, flash ── (led_driver.wasm:
/sim/ page + rooms (sim_rig.c) sim_tick: link + patterns) /sim/ page + rooms (sim_rig.c) sim_tick: link + patterns)
``` ```
| Where | What | | Where | What |
| --- | --- | | --- | --- |
| `sim-controller/components/sim/sim_rig.c` | serves the page and the wasm from `www_dist/sim.pack`, the page's WebSocket, rooms and flash | | `sim-controller/components/sim/sim_rig.c` | serves the page and the wasm from `www_dist/sim.pack`, the page's WebSocket, rooms and flash. Also compiled into the board's firmware (`main/CMakeLists.txt`) |
| `sim-controller/components/sim/sim_net.c` | receives Art-Net and DDP for the network fixtures and passes them to the page | | `sim-controller/components/sim/sim_net.c` | receives Art-Net and DDP for the network fixtures and passes them to the page |
| `main/bridge.c` | the `browser` bridge kind next to UDP and serial | | `main/bridge.c` | the `browser` bridge kind next to UDP and serial |
| `tools/build_sim_web.sh` | packs `web/` and `web/wasm/` into `www_dist/sim.pack`. It is empty when the drivers are not built, so `make desktop` works without Emscripten. | | `tools/build_sim_web.sh` | packs `web/` and `web/wasm/` into `www_dist/sim.pack`. It is empty when the drivers are not built, so `make build` and `make desktop` work without Emscripten. |
| `../sim-driver/` | the Emscripten build of the driver (`led_driver`) and the pattern engine for the gallery (`led_fx`) | | `../sim-driver/` | the Emscripten build of the driver (`led_driver`) and the pattern engine for the gallery (`led_fx`) |
| `web/app.js` | the room canvas, editor, power control, packet routing by MAC, and placements for `POST /devices/layout` | | `web/app.js` | the room canvas, editor, power control, packet routing by MAC, and placements for `POST /devices/layout` |
| `web/driver-worker.js` | loads `led_driver.mjs` and boots one bar | | `web/driver-worker.js` | loads `led_driver.mjs` and boots one bar |
+10 -12
View File
@@ -1,24 +1,22 @@
# sim-controller # sim-controller
The led-controller firmware (`main/`) built for ESP-IDF's **linux** target, so the whole rig runs on a The led-controller firmware (`main/`) built for ESP-IDF's **linux** target, so the whole rig runs on a
computer with no hardware: computer with no hardware. It serves the simulated rig itself at `/sim/` (see `led-simulator/README.md`).
```
sim-controller (http://localhost:8080) ──UDP 8766──▶ led-simulator ──▶ 16 × led-driver/src
◀── src_mac + packet ── ◀──
```
```bash ```bash
make sim # headless drivers (CPython), plus this controller make sim-web # the controller on http://localhost:8080/ and the rig on http://localhost:8080/sim/
make sim-web # drivers in the browser at http://localhost:8765/, plus this controller
make test-sim # test/api against it, including test_rig_sim.py make test-sim # test/api against it, including test_rig_sim.py
``` ```
`make sim` is the older headless rig over UDP 8766. Its MicroPython drivers are gone from led-driver, so it has no
drivers to run.
- Same sources as the board, minus Ethernet, Wi-Fi, mic and firmware OTA (`components/sim`: `app_main`, - Same sources as the board, minus Ethernet, Wi-Fi, mic and firmware OTA (`components/sim`: `app_main`,
`esp_timer`, mic/OTA/littlefs stubs, `driver/gpio.h` and lwip socket headers). The beat clock at `esp_timer`, mic/OTA/littlefs stubs, `driver/gpio.h` and lwip socket headers). `sim_rig.c` and `sim_net.c` there are
also compiled into the board's firmware. The beat clock at
`audio_simulated_bpm` stands in for the mic. `audio_simulated_bpm` stands in for the mic.
- ESP-NOW goes through `main/bridge.c`: `dst_mac + packet` to the simulator, `src_mac + packet` back. - ESP-NOW goes through `main/bridge.c`: the bridges in settings, or `browser` (the rig page) when there are none.
On the board the same bridge runs when `settings.bridge` is set.
- The store is a directory: `LED_SIM_DB` (default `sim-controller/data` under `make sim`). - The store is a directory: `LED_SIM_DB` (default `sim-controller/data` under `make sim`).
- `LED_SIM_HTTP_PORT` (default 8080), `LED_SIM_BRIDGE` (default `127.0.0.1:8766`). - `LED_SIM_HTTP_PORT` (default 8080), `LED_SIM_BRIDGE` (one bridge address, overriding the settings;
`make sim-web` sets `browser`).
- The binary runs on the host, not in Docker: rootless Docker's `--network host` is its own namespace. - The binary runs on the host, not in Docker: rootless Docker's `--network host` is its own namespace.
+1 -1
View File
@@ -17,7 +17,7 @@ The tests create and delete profiles, presets, zones and so on. The sequence tes
## Not ported ## Not ported
- the model, engine and helper unit tests (`tests/models/`, `tests/engine_tests/`, most of `main`'s `tests/test_*.py`), which test Python modules that have no C counterpart; - the model, engine and helper unit tests (`tests/models/`, `tests/engine_tests/`, most of `main`'s `tests/test_*.py`), which test Python modules that have no C counterpart;
- the Wi-Fi/TCP/UDP driver test servers and the bridge tests (the controller has no bridge or Wi-Fi driver transport). - the Wi-Fi/TCP/UDP driver test servers and the bridge tests (they tested the Python app's own transports).
The checks on exact driver messages became checks on status codes and replies, because ESP-NOW frames can't be captured from outside the board. The checks on exact driver messages became checks on status codes and replies, because ESP-NOW frames can't be captured from outside the board.