wake-tv

Wakes an LG webOS dev TV from standby via Wake-on-LAN and waits for SSH.

39|7|Updated Jul 3, 2026
One-click install
npx skills add https://github.com/GLinnik21/plx-native --skill wake-tv-glinnik21
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wake-tv
Source: https://github.com/GLinnik21/plx-native/tree/main/.agents/skills/wake-tv
Command: npx skills add https://github.com/GLinnik21/plx-native --skill wake-tv-glinnik21

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? The LG webOS development TV drops into standby after a few idle minutes, causing every automation session — deploys, test runs, screen captures, and streams — to fail with SSH timeouts or connection refused errors. This Skill wakes the TV over the network and confirms it is reachable before any work begins. ## Core Features & Use Cases - Wake-on-LAN with SSH polling: Broadcasts a magic packet (via python3, since macOS has no wakeonlan binary), resends it every ~20 seconds, and polls SSH until the TV answers or a configurable timeout expires. - Standby and status modes: Put the TV into clean standby through the webOS power service for testing the wake cycle, or run a single UP/DOWN reachability probe. - Zero-config network resolution: Reads the TV host from environment variables, the .tv-host file, or the Makefile, and learns and caches the MAC address from the ARP table automatically. - Use Case: Before running make deploy or a test suite against the TV, invoke the wake command so the script blocks until SSH answers, then proceed knowing the deploy will not die mid-scp. ## Quick Start Ask the assistant to wake the dev TV and wait until SSH answers before running the deploy.

Frequently Asked Questions about wake-tv

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I wake an LG webOS TV over the network?

Send a Wake-on-LAN magic packet to the TV's MAC address on UDP port 9, then poll SSH until it answers. The wake-tv.sh script does this with python3 for the broadcast and resends the packet every 20 seconds until the TV responds or the timeout expires.

How to fix SSH connection refused or timeout when deploying to an LG TV?

The TV has likely dropped into standby after a few idle minutes, which kills SSH. Run the wake script first and wait for it to confirm SSH answers, then retry the deploy; if a deploy was interrupted mid-scp, md5-compare the binary before trusting it.

Does Wake-on-LAN work on macOS without installing wakeonlan?

Yes. macOS has no wakeonlan binary by default, but a short python3 script can build the magic packet and broadcast it to the subnet and global broadcast addresses on port 9, which is exactly what this skill's driver does.

Why does Wake-on-LAN fail with no MAC for the magic packet?

The magic packet needs the TV's MAC address, which cannot be learned from the ARP table while the TV is asleep. Set TV_MAC once, or wake the TV by hand and run the status command so the MAC is learned and cached in .tv-mac for future wakes.

Can I put the webOS TV into standby remotely for testing?

Yes. The standby mode calls the webOS power service method power/powerOff over SSH (wrapped in script -qc because luna-send no-ops without a TTY), then polls to confirm the TV stopped answering. Note power/turnOff returns Unknown method on this webOS 4.5 build.