跳到正文
Skillpedia
部署与云(DevOps)102k · #856

ruview-configure

它能做什么

这个技能引导 AI 在不触及代码的情况下,改变已部署的 RuView 感知系统的行为。内容涵盖设备设置、固件选项和服务器参数。适合维护正在运行中设置的人。

适用场景

  • ✓当你需要更改已部署感知节点所连接的 WiFi 网络或目标地址的时候。
  • ✓当你想把某块板子切换到另一种固件版本的时候。
  • ✓当你要把多个节点加入同一个网状网络设置的时候。

技能链接

https://github.com/ruvnet/RuView/blob/main/plugins/ruview/skills/ruview-configure/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ruvnet/RuView/blob/main/plugins/ruview/skills/ruview-configure/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我把感知节点的目标 IP 改为我们的新服务器,不需要重新烧录固件。”

每周 5 个新技能,1 分钟读完。

工作原理

该技能说明哪些设置可以通过串口写入设备,哪些需要重新构建固件,哪些是服务器参数。AI 使用配置脚本来更改设备设置。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

RuView Configuration

Everything you can tune in a RuView deployment, from a one-line provision flag to a full mesh + Cognitum Seed setup.

1. Firmware build-time config (sdkconfig)

Variant File When
8MB (default) firmware/esp32-csi-node/sdkconfig.defaults.template ESP32-S3 8MB, full feature set, real WiFi CSI
4MB firmware/esp32-csi-node/sdkconfig.defaults.4mb ESP32-S3 SuperMini 4MB — display disabled, dual OTA slots (partitions_4mb.csv, ~1.856 MB each)
Heltec N16R2 firmware/esp32-csi-node/sdkconfig.defaults.heltec_n16r2 Heltec boards

Switch: cp firmware/esp32-csi-node/sdkconfig.defaults.<variant> firmware/esp32-csi-node/sdkconfig.defaults, then rebuild (see ruview-hardware-setup). Never test in mock mode — the Kconfig fall-threshold bug only showed up with real CSI.

2. Runtime device config (NVS via provision.py)

provision.py writes the csi_cfg NVS namespace over the serial port. Run python firmware/esp32-csi-node/provision.py --help for the authoritative flag list (on Windows force PYTHONUTF8=1 PYTHONIOENCODING=utf-8 — the help text contains non-ASCII and crashes under cp1252).

python firmware/esp32-csi-node/provision.py --port COM8 \
  --ssid "WiFi" --password "secret" \
  --target-ip 192.168.1.20 --target-port 5005 \   # aggregator UDP sink (port default 5005)
  --node-id 1 \                                   # 0-255
  --channel 6 --filter-mac AA:BB:CC:DD:EE:FF       # ADR-060: pin channel + filter transmitter
Flag group Flags Notes
WiFi / sink --ssid --password --target-ip --target-port (5005) --node-id --node-id 0-255
TDM mesh --tdm-slot --tdm-total 0-based slot index + total node count — this is how multi-node mesh is slotted
Edge processing --edge-tier {0,1,2} 0=off, 1=stats, 2=vitals (ADR-041)
Detection thresholds --pres-thresh (50) --fall-thresh (15000 → 15.0 rad/s²) raise --fall-thresh to cut false falls in high-traffic areas (issue #263)
Vitals --vital-win (300 frames) --vital-int (1000 ms) --subk-count (32, top-K subcarriers)
Channel / hopping --channel (1-14 / 36-177, overrides AP auto-detect) --filter-mac --hop-channels (1,6,11) --hop-dwell (200 ms) omit --channel + set --hop-channels for ADR-061 multi-freq hopping; omit --filter-mac to capture all transmitters
Cognitum Seed --seed-url (http://10.1.10.236) --seed-token (Bearer, from pairing) --zone (lobby)
Swarm --swarm-hb (30 s) --swarm-ingest (5 s) heartbeat + vector ingest intervals
Mode --dry-run (build NVS bin, don't flash) --baud (460800) --force-partial

⚠️ NVS namespace is replaced wholesale (issue #391). Flashing rewrites the entire csi_cfg namespace — any key you don't pass on the CLI is erased. Always pass the full set you want, or use --force-partial knowingly. Read the device's current values off the serial boot log first (adaptive_ctrl / csi_collector lines) if you're unsure.

  • NVS partition images for fleet provisioning: scripts/generate_nvs_matrix.py (subprocess-first — the esp_idf_nvs_partition_gen API changed across versions).

3. Sensing server flags

cd v2
cargo run -p wifi-densepose-sensing-server -- --help

# Common modes:
cargo run -p wifi-densepose-sensing-server                                  # live sink, default port
cargo run -p wifi-densepose-sensing-server -- --pretrain --dataset data/csi/ --pretrain-epochs 50
cargo run -p wifi-densepose-sensing-server -- --train --dataset data/mmfi/ --epochs 100 --save-rvf model.rvf
cargo run -p wifi-densepose-sensing-server -- --model model.rvf --embed
cargo run -p wifi-densepose-sensing-server -- --model model.rvf --build-index env

wifiscan server (multi-BSSID, ADR-022): cargo run -p wifi-densepose-sensing-server consumes wifi-densepose-wifiscan output; use neighbour APs as free radar illuminators.

4. Edge intelligence modules (ADR-041)

Small Rust/WASM programs that run on the ESP32 itself — no internet, instant response. See docs/edge-modules/ and docs/adr/ADR-041-*. Each module declares its CSI feature inputs (8-dim feature vectors) and an RVF store target (Cognitum Seed). Configure which modules ship in a build via the firmware component config; configure their thresholds via NVS keys.

Helper scripts that mirror edge-module logic on the host (

常见问题

更改设置需要重新烧录吗?

运行时设置通过配置脚本经串口写入。固件选项则需要重新构建。

在 Windows 上要检查什么?

该技能说明,打印帮助文本之前要设置 UTF-8 环境变量,因为其中包含非 ASCII 字符。

我能看到所有配置选项吗?

可以。该技能说明,可运行脚本的帮助命令,查看完整的参数列表。

详情

作者的原始描述

Configure RuView — ESP32 sdkconfig variants, NVS provisioning, WiFi channel / MAC filter overrides (ADR-060), edge intelligence modules (ADR-041), sensing-server flags, multi-node mesh, and Cognitum Seed integration. Use when adjusting how a deployed RuView system behaves without changing code.

repo: ruvnet/RuView

热度

GitHub 星标
102k
排名
#856
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能