8 Commits
Author SHA1 Message Date
Miguel Palhas a6aa732c1b feat: add Moonlight and SmartTube app support 2026-09-24 07:11:21 +01:00
Miguel PalhasandClaude Opus 4.6 a574827eb4 feat: long-press on trackpad
Sends DPAD_CENTER with hold_secs: 0.5 after 500ms of
stationary touch. Haptic feedback on fire; cancels on
movement or release.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-09-14 13:51:42 +01:00
Miguel PalhasandClaude Opus 4.6 f7929b7285 chore: bump version to 1.6.0
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
v1.6.0
2026-09-12 20:31:07 +01:00
Miguel PalhasandClaude Opus 4.6 ff7e1434c0 feat: double-tap and hold-to-scroll on trackpad
Double-tap sends two DPAD_CENTER commands for TV double-click.
Holding finger after a swipe keeps scrolling continuously.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-09-12 19:38:06 +01:00
naps62-yoloandClaude Opus 4.8 1c6d0fae8d fix: don't wake screen on trackpad swipe
Swipe repeats DPAD every REPEAT_MS, so routing it through _wakeScreen
fired turnOnScreen ~5x/sec for the whole gesture. _sendCommand takes a
wake flag; the repeat path opts out. Pad taps, buttons, apps and volume
still wake. Tradeoff: a swipe on an already-blanked panel no longer
wakes it — tap first.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
v1.5.2
2026-07-17 07:56:09 +00:00
naps62-yoloandClaude Opus 4.8 9360548ae0 fix: swallow -102 error when screen already on
turnOnScreen is not idempotent: webOS rejects with -102 "The current
state must be Screen Off" when the panel is already lit, so every press
on an awake TV raised an error toast. _wakeScreen still fires
unconditionally (_screenOn is stale after a server-side blank), but the
rejection is now the expected no-op path: notifyOnError=false suppresses
the toast and .catch() absorbs the promise. Downside: genuine failures
(TV unreachable) go quiet too; the command that follows surfaces those.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
v1.5.1
2026-07-17 06:36:19 +00:00
naps62-yoloandClaude Opus 4.8 2037061e9c feat: wake screen on any button press
Idle automation blanks panel via webostv turnOffScreen (backlight off,
media_player stays "on"). Any remote/app/volume press now fires
turnOnScreen first so command isn't sent to a black screen. Power button
excluded (manages own state). Unconditional — card _screenOn is stale
after server-side blank.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
v1.5.0
2026-07-15 18:06:49 +00:00
naps62-yolo e53015e28d feat: initial extraction from naps62/home-assistant-claude-log
TV remote Lovelace card (v1.4.0) extracted to its own HACS-compatible repo.

- src/tv-remote-card.js — readable source
- dist/tv-remote-card.js — minified bundle for HACS / Lovelace resource
- hacs.json — HACS plugin metadata (filename: tv-remote-card.js)
- README — install + full config schema
- package.json — esbuild build script

Card features: swipe pad with canvas glow + press-hold direction repeat,
app + TV-source launchers (split apps[] / sources[] schemas), webOS-aware
Power highlight via getPowerState polling, 5-step volume slider, Shield
text-entry overlay, ha-form visual config editor.
v1.4.0
2026-05-24 18:47:48 +00:00