master
Nicolò Balzarotti 2022-11-19 20:39:37 +01:00
parent 04f53fcb09
commit 72a776fca0
1 changed files with 2 additions and 22 deletions

View File

@ -9,29 +9,9 @@
"phases": [
{
"name": "Hold",
"description": "Keep 42°C",
"description": "Keep 23°C",
"on_load": "(begin (set-controller \"heater\" \"T_food\")\n(set-target \"T_food\" 23.0))",
"exit_condition": "(and (> (time-in-this-phase) (minutes 10)))"
},
{
"name": "Cool",
"description": "Cool to 46°",
"on_load": "(set-target \"T_food\" 46.0)",
"exit_condition": "(and (< (get-sensor \"T_food\") 46.0)\n(> (get-sensor \"T_food\") 42.0))"
},
{
"name": "Inoculate",
"description": "Add 50ml Yogurt",
"on_load": "(notify \"Inoculate 50g of yogurt NOW!\")",
"exit_condition": "(manual-intervention \"Inocula 50g di yogurt\" '((\"Fatto\" #t)))",
"on_exit": "(notify (concat \"Inoculated at \" (now)))"
},
{
"name": "Hold",
"description": "Keep at 42° for 3h",
"on_load": "(set-target \"T_food\" 41.0)",
"exit_condition": "(> (time-in-this-phase) (hours 3))",
"on_exit": "(notify \"You can remove the yogurt from the heater\")"
"exit_condition": "(and (> (time-in-this-phase) (hours 10)))"
}
]
},