All plugins

tickover

Ears for Hermes. Hermes can switch things on; Tickover lets it hear whether they started. tickover_verify listens before and after any action (a relay, a smart plug, a shell command, a robot move) and returns confirmed, no_change, other_change or unclear, with the level change in dB and a card. It needs no setup and no baseline. tickover_hear says what a sound is and whether the recording is usable. tickover_enroll and tickover_check remember a machine from three healthy recordings and report drift in robust sigmas with the frequency band that moved. tickover_watch puts a machine on a Hermes cron schedule, with a person sending voice notes or unattended from a stream or a recorder folder. tickover_fleet shows every machine on one card. Name a repairer with tickover_watch(notify="telegram:<chat_id>") and a confirmed drift reaches them on Telegram, WhatsApp, email or any Hermes channel, once per change, while the fix is still small. bridge/tickover_bridge.py, one standard-library file, turns an old Android phone, a Raspberry Pi or a spare laptop into a listening device that Hermes reads over the local network. tickover_teach (experimental) learns named states from a few recordings. tickover_selftest proves the install with synthetic sound. Training-free: frozen CED-base and EfficientAT mn10 encoders in onnxruntime, about 0.6 s per check on CPU. Benchmarks with their limits are in the README. Disclosure — first use downloads the CED-base ONNX model (87 MB, Apache-2.0) from huggingface.co/mispeech/ced-base at a pinned commit and verifies its sha256; a 12 MB mn10 ONNX graph ships in the repo, checked by sha256 at load. Audio is processed locally and never uploaded. tickover_listen and a source-less tickover_verify record 3-120 seconds from this computer's microphone when the model calls them, with no approval prompt (needs the optional sounddevice package). The tools read any audio or video file, folder or glob the model names, and open a stream URL only for hosts the owner lists in the plugin's allowed_sources setting (empty by default), connecting only to the checked address and re-checking every redirect; private addresses pass only for listed local names or IPs, and link-local and cloud-metadata addresses only when listed literally. ffmpeg (the one on PATH, else the binary shipped by the imageio-ffmpeg wheel) runs as a subprocess with protocol and format whitelists and a minimal environment; http(s) streams are fetched by the plugin and piped in, rtsp goes through a local relay that refuses redirects. tickover_watch creates and replaces Hermes cron jobs (no faster than every 15 minutes, never from inside a cron run unless cron.allow_agent_scheduling is true) that ask the owner for a recording or check a stream unattended. With a repairer set through tickover_watch(notify=...), which only the owner's chat or the local operator can change, a confirmed drift sends the repairer a message and a card through Hermes delivery, via a one-shot cron job with no tools or, when agent scheduling is off, from the listening job itself; this happens without an approval prompt. Three hooks (pre_gateway_dispatch, post_gateway_admission, pre_llm_call) note audio files that arrive in chat and add one context line telling the agent where the file is; the note is stored only after the gateway admits the sender, and they never block a message. The optional bridge script runs on the user's own device, serves only audio it records on request, and requires a key on any non-local address unless started with --open. Baselines, cards and history live in plugin-data/tickover. No credentials, no telemetry.

rapha18thToolsv0.4.0Updated 21 days ago

About

