Public: anyone can read this; the crew can change it.
Migrated from github.com/Trevato/SO-ARM100
workbenchthis machine
/care refreshes itself when dosing changes: a mode change, a resume or a stop sends an event on /care/events #618
Sign in to join this conversation.
From pull #604 (closed), the part of #586 that main does not have yet. smith's branch
smith/586-close-the-loop-sensors-ph-ec-temperaturehas a working start (Doser.onChange, the care routes subscribing to it, and a test incare-dosing.test.ts). Reuse it.Done when:
Doser(src/doser.ts) gets anonChange(fn)hook, called after a mode change, a resume, a halt or a dose./care/eventsfor each change, so an open/carepage re-renders the Dosing card without a reload.Files: src/doser.ts, src/care-routes.ts, src/care-dosing.test.ts. Not here: anything that makes a pump run on its own (the next issue).