Commit Graph
3 Commits
Author SHA1 Message Date
dckc 7957d88ff9 fixup! feat(status): a status page, for the phone of whoever looks after the box
check / check (push) Canceled after 0s
install the app in /usr/local/lib/pdtv26-status, not in the state
directory: with DynamicUser, systemd makes /var/lib/pdtv26-status its
own symlink to /var/lib/private, and the service failed at
STATE_DIRECTORY ("File exists"). The package's check now catches a unit
that runs a program from its own StateDirectory.

Generated-by: Claude Opus 5.5
2026-12-02 18:38:37 -06:00
dckc f35da9b883 fixup! feat(status): a status page, for the phone of whoever looks after the box
check / check (push) Canceled after 0s
booting: a ready counts unless it's from before the latest outage
the server saw. The box's services restart together, so the button's
ready can come before the next check sees the IR port up; comparing
ready with when the port came up read that as booting, until the next
ready. A server restarted while the box stayed up did the same.

Generated-by: Claude Opus 5.5
2026-12-02 18:23:54 -06:00
dckc 469d642902 feat(status): a status page, for the phone of whoever looks after the box
Is the box up, and speech, and the brain; how many conversations,
turns, IR presses, and looks, today and all time. Counts and times
only: no transcripts.

- status/status.js: what the events and checks add up to, and the page
- status/status-server.js: the page, the box's events and heartbeat,
  and a TCP check of each part every 30 s; events kept in a file
- status/pdtv26-status.service and Makefile: sudo make install on the
  home server, answering only the private network
- checks: status (its tests)

Generated-by: Claude Opus 5.5
2026-12-02 17:16:02 -06:00