Files
jmj c037b43f4a Initial commit: PulseWall hub, Android app, and protocol docs
- hub: FastAPI backend (MCP server, ADB LAN controller, bridge, storage)
- hub/web: Vue 3 admin console (device manager, screen mirror, chat workbench)
- android: Kotlin shell app with WebView stage, OTA, telemetry, keep-alive
- protocol: architecture, MCP schema, and WebSocket protocol specs
2026-11-30 07:37:34 +08:00

1.8 KiB

PulseWall

AI-driven Android 11 live information wall, real-time device status monitor, and bidirectional MCP interactive terminal.

Repository Layout

  • protocol/ — Canonical architecture, MCP schema, and WebSocket protocol specs:
    • protocol/architecture.md
    • protocol/mcp-schema.md
    • protocol/ws-protocol.md
  • hub/ — Python Central Bridge (FastAPI + official MCP Streamable HTTP + WebSocket device gateway + SQLite + Web Admin Panel + LAN-only ADB Debug controller)
  • android/ — Android 11 (minSdk = 30) native Kotlin client with layered basic/root telemetry, offline Vue 3 + PulseWall CSS framework, offscreen pre-render validation sandbox, runtime console watchdog, OpenAI-compatible on-device Repair Sentinel, and unbreakable native alert/alarm layer.

Quick Start

1. Start the Python Hub

cd /data/working/PulseWall/hub
./run_hub.sh
  • Web Admin Panel: http://<hub-ip>:8765/admin
  • Generic MCP Endpoint (Streamable HTTP): http://<hub-ip>:8765/mcp/
  • Upstream Plugin Event Stream (SSE): http://<hub-ip>:8765/api/events/stream
  • Android WebSocket Gateway: ws://<hub-ip>:8765/ws/device/{device_id}
  • LAN-Only Developer Debug / ADB API: POST http://<hub-ip>:8765/api/lan-debug/{device_id}/action

2. Build the Android 11 APK

/data/working/PulseWall/android/build_apk.sh

Output APK: android/app/build/outputs/apk/debug/app-debug.apk

3. First-Time Pairing

  1. Install app-debug.apk onto your Android 11 device.
  2. Tap the top-right floating status pill (⚙) to set your Hub WebSocket URL (ws://<hub-ip>:8765) and device name.
  3. Open http://<hub-ip>:8765/admin to verify live device telemetry & DisplayProfile, configure your OpenAI-compatible end-side Repair AI model (pushed live to the device), and test feed/alarm/dynamic canvas rendering.