Ears for Hermes. Hermes can switch things on; Tickover lets it hear whether they started. tickover_verify listens before and after any action (a relay, a smart plug, a shell command, a robot move) and returns confirmed, no_change, other_change or unclear, with the level change in dB and a card. It needs no setup and no baseline. tickover_hear says what a sound is and whether the recording is usable. tickover_enroll and tickover_check remember a machine from three healthy recordings and report drift in robust sigmas with the frequency band that moved. tickover_watch puts a machine on a Hermes cron schedule, with a person sending voice notes or unattended from a stream or a recorder folder. tickover_fleet shows every machine on one card. Name a repairer with tickover_watch(notify="telegram:<chat_id>") and a confirmed drift reaches them on Telegram, WhatsApp, email or any Hermes channel, once per change, while the fix is still small. bridge/tickover_bridge.py, one standard-library file, turns an old Android phone, a Raspberry Pi or a spare laptop into a listening device that Hermes reads over the local network. tickover_teach (experimental) learns named states from a few recordings. tickover_selftest proves the install with synthetic sound. Training-free: frozen CED-base and EfficientAT mn10 encoders in onnxruntime, about 0.6 s per check on CPU. Benchmarks with their limits are in the README. Disclosure — first use downloads the CED-base ONNX model (87 MB, Apache-2.0) from huggingface.co/mispeech/ced-base at a pinned commit and verifies its sha256; a 12 MB mn10 ONNX graph ships in the repo, checked by sha256 at load. Audio is processed locally and never uploaded. tickover_listen and a source-less tickover_verify record 3-120 seconds from this computer's microphone when the model calls them, with no approval prompt (needs the optional sounddevice package). The tools read any audio or video file, folder or glob the model names, and open a stream URL only for hosts the owner lists in the plugin's allowed_sources setting (empty by default), connecting only to the checked address and re-checking every redirect; private addresses pass only for listed local names or IPs, and link-local and cloud-metadata addresses only when listed literally. ffmpeg (the one on PATH, else the binary shipped by the imageio-ffmpeg wheel) runs as a subprocess with protocol and format whitelists and a minimal environment; http(s) streams are fetched by the plugin and piped in, rtsp goes through a local relay that refuses redirects. tickover_watch creates and replaces Hermes cron jobs (no faster than every 15 minutes, never from inside a cron run unless cron.allow_agent_scheduling is true) that ask the owner for a recording or check a stream unattended. With a repairer set through tickover_watch(notify=...), which only the owner's chat or the local operator can change, a confirmed drift sends the repairer a message and a card through Hermes delivery, via a one-shot cron job with no tools or, when agent scheduling is off, from the listening job itself; this happens without an approval prompt. Three hooks (pre_gateway_dispatch, post_gateway_admission, pre_llm_call) note audio files that arrive in chat and add one context line telling the agent where the file is; the note is stored only after the gateway admits the sender, and they never block a message. The optional bridge script runs on the user's own device, serves only audio it records on request, and requires a key on any non-local address unless started with --open. Baselines, cards and history live in plugin-data/tickover. No credentials, no telemetry.

Tickover

Hermes can switch things on. Now it can hear whether they started.

An agent that acts on the physical world works blind. It flips a relay, runs a job, moves an arm, and trusts the return code. Tickover gives Hermes ears. It listens before and after an action and says whether the sound changed. It remembers how a machine sounds when healthy and says when that drifts. It runs on the computer Hermes runs on, with no keys and no cloud.

A verify card: the pump started

You     I switched the borehole pump on at the relay. This recording runs across the switch.
Hermes  CONFIRMED. The sound got 11 dB louder at 6.1 s and the tone changed. The pump started.
You     An hour later I switched it on again. Same microphone.
Hermes  NO CHANGE. The level moved 0.4 dB. The action may not have reached the pump,
        or the microphone cannot hear it. I would check the relay.

Tickover is what mechanics call an engine at idle.

Install

hermes plugins install rapha18th/tickover --enable

Prove it works on your computer, with synthetic sound and no recordings:

python -m tickover_core selftest

The first run downloads one 87 MB listening model. After that, nothing leaves the computer.

Optional: pip install sounddevice to use this computer's microphone.

On chat platforms, voice notes go to speech-to-text by default. For machine sound, send the recording as a file, or set stt.enabled: false in the profile you use for Tickover.

What Hermes can do with ears

