Skip to content

Releases

Agent 0.4.0 — simplified iPhone setup

Pre-release

Choose a tag to compare

@scatterbrein scatterbrein released this 21 Oct 22:42

Optional agent for NUT UPS Monitor 1.2 (build 14).

  • Simplified setup: Linux installer, temporary installation code, and local/remote linking from the iPhone's existing server settings.
  • No account registration, admin token, router port forwarding or user-hosted backend required.
  • Local NUT monitoring remains independent and fully optional to remote monitoring.
  • Read-only LAN discovery expires after 30 minutes. Codes allow five failed attempts and are confirmed through HTTPS.
  • Optional remote access can be recovered from the server without rotating working agent credentials.
  • Includes 3-second NUT readings, 30-second ordinary upload batches and immediate energy-event uploads, plus percentage-based low-battery alerts.

Install the matching Linux archive (ARM64 for Raspberry Pi OS 64-bit). Verify its SHA-256 against SHA256SUMS before installation. Existing settings and pairing are preserved.

The server backend must be upgraded to the accompanying schema-4 bundle before enabling the new setup flow. A backup is created automatically before database migration. Do not downgrade it to schema 3 afterward.

Validation: iPhone simulator tests and Release build; Go race tests and vet; PHP backend/HTTP tests; bootstrap checksum-failure checks. New physical Pi/iPhone pairing still requires pilot validation. This is a prerelease.

Agent 0.2.0 — optional remote backend pilot

Choose a tag to compare

@scatterbrein scatterbrein released this 19 Oct 22:55

Optional agent 0.2.0 and lightweight remote backend pilot.

  • Linux ARM64 (Raspberry Pi OS / Debian 64-bit), AMD64 and ARMv7 install packages, static binaries and SHA256SUMS.
  • One-time pairing codes; private token files and remote revocation.
  • PHP 8.3 + PDO SQLite API deployed at https://ups.omstudioit.com/api/v1 alongside the existing website; no framework, Composer, separate database service or permanent worker.
  • Isolated owner spaces, durable idempotent ingestion, last known state, 7-day history and events.
  • Backend ZIP contains the executable PHP bundle, routing fragment and operator guide; no configuration secrets, credentials or database.

Validation: 43 Go leaf scenarios with race detector; go vet; 20 API contract/security scenarios; 6 local HTTP integration scenarios; 6 hosted HTTPS integration scenarios with the real Go binary and a synthetic NUT server. Package contents and hashes checked.

This is a private pilot prerelease. Physical Raspberry Pi installation remains pending. No changes to the iOS 1.1 app, no mobile remote integration and no APNs yet. The agent reads NUT only and sends no UPS control commands.

Installation and pairing: README.md and backend/README.md in the repository/packages. The existing 0.1.0 prerelease is retained.

Agent 0.1.0 — Linux installation packages

Choose a tag to compare

@scatterbrein scatterbrein released this 19 Oct 22:37

First optional read-only NUT agent prototype.

Includes Linux ARM64 (Raspberry Pi 4 / 64-bit OS), AMD64 and ARMv7 installation packages, systemd service, sample configuration and installation guide. Each archive is self-contained. SHA256SUMS also includes the standalone binaries.

Reads multiple NUT UPS devices, preserves last-known readings, detects power/battery/connectivity events and keeps a bounded durable queue for a compatible HTTPS backend. Remote delivery is disabled by default.

Validation: 36 automated leaf scenarios passed with the Go race detector, plus vet, cross-compilation and CLI smoke checks. Physical Raspberry Pi validation is still pending. This release does not add remote mode or push notifications to the iOS app. Never use UPS shutdown or power-control commands to validate this agent.