MasseR
3b08988e30
Route Flags load warnings to stderr
2026-09-25 13:02:14 +03:00
MasseR
44497173de
Add Flags module for runtime handler toggling
2026-09-25 13:01:44 +03:00
MasseR
894d8f8436
Add requestHandler field to Request
2026-09-25 12:59:14 +03:00
MasseR
d6f785662b
Logging in http
2026-09-25 12:10:24 +03:00
MasseR
5d16bf4ade
Move http to separate module
2026-09-25 11:54:36 +03:00
MasseR
05bd609c7e
Replace scotty with servant
2026-09-25 11:48:42 +03:00
MasseR
7fc07c1883
Plant lights
2026-09-25 10:31:06 +03:00
MasseR
a7becaf2d4
Use scenes instead of stateful applications of adaptive sleep mode
2026-09-25 09:55:48 +03:00
MasseR
9c47bbcb42
More
2026-09-24 20:27:11 +03:00
MasseR
6063aafe8b
Toggle adaptive mode
2026-09-24 20:21:33 +03:00
MasseR
fafc7111bb
The center button also disables sleep mode
2026-09-24 10:07:02 +03:00
MasseR
69cac934ec
Fix tests
2026-09-24 10:06:20 +03:00
MasseR
b2a74cbee4
Sleep mode in the bedroom
2026-09-24 09:48:35 +03:00
MasseR
769ab43fd2
Untested three-state for dinner table
2026-09-24 08:17:22 +03:00
MasseR
15f3fe7c9e
Hups
2026-09-21 18:59:32 +03:00
MasseR
416a9484a5
Listen on 0.0.0.0 to be usable by tailscale
2026-09-21 08:11:49 +03:00
MasseR
e3bc25ce54
Quick buttons
2026-09-17 11:48:22 +03:00
MasseR
036473ab81
Don't catch async exceptions
2026-09-17 11:05:27 +03:00
MasseR
27f271691c
Hallway lights automation
2026-09-17 09:57:12 +03:00
MasseR
73d546395b
Fix the bad use of async
...
Propagate errors with `mapConcurrently_`
2026-09-16 14:54:36 +03:00
MasseR
a969730de1
Update tests
2026-09-16 14:52:39 +03:00
MasseR
213f9d5d2a
More graphs
2026-09-16 14:42:31 +03:00
MasseR
2cb8035ef4
Increase the backoff
2026-09-16 12:51:58 +03:00
MasseR
1ec8c7211f
Render ratelimiter
2026-09-16 12:32:32 +03:00
MasseR
3d7f6cb3c6
Fix supervisor and proper rate limiting
2026-09-16 12:28:48 +03:00
MasseR
64561718a5
Bedroom spec and partially fix writing
...
LLM had done "rate limiting" via deduplicating outbound calls. But the
ordering matters..
2026-09-16 10:52:10 +03:00
MasseR
7570711768
Enable bedroom presence controller
2026-09-16 09:56:12 +03:00
MasseR
7c2cfde814
Livingroom lights
2026-09-16 09:47:49 +03:00
MasseR
9fda48f589
runtime: reject out-of-range HA_METRICS_PORT values
2026-09-15 22:27:20 +03:00
MasseR
319104641b
runtime: start the metrics graph server worker
2026-09-15 22:09:45 +03:00
MasseR
9861266c1e
graphing: serve rrdtool graphs over http
2026-09-15 22:06:25 +03:00
MasseR
0893862f3a
graphing: add pure graph table, ranges, and argv builders
2026-09-15 22:01:13 +03:00
MasseR
6078a64d00
Merge branch 'feature/trigger-service-metrics'
2026-09-15 17:31:06 +03:00
MasseR
7d08acec9d
runtime: count only trigger event frames and harden metrics tests
2026-09-15 17:25:31 +03:00
MasseR
2a477b4977
runtime: increment trigger/service counters on the bus
2026-09-15 16:34:35 +03:00
MasseR
09479b5c48
metrics: register inbound-trigger and outbound-service counters
2026-09-15 16:26:09 +03:00
MasseR
a19e5afd5e
metrics: detect rrd schema mismatch and recreate with backup
2026-09-15 16:20:37 +03:00
MasseR
af46776bb0
Enable bedroom buttons
2026-09-15 16:03:28 +03:00
MasseR
d1bdd2eb67
Dinner presence
2026-09-15 10:49:12 +03:00
MasseR
0f7c6ff98a
Control the kitchen lights
2026-09-14 14:45:45 +03:00
MasseR
aaba917a9b
Test the SerializeUTCTime property
2026-09-12 20:25:24 +03:00
MasseR
a3dd63f26c
Update tests
2026-09-12 20:18:13 +03:00
MasseR
b20320c779
Explicit state
2026-09-12 20:09:42 +03:00
MasseR
e16010bf2f
Backport serializable arrow
2026-09-12 16:27:12 +03:00
MasseR
1f786815e6
Laws
2026-09-12 12:25:02 +03:00
MasseR
54ef6b5cc3
Merge branch 'mem-leak'
2026-09-08 08:00:13 +03:00
MasseR
1edb2ac5a2
Fix memory memory leak
...
- Tuple to strict pair
- Self-recursive loops with more knot tying <- this was the thing
2026-09-08 07:58:50 +03:00
MasseR
d3518e8ff2
Fix: rrdtool DS names must be <= 19 chars
...
sanitizeName now keeps the first 15 chars plus a 3-hex hash suffix
for names longer than 19 chars (rrdtool's hard limit on DS name
length). The previous replace-dots-only version produced names up to
31 chars, which rrdtool rejected with 'invalid DS format'.
2026-09-07 23:09:42 +03:00
MasseR
e30a28c9ef
Merge feat/ekg-rrd-metrics: ekg-core RTS metrics -> rrd export
2026-09-07 21:44:56 +03:00
MasseR
f7849ac889
defaultMain: wire metricsAction worker and enable -with-rtsopts=-T
2026-09-07 21:37:17 +03:00
MasseR
0a4b7dbb01
Add metricsAction: supervised loop sampling ekg store to rrd via rrdtool
2026-09-07 21:34:15 +03:00
MasseR
88af6a3139
Add Metrics module: pure rrdtool argv builders for ekg samples
2026-09-07 21:30:42 +03:00
MasseR
055c02d0f2
flake: add rrdtool to devShell and wrap the shipped binary with HA_RRDTOOL
2026-09-07 21:24:42 +03:00
MasseR
7b6b529120
Merge feat/outbound-rate-limiting: drop excess outbound calls
2026-08-25 19:46:13 +03:00
MasseR
ef4811f89b
Drop redundant UUID import from ConnectionSpec
2026-08-25 19:39:40 +03:00
MasseR
9fadbae777
writerAction: drain, dedupe, and rate-limit outbound calls
2026-08-25 19:37:57 +03:00
MasseR
3f5aa4735c
Add dedupeBatch: collapse outbound calls per target
2026-08-25 19:33:44 +03:00
MasseR
6bb96833e1
A lot of internals as I tried to do a switch based logic
2026-08-25 19:05:52 +03:00
MasseR
2730657952
Triggers instead of full state events
2026-08-25 13:13:50 +03:00
MasseR
771d702abd
Test the bedroom spec
2026-08-25 12:41:42 +03:00
MasseR
7051eaf244
Test rest of the AFRP
2026-08-25 11:41:12 +03:00
MasseR
7a9f30e1be
Tests with timers
2026-08-25 11:36:13 +03:00
MasseR
aa8ea07249
Tests
2026-08-25 11:27:18 +03:00
MasseR
2664ca67c0
Debounce instead of delay
2026-08-25 10:47:38 +03:00
MasseR
d341270ed1
rollup, sliding and fixed windows
2026-08-25 10:11:44 +03:00
MasseR
dc55834507
Outdated comment
2026-08-21 16:21:08 +03:00
MasseR
50c82393ed
Clean tests
2026-08-21 16:01:15 +03:00
MasseR
96d4fb4c8d
HUmidifier logic with some extra new primitives
2026-08-21 15:46:31 +03:00
MasseR
8ea013c94a
Fix debug ordering
2026-08-21 15:46:18 +03:00
MasseR
c60508fd0c
Severity level
2026-08-21 13:55:22 +03:00
MasseR
a77b85b576
Update tests
2026-08-21 13:29:16 +03:00
MasseR
b5574e7436
Read hostname from env
2026-08-21 13:18:12 +03:00
MasseR
e50a505a13
Works
2026-08-21 13:15:31 +03:00
MasseR
dfc744842d
Toggle controllers
2026-08-21 12:02:42 +03:00
MasseR
5954c68682
Update tests
2026-08-21 11:55:27 +03:00
MasseR
efcee8b90a
Add implementation plan: katip logging
2026-08-21 10:31:52 +03:00
MasseR
e241dbd2f4
Add design spec: replace manual printing with katip logging
2026-08-21 10:00:06 +03:00
MasseR
d31a6d893e
Support for areas
2026-08-21 09:32:31 +03:00
MasseR
d74699cd79
Fix ikea buttons
2026-08-21 09:23:32 +03:00
MasseR
cd29899fe4
Tracing
2026-08-21 09:12:10 +03:00
MasseR
5f0aad4e85
Drawer controller
2026-08-21 00:01:12 +03:00
MasseR
0c3413c1c6
Threaded runtime
2026-08-21 00:01:05 +03:00
MasseR
0b29b081e2
Ikea buttons
2026-08-20 23:51:35 +03:00
MasseR
4d689be6ea
IKEA buttons
2026-08-20 23:40:14 +03:00
MasseR
2a1bca73d7
Code organization
2026-08-20 22:38:21 +03:00
MasseR
18e1d68a4f
Runtimes and controllers
2026-08-20 22:34:01 +03:00
MasseR
b3aa4c4991
Preserve outbound backlog across outages, fix backoff quiet period
2026-08-20 20:12:48 +03:00
MasseR
c030267a77
Supervise workers and make auth failures fatal
2026-08-20 19:57:35 +03:00
MasseR
f8d6a844e4
Add supervisor with backoff restarts
2026-08-20 19:51:17 +03:00
MasseR
9c355adf47
Run controllers on their own threads over the bus
2026-08-20 19:40:01 +03:00
MasseR
f449ad60ad
Fix plan: OverloadedStrings pragmas in test specs
2026-08-20 19:35:40 +03:00
MasseR
3c729366db
Add Runtime.Connection reader and writer actions
2026-08-20 19:34:56 +03:00
MasseR
6c7060e46e
Fix plan: use atomically dupTChan, not nonexistent dupTChanIO
2026-08-20 19:31:17 +03:00
MasseR
78248388ac
Add Runtime.Bus with channel-based effect interpreter
2026-08-20 19:29:56 +03:00
MasseR
aa5a91bfa3
Fix plan: hspec-hedgehog bridge, import lists
2026-08-20 19:25:17 +03:00
MasseR
3a4b42e3a7
Ignore .worktrees
2026-08-20 19:18:09 +03:00
MasseR
39bc2c0ec1
Add concurrent runtime implementation plan
2026-08-20 19:15:23 +03:00
MasseR
1e3341a683
Add concurrent runtime design spec
2026-08-20 15:57:44 +03:00
MasseR
a118b01b1c
Add AGENTS.md
2026-08-20 15:13:46 +03:00
MasseR
acbb09ced7
Merge branch 'refactor/module-split'
2026-08-20 14:49:09 +03:00