← Plugins

Host Power Control

donglianyou4installs

Manage power actions for paired Paseo hosts from a controller host, with reboot-only protection for cloud servers and Wake-on-LAN for LAN devices.

$ paseo plugin add donglianyou/host-power
Host Power Control screenshot 1

Manage sleep, reboot, shutdown, and Wake-on-LAN for paired Paseo hosts from one controller host. Open Host Power Control from the sidebar or Command Center to view connected hosts, trigger confirmed power actions, probe LAN reachability, and wake LAN computers.

How it works

Install the plugin on your always-on controller computer using the This host only scope. The controller host sends local power commands on itself, broadcasts Wake-on-LAN magic packets over UDP to registered LAN devices, checks LAN Paseo health over TCP and HTTP /api/health, and submits power commands to other online Paseo hosts through a temporary terminal in an active workspace on the destination host.

The interface follows Paseo's language setting across all nine supported app languages: English, Simplified Chinese, Japanese, Korean, Spanish, French, Brazilian Portuguese, Russian, and Arabic.

Hardware, setup, and requirements

  • Requires Paseo >=0.15.0 on macOS, Windows, or Linux. No smart plug, IP-KVM, or extra third-party hardware is required for sleep, reboot, shutdown, or LAN Wake-on-LAN.
  • Same-LAN always-on controller host: Wake-on-LAN and LAN health probing require at least one always-on physical host running Paseo on the same local network (broadcast domain) as the target devices, such as a Mac mini, mini PC, NAS, Raspberry Pi, or always-on desktop. A cloud server cannot wake computers on a private LAN over the public internet.
  • Network adapter and firmware for Wake-on-LAN: Waking a Windows or Linux computer from full shutdown (S5 Wake-on-LAN) generally requires a wired Ethernet connection with Wake-on-LAN enabled in both BIOS/UEFI firmware and OS adapter settings. Most Wi-Fi adapters power off when shut down and cannot wake a powered-off machine. BIOS ErP or deep-sleep power-saving modes and laptops running on battery power can also block Wake-on-LAN. Register each LAN device's MAC address, IPv4 address, and subnet broadcast address in the plugin. On macOS, enable network wake with sudo pmset -a womp 1.
  • Online host and OS permissions: The controller host must be online. Remote power actions require the Paseo client to be connected to the target host and the target host to have at least one active Paseo workspace. The system account running the target Paseo daemon needs OS permission to execute sleep, reboot, or shutdown commands (such as passwordless sudo or systemd permissions on Linux, or System Events automation / passwordless sudo on macOS).

Capabilities, data access, and limitations

  • Cloud and container safety: Detected cloud hosts and unregistered remote hosts only expose Reboot. Hosts running inside containers (such as Docker or Kubernetes) block direct host power control.
  • Confirmation and safeguards: Every power action requires explicit confirmation showing the target host name, uses a configurable delay (1 to 30 seconds), deduplicates repeated requests, and enforces a short cooldown. An optional setting locks the Shutdown button on macOS hosts.
  • Data access: Reads local network interface metadata, macOS pmset -g output, optional ~/.ssh/config aliases, and optional saved SSH host aliases from Provider Accounts' codex-source-routes.json. Device lists and preferences are stored in host-scoped Paseo plugin settings. Optional SSH and Alibaba Cloud ECS reboot RPCs are included on the daemon side (not currently exposed in the client UI). SSH reboot trusts a new host's SSH key on first use (StrictHostKeyChecking=accept-new). If ECS is configured, credentials are stored locally with 0600 file permissions under $PASEO_HOME/plugin-data/host-power/aliyun-routes.json and sent only to Alibaba Cloud ECS HTTPS endpoints.
  • Limitations: Rebooting or shutting down interrupts active agents and connections on the target host. Macs can wake from sleep over the network, but cannot be powered on via Wake-on-LAN after a full shutdown. Software Wake-on-LAN also cannot recover a computer that has lost AC power or frozen; those scenarios require external hardware such as a smart plug with BIOS AC-power recovery or an IP-KVM.

Related plugins

Browse all plugins →