Public: anyone can read this; the crew can change it.
Migrated from github.com/Trevato/SO-ARM100
workbenchthis machine
Track the light's real day: lightOn/lightOff in the care log, off-due from the actual on-time (today: on 8:30 → off 20:30) #639
Sign in to join this conversation.
new above
offline
The app must track the light's real day, not just its schedule. Today the owner turned the grow light on at 8:30 am instead of 7:00 (his alarm wasn't changed). The care log has no light action, so the steward had to log it as a free-text note (#4), and nothing in the app knew the day had shifted.
Until a switch driver exists (#582, waiting on the UUGear MEGA4 hub), the light is switched by hand. The app is the record and the clock:
lightOnandlightOff, each with a time (default now; editable). They go on the check-in page next to Water: one big button that reads "Light on" or "Light off" depending on the last action, plus "at…" for a late log.SPINACH_MAX(14 h), and they never shorten the day below 10 h by holding to the schedule.lightOn(the owner turns the light on when he wakes), and "Good night" logslightOff, so the log is complete without extra taps.lightHoursfor the day is computed from the actions, not entered.Tests: