Repository navigation
Releases
Releases · Londopy/sitemon
v0.5.1
Fixed
sitemon tuishowed only the first chart on a site page in a smaller terminal.sitemon tuiled a silent site's problem column with an older alert instead of "no contact".
Install: pip install sitemon==0.5.1 (add [pi] on a Raspberry Pi).
Verify downloads against SHA256SUMS.txt.
v0.5.0
Added
sitemon tui, a terminal dashboard for checking things over SSH: every site on a hub with its
readings, sparklines, alerts and relays, relay commands confirmed before they go, or the agent's
own health on a site Pi. It needs the newtuiextra (Textual).watchdog_pinon a relay: a cutoff of its own, toggled only while that relay is meant to be on.
Changed
- Every relay is held to 170 s unless it's marked
transmitter = false, so a relay nobody thought
about can't keep a station transmitting. A config whose pulse relay has a longerpulse, or
whose switch relay has a longermax_on, and notransmitter = falsenow fails
sitemon check, and the agent won't start with it. - Control hubs given by a bare name or a 10.x address are refused, as
*.meshnames already
were. The agent never connects to a control hub at a 10.x address, whatever its name resolves
to, and command polls don't follow redirects. An agent config that lists such a hub won't
start.
Install: pip install sitemon==0.5.0 (add [pi] on a Raspberry Pi).
Verify downloads against SHA256SUMS.txt.
v0.4.0
Added
transmitter = trueon a relay that can make the station transmit holds it to 170 s, inside
the 3 minutes 47 CFR 97.213 sets for a failed control link.
Changed
- Control hubs with AREDN names (
*.local.mesh) are refused, since remote control must not come
over the mesh. An agent config that lists one now failssitemon checkand won't start. - Unknown settings on a relay are refused, so a misspelt
transmittercan't drop its limit. - The deploy guide describes the relay cutoff circuit, and the README says which parts haven't
run on real hardware yet.
Install: pip install sitemon==0.4.0 (add [pi] on a Raspberry Pi).
Verify downloads against SHA256SUMS.txt.
v0.3.0
Added
- The site page charts 7, 30, 90 or 365 days, and lists recent relay commands and announcements.
- Forward power and SWR get charts and sparklines like the other readings.
- Battery trend: the weekly summary and the site page say how fast each battery's nightly low
is falling or rising, fitted over 30 days, so a battery that is wearing out shows up early. sitemon demoincludes an RF sensor on the Hilltop site.
Install: pip install sitemon==0.3.0 (add [pi] on a Raspberry Pi).
Verify downloads against SHA256SUMS.txt.
v0.2.0
Added
- Relays: power-cycle a radio or node, or switch shack extras, with Ed25519-signed commands that
carry a one-time nonce and a 2-minute expiry. Every relay has a time limit, and a keep-alive
pin drives a hardware cutoff. Send them withsitemon command. - RF power trend: forward and reflected power, return loss and SWR from a directional coupler,
two AD8307 detectors and an ADS1115, recorded while transmitting. - SMS alerts through Twilio.
- Spoken alerts on the repeater for rules marked
announce, through espeak-ng and
rpt localplay. Off by default.
Install: pip install sitemon==0.2.0 (add [pi] on a Raspberry Pi).
Verify downloads against SHA256SUMS.txt.
v0.1.0
Added
- Site agent: INA226/INA219 power, BME280 environment, door and water inputs,
AllStar state over AMI (localhost only) and AREDN node state, with simulated
backends for testing without hardware. - Signed, sequence-numbered event log with batched SQLite writes and
store-and-forward sync to every configured hub. - Door and water inputs are debounced (
switch_debounce, 2 s by default). - Hub: signature checks, rules for thresholds, rate of change, state changes and
silent sites, alert de-duplication and warn -> critical escalation. holdon a rule: the condition must last that long before an alert opens.- Alerts to Discord, ntfy and email, each channel sent independently; weekly
summary to Discord. - Dashboard with a tile and sparklines per site, and CSV export per sensor.
Install: pip install sitemon==0.1.0 (add [pi] on a Raspberry Pi).
Verify downloads against SHA256SUMS.txt.