jmj d07ab09fca fix(android): refine ai-speaker player interaction and layout
- Replace the always-visible horizontal volume slider with a speaker
  icon and a vertical overlay panel. Opening the panel focuses the
  slider: up/down adjusts volume by 1, OK closes it. The icon is sized
  like the mode button and absolutely positioned on the left so it does
  not disturb the centered prev/play/next group.
- Keep player_status as the single source of truth while preventing
  stale server source values from overriding an optimistic track switch.
  A short pendingSource freeze keeps the list highlight from bouncing
  back to the previous row during the server transition.
- Avoid full list rebuilds on playback state changes. Existing rows are
  updated in place through refreshPlayingMark, preventing focus loss and
  repeated entrance animations.
- Show a loading overlay during initial load and manual refresh with an
  8s timeout. Replace CSS inset with explicit positioning for WebView 84,
  and avoid filter on the gradient play button which made it disappear.
- Remove duplicate time text under the progress bar; duration and
  remaining time are already shown above it.
- Clicking the already-playing row is a no-op instead of restarting.

All changes were exercised through the hub snapshot on the TV device.
2026-11-30 11:22:26 +08:00

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.
S
Description
No description provided
Readme
1 MiB
0 Stars 1 Watchers 0 Forks
Languages
Python 38.8%
Vue 19%
Kotlin 17.5%
HTML 16.6%
JavaScript 5.8%
Other 2.3%