NEW Workflows: agents follow the steps, you sign off. Read more →
Ulpi

Brownout

PLUGIN

Power-cut guard for the machine Ulpi runs on.

by Osiyomeoh · v0.1.1

What it does

Power-cut guard for the machine Ulpi runs on. When mains power drops it messages you (Telegram or any ulpi send target) with the battery level, measures the real drain and sends a runway, and on /brownout park (or by itself at critical battery if you don't answer) pauses active cron jobs and blocks new tool calls with a pre_tool_call hook.

When power is back it resumes only the jobs it paused and tells you. Nothing is killed or deleted; it stops the next tool call, not one already running.

Undelivered alerts are retried in order. No network calls of its own, no credentials read, no telemetry.

Writes only to <ULPI_HOME>/plugin-data/brownout/ (events log, state, command queue, watcher lock).

How to set it up

  1. Disclosure — one daemon thread per Ulpi home polls power every poll_seconds (default 15) by running (macOS), reading /sys/class/power_supply (Linux) or running (NUT UPS, opt-in).

    pmset -g batt
    upsc

Review notes

What an owner reads and accepts before the install is approved.

  • Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

More in Automation

All listings →