@qmxme/pi-lametric-notify
LaMetric Time notifications for pi when the agent finishes and waits for input
Package details
Install @qmxme/pi-lametric-notify from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@qmxme/pi-lametric-notify- Package
@qmxme/pi-lametric-notify- Version
0.2.0- Published
- Apr 25, 2026
- Downloads
- 186/mo · 186/wk
- Author
- qmx
- License
- MIT
- Types
- extension
- Size
- 5.6 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./extensions/lametric-notify.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-lametric-notify
A pi package that sends a LaMetric Time notification when pi finishes a task and is waiting for input.
What it shows
- success: icon
a8813+done - error: icon
a423+error - next frame: hostname
- next frame: current tmux pane via
#S:#I.#P, if available
Config
Set these environment variables before starting pi:
export LAMETRIC_TIME_HOST=192.168.1.100
export LAMETRIC_TIME_API_KEY=your-api-key
LAMETRIC_TIME_HOST can be either:
- a host or IP like
192.168.1.100 - a full base URL like
http://192.168.1.100:8080
If either variable is missing, the extension does nothing. If LaMetric is unreachable, the IP is wrong, or the request fails, the extension stays silent, times out quickly, and does not block or crash pi.
Install
From this repo:
pi install .
Once published:
pi install npm:@qmxme/pi-lametric-notify
Or load it directly for a single run:
pi -e .
Notes
- notifications are sent to the local LaMetric notifications API
- the message repeats for 3 cycles
- tmux info is only shown when pi is running inside tmux
- the extension sends notifications on
agent_end