Skip to content

v0.6.1 — renamed to dsh-softsensor-hub

Choose a tag to compare

@SteelUnion SteelUnion released this 23 Oct 15:08
· 11 commits to main since this release

This project is now dsh-softsensor-hub.

Earlier it went by dsh-relay, which collided with a crowded namespace. The new name says what the thing actually is: soft sensors feeding a hub that decides whether to wake you.

What it does

Collects events, decides whether to wake you, delivers through steer / followup / inject. It never acts on its own.

Four collectors, all running inside the plugin process:

Collector What Default
system memory, disk, event-loop delay on
weather daily weather, city or IP-based on
mail IMAP inbox off
finance reads a local quant DB, emits quote events off

No external daemon. A silent daemon is the classic way to lose telemetry without noticing.

Setup

First run copies config.template.json to config.json. Every null in it is a slot for you to fill, with a hint next to it. Then the config wizard takes over.

The wizard is three-state per item: null (untouched), true (done), false (you skipped it). Items that can prove themselves are settled automatically. Only a failed probe escalates to critical — a missing preference stays info.

Layout

One directory. Config, logs, queue files and code live together, so everything finds everything else without absolute paths.

dsh-softsensor-hub\
├── config.json      your settings
├── logs\            one jsonl file per purpose
├── inbox\ archive\  message queue
├── peers\           peer registry
├── data\            event store, credential vault
└── lib\ test\       code and tests

Tests

node test/zz-all.mjs
19 suites, 793 checks, all pass

License: MIT