docs(spec): phase 5 -- the Micromate schedule check; work hours is next

A scheduled start loads the setup it names, so a change to another
setup would be undone at the next start: read schedule.dat and refuse
that case.  Configurable work-hours recording, without THOR's scheduler
or setup files, is the agreed next project.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
This commit is contained in:
serversdownandClaude Opus 5.5 committed 2026-11-03 18:35:29 -05:00
1 parent 0238e4d3f3
commit dba891d504
1 file changed
+18
@@ -45,6 +45,13 @@ changing the unit or a file is not.
- Restarting monitoring. **Brian presses Start**, as today; SFM never restarts on - Restarting monitoring. **Brian presses Start**, as today; SFM never restarts on
its own. its own.
- Setting the unit's clock. That is a later call-home receiver rule. - Setting the unit's clock. That is a later call-home receiver rule.
- **Writing the Micromate scheduler.** Next project, agreed 2026-11-03:
"record during work hours" as a plain, **configurable** setting on the unit's
page, both series, no schedule library and no setup files. On the Micromate,
it relies on the firmware's setup-less scheduler start (found in the firmware,
never sent; one bench session). On the MiniMate, its own timer setting
(undecoded). Brian's dad despises THOR's scheduler; Brian is willing to retire
it in SFM.
- Fields not yet decoded. "Any and all" grows as decoding grows. - Fields not yet decoded. "Any and all" grows as decoding grows.
**Anti-goals: things that would make it a failure even if it "works"** **Anti-goals: things that would make it a failure even if it "works"**
@@ -264,6 +271,17 @@ intervals 2/5/15/60/300/900 s, and each series' measured mode codes.
rewrites the setup the unit is running, in place, under its own name. It rewrites the setup the unit is running, in place, under its own name. It
never asks for a file or a name, and never creates one. The name may show as never asks for a file or a name, and never creates one. The name may show as
a read-only detail, since the unit's screen shows it. a read-only detail, since the unit's screen shows it.
- **The scheduler can undo a change (Brian, 2026-11-03, with THOR's Manage
Schedules screen).** Work-hours Micromates run a THOR schedule, e.g. Start
Monitoring 07:00 with setup `Mele-PWSA-Carroll -Loc 4`, stop 18:30, repeat
daily. THOR sends the schedule with its setup, and each scheduled start loads
the setup it names. So the preview and the send read `schedule.dat` (format
decoded, reference *The schedule record format*), read-only. A start action
naming a setup other than the one being changed blocks the send: "this unit's
schedule loads <name> at 07:00, which would replace this change." When the
schedule names the active setup (the usual case after a scheduled start), the
change survives, and the preview says when the next scheduled start is.
SFM never writes the schedule in this phase.
- The name comes from the `0x41` read, unstripped. - The name comes from the `0x41` read, unstripped.
- Refuse `factory.MMB` and any target that is not the active setup (spec). The - Refuse `factory.MMB` and any target that is not the active setup (spec). The
refusal says it plainly: "this unit is running its factory setup; load any refusal says it plainly: "this unit is running its factory setup; load any