The questionThe toolSetup
What is this sound? Is the recording usable?tickover_hearnone
I switched something. Did it happen?tickover_verifynone
Does this machine still sound like itself?tickover_enroll, then tickover_check3 healthy recordings
Keep an ear on it.tickover_watch, tickover_checkina schedule
Tell the repairer when it changes.tickover_watch with notifya chat id
How are all my machines?tickover_fleetnone
Loaded or idle? Dry or wet?tickover_teach (experimental)5 recordings per state
Listen now.tickover_listena microphone
Does it work here?tickover_selftestnone

A skill (skills/tickover/SKILL.md) teaches Hermes when to reach for each tool and how to read the result.

Input: WAV, FLAC, OGG and Opus voice notes, M4A, MP3, MP4 video, a folder or glob, or an rtsp:// or http:// stream. ffmpeg is bundled through imageio-ffmpeg.

Verify an action

Three steps, around any tool that acts.

  1. tickover_verify(step="before") captures a few seconds.
  2. Hermes runs the action: a smart plug, a relay, a shell command, a robot move.
  3. tickover_verify(step="after", expect="start") captures again and compares.

One recording with the action inside it works too: step="clip".

Tickover in Hermes Desktop: the pump started

The verdict is confirmed, no_change, other_change or unclear. It comes with the level change in dB, the tone change in sigmas of the sound's own variation, what appeared or faded, and a card. Verify needs no baseline and no enrollment.

Remember a machine

Enroll three or more healthy recordings of about 10 seconds. A phone voice note is enough. Every later recording gets a verdict: how far it sits from that machine's own normal, which frequency band moved, and a card that shows where.

A first drift is unconfirmed. Tickover asks for a second recording before it tells anyone to act. A bad recording gets retake with the fix, and nothing is scored.

Keep an ear on it

tickover_watch puts a machine on a Hermes cron schedule.

  • With a person. Hermes asks for a recording on schedule. The next voice note is checked, and the reply carries the trend and a forecast.
  • Unattended. Give the watch a source: a camera stream, or a file that a recorder keeps fresh. Hermes checks it alone and speaks only when the sound changed. If the recorder stops writing, Hermes says the microphone needs attention.

bridge/tickover_bridge.py turns an old Android phone, a Raspberry Pi with a USB microphone, or any spare computer into a listening device. One file, standard library only. It prints two things. First the command that allows the device, which you run once on the computer Hermes runs on:

hermes config set plugins.entries.tickover.settings.allowed_sources "[192.168.1.20:8765]"

Then the line to give Hermes:

You     Watch the borehole pump from http://192.168.1.20:8765/clip?key=CHOOSE_ONE every morning at 7.

/clip records on demand, so the same URL serves tickover_verify before and after. /latest serves a clip the device records on a timer. If the device stops recording or stops answering, Hermes says so. Setup for each device is in bridge/README.md. A recorder app that saves into a synced folder also works as a source.

tickover_fleet answers "how are my machines?" with one card.

Tell the person who fixes it

Old machines change their sound before they fail. Tickover hears the change early. Name the repairer once and they hear it too, while the fix is still small.

You     Tell Tendai, our pump technician, on Telegram if the borehole pump changes.
        His chat id is 123456789.
Hermes  Done. Tendai hears only a confirmed change, with the card, once per change.
        Healthy checks stay silent.

When two recordings in a row agree that the pump drifted, Tendai gets this on Telegram:

Hello Tendai.
Tickover is listening to borehole pump (pump) at Mazowe farm for Chipo. Its sound has changed.
It is 4.1 times further from its own healthy sound than its normal day-to-day variation.
Under 2 is normal. 3 and above is a real change.
The change is strongest in the 3.9-8 kHz band.
Trend: +1.3 sigma per week over the last 5 check-ins.
A second recording confirmed it.
Please inspect it while the fix is still small. The diagnosis is yours.
Reply to Chipo directly. This bot does not read replies.
[the card]

tickover_watch(machine, notify="telegram:123456789", notify_name="Tendai, pump technician") sets it up. Any Hermes channel works: whatsapp:+263771234567, email:tech@example.com, discord:<id>. The same drift is sent once. A healthy check resets it. Only the owner, in their own chat, can change who is told.

Tickover creates no cron job from inside a scheduled run unless cron.allow_agent_scheduling is true. With that gate off, an unattended watch with a repairer delivers to both of you. It speaks once for a confirmed change and once for a microphone or recorder that needs attention, and stays silent otherwise. Each job carries its own relay token, so one machine's job cannot speak for another. With the gate on, you hear every finding and a one-shot job carries the alert to the repairer.

  • Telegram. The repairer opens your Hermes bot and presses Start, or the bot cannot write to them. They get their chat id by sending any message to @userinfobot.
  • WhatsApp. Their number with the country code.
  • Email. Their address.

Extend it without code

Hermes is an agent, so the plugin grows by conversation.

  • A new machine: enroll it.
  • A new question: teach it.
  • A new source: any path, or a stream URL from a device you allowed.
  • A new reaction: a cron job or a skill that reads verdict and trend.escalate and calls any other tool.

Benchmarks

Every number below comes from a script in bench/ and public recordings. Results are in bench/*.json.

Verify

20 trials per case. Machine sound is from DCASE 2020 pump and fan recordings. Room tone is synthetic pink noise at -50 dBFS. Starts and stops are spliced from those two, so real rooms will be harder.

CaseBefore and afterOne clip
Room tone to pump, confirmed20/2020/20
Pump to room tone, confirmed20/2020/20
Room tone to fan, confirmed20/2020/20
Fan to room tone, confirmed20/2020/20
A second machine starts beside a running fan, confirmed17/2016/20
A second machine stops beside a running fan, confirmed17/2016/20
Nothing switched, room tone. False change0/200/60
Nothing switched, pump running. False change0/200/20
Nothing switched, fan running. False change1/201/20

Limits, measured:

  • Use one microphone in one place. Two different recordings of the same pump in the same state read as a change 2 times in 20. For the fan, 7 in 20. Before and after must come from the same session.
  • Verify does not find faults. A normal pump against an abnormal pump reads as a change 2 or 3 times in 12. That job belongs to tickover_check.
  • Leave room around the action. A clip needs 9 seconds, with 4 seconds on each side of the change. A change closer to the edge returns unclear.
  • Verify hears that the sound changed. A person confirms what changed.

Drift

Few-shot: the machine is enrolled from k healthy clips, then scored on labelled test recordings.

Car engines, phone recordings. 83 healthy and 238 faulty clips from seven car models (HF RashmiKarunarathne/MyDataSet). Enrollment uses healthy clips from any car, so these numbers understate a single-machine baseline.

Faultk=3k=5k=10
Belt0.9650.9600.980
Tappet0.7640.8100.870
Misfire0.7000.7700.810

AUC, ten enrollments per setting. The cross-car baseline raises false alarms: 7% at k=10, 19% at k=3. Enroll your own machine with ten clips or more.

DCASE 2024 Task 2 evaluation set. Robot arm, hovering drone, brushless motor, 3D printer and air compressor. Matched condition, 100 test clips per machine, half anomalous. These anomalies are subtle by design. With the full 990-clip training sets, the 2024 challenge field reached official scores near 0.62.

Systemk=3k=5k=10false drift at 3σ, k=10
Tickover (ensemble)0.5600.5620.5862.4%
CED band bank alone0.5030.5490.5582.5%
mn10 clip match0.5430.5260.5647.7%
mn10 frame match0.5580.5530.5722.1%

Mean AUC, five enrollments per setting.

Same machine, same condition. Grouping the DCASE test clips by machine id and operating condition gives the setting Tickover is built for.

Machinek=3k=5
Hovering drone0.7570.755
Brushless motor0.5660.733
3D printer0.6230.645
Robot arm0.4890.535
Air compressor0.5100.500
All0.5480.597

Tickover is strong on loud, obvious change: a belt, a misfire, a machine that stopped. It is weak on the subtle factory anomalies DCASE designs. Read the tables before you rely on it.

Teach (experimental)

tickover_teach learns named states from a few recordings. It tests itself by holding out one recording at a time, and it switches on only when the result could not be luck. Mostly it stays off.

Ten random draws per question, scored on recordings it never saw:

QuestionRecordings per stateSwitched onRight when onWrong label when on
Any question30 of 90 draws
Drone speed, 2 states55 of 1070 of 800
Pump or fan52 of 1026 of 323
Car engine fault, 4 states52 of 1044 of 641
3D printer, robot arm, compressor, pump fault, fan fault50 of 10 each

The answers that are neither right nor wrong are uncertain or unknown. Treat teach as a preview.

How it works

Tickover follows the training-free systems at the top of the DCASE Task 2 challenge: frozen pretrained audio encoders, a memory bank of healthy sound, nearest-neighbour distance, and an ensemble.

  1. Two encoders. CED-base, a ViT distilled on AudioSet (Apache-2.0, mispeech), turns each clip into a grid of tokens over time and four frequency bands. EfficientAT mn10, a MobileNetV3 distilled on AudioSet (MIT), adds per-frame embeddings. Both run in onnxruntime on CPU.
  2. Three scores. A CED band bank with mean pooling and relative deviation pooling. An mn10 clip match by cosine. An mn10 frame match at the 90th percentile, so brief events count.
  3. Self-calibration. Every healthy clip is scored against the others. Each score becomes robust sigmas (median and MAD) against that spread, and drift is their mean. Under 2 sigma reads healthy. 2 to 3 reads watch. 3 and above reads drift.
  4. Verify. The same embeddings, compared between two windows instead of against a baseline. Level and tone each move in sigmas of the windows' own variation. In one clip, a search finds the split that separates the two sides best.
  5. Quality gate. Clipping, silence, speech and wind are caught before scoring. The answer is retake, with the fix.

A check takes about 0.6 s on a laptop CPU.

Scope

Tickover detects change. It names the band that moved, and Hermes suggests where to look. It never names a fault. The diagnosis stays with a person. Record from the same spot and distance each time. A new microphone position reads as change.

Data and network

  • First use downloads CED-base (87 MB) from Hugging Face, mispeech/ced-base at a pinned commit, and checks its sha256. Every other step runs offline.
  • tickover_core/models/mn10_frames.onnx (12 MB) ships with the plugin, pinned by sha256. scripts/export_mn10.py rebuilds it.
  • Audio stays on the machine. The microphone opens only during tickover_listen and a microphone tickover_verify.
  • Stream URLs open only from hosts you list in the plugin setting allowed_sources (empty by default). A local name such as pi.local or an IP address may be on your network. Any other name must resolve to public addresses. Tickover connects to the address it checked and checks every redirect again. ffmpeg runs with a protocol whitelist, a list of container formats (no playlists), and a minimal environment. An entry without a port allows the usual ports only (80, 443, 554, 322 and the bridge's 8765). A cloud metadata or link-local address is refused with no command to allow it. On Windows, a network path (\\host\share) is refused before any file call. Outside Hermes, TICKOVER_ALLOWED_SOURCES (a comma list) does the same for the CLI and tests.
  • Repeating schedules run at most every 15 minutes. Names, places and tips reach a cron prompt as one line of at most 120 characters, without quotes.
  • Baselines and history live in Hermes's plugin data folder (plugin-data/tickover).

Credits

CED (Dinkel et al., mispeech, Apache-2.0). EfficientAT (Schmid et al., MIT). Injini (rapha18th, MIT). DCASE 2020 and 2024 Task 2 data (CC BY-NC-SA 4.0, evaluation only). Method: BEAM (Saengthong and Shinozaki, 2026), relative deviation pooling (Wilkinghoff, Yadav and Tan, 2026).

MIT License.

README from the reviewed commit 45ebd2b; it updates when the author re-pins.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section