Closed mryall-mawson closed 1 year ago
Tested and working on two boards. See dashboard screenshot below.
Configuration is deployed in ~/uts/uts-programs.toml
on B4, and looks like this:
loop = false
[[programs]]
heat_board = "Bottom"
heat_time = "60s"
heat_duty = 1.0
temp_sensor = "TH1"
temp_abort = 90.0
thermostat = 80.0
cool_time = "1m 30s"
[[programs]]
heat_board = "Bottom"
heat_time = "30s"
heat_duty = 0.5
temp_sensor = "J7"
temp_abort = 60.0
cool_time = "60s"
[[programs]]
heat_board = "Top"
heat_time = "60s"
heat_duty = 1.0
temp_sensor = "TH1"
temp_abort = 90.0
thermostat = 80.0
cool_time = "1m 30s"
Currently programs can only be run from the command line. Configuring and running them via the web interface will be another task.
Create a new binary
uts-run
that does the following:uts-programs.toml
config file with the programs and run order from the spreadsheet linked in #42Also consider whether to implement temperature abort in firmware rather than software.