update recipes

This commit is contained in:
Nicolò Balzarotti 2023-03-14 22:37:13 +01:00
parent b74c9555d4
commit 2c5dd60aa4
1 changed files with 36 additions and 5 deletions

View File

@ -1,10 +1,41 @@
[ [
{
"name": "Pollo CBT",
"description": "Cuoce il pollo in vasetto a bassa temperatura",
"controllers": [
"(make-duty-controller \"heater\" 0.90 60 '<)",
"(make-duty-controller \"heater2\" 0.90 60 '<)"
],
"phases": [
{
"name": "Prepare",
"description": "Turn Fan On",
"exit_condition": "#t",
"on_load": "(set-actuator \"fan\" #t)",
"on_exit": "#t"
},
{
"name": "Heat",
"description": "Reach 78°C",
"exit_condition": "(>= (get-sensor \"T_ext\") 78.0)",
"on_load": "(begin (set-controller \"heater\" \"T_food\")\n(set-controller \"heater2\" \"T_ext\")\n(set-target \"T_food\" 78.0)\n(set-target \"T_ext\" 78.0))",
"on_exit": "(notify \"Temperatura raggiunta!\")"
},
{
"name": "Hold",
"description": "Keep 30°C",
"exit_condition": "(> (time-in-this-phase) (hours 3))",
"on_exit": "(notify \"Il pollo è cotto!\")",
"on_load": "#t"
}
]
},
{ {
"name": "Koji Rice (MISO)", "name": "Koji Rice (MISO)",
"description": "Tiene riso alla temperatura e umidità giuste per il koji", "description": "Tiene riso alla temperatura e umidità giuste per il koji",
"controllers": [ "controllers": [
"(make-duty-controller \"heater\" 0.40 60 '<)", "(make-duty-controller \"heater\" 0.90 60 '<)",
"(make-duty-controller \"humidifier\" 0.10 100 '<)" "(make-duty-controller \"humidifier\" 0.40 100 '<)"
], ],
"phases": [ "phases": [
{ {
@ -94,7 +125,7 @@
"name": "Yogurt", "name": "Yogurt",
"description": "Lascia raffreddare lo yogurt per fare l'inoculo, mantiene a 42 gradi fino a che è pronto, e poi porta a 4 gradi.", "description": "Lascia raffreddare lo yogurt per fare l'inoculo, mantiene a 42 gradi fino a che è pronto, e poi porta a 4 gradi.",
"controllers": [ "controllers": [
"(make-duty-controller \"heater2\" 0.10 120 '<)", "(make-duty-controller \"heater2\" 0.40 60 '<)",
"(make-duty-controller \"freezer\" 0.75 (* 30 60) '>)" "(make-duty-controller \"freezer\" 0.75 (* 30 60) '>)"
], ],
"phases": [ "phases": [
@ -123,13 +154,13 @@
"name": "Hold", "name": "Hold",
"description": "Keep at 42°C for 4h", "description": "Keep at 42°C for 4h",
"exit_condition": "(> (time-in-this-phase) (hours 4))", "exit_condition": "(> (time-in-this-phase) (hours 4))",
"on_load": "(begin (set-target \"T_food\" 41.0) (set-target \"T_ext\" 41.0))", "on_load": "(begin (set-target \"T_food\" 41.5) (set-target \"T_ext\" 47.0))",
"on_exit": "(notify \"The yougrt is ready\")" "on_exit": "(notify \"The yougrt is ready\")"
}, },
{ {
"name": "Refrigerate", "name": "Refrigerate",
"description": "Lower temperature to 4gradi", "description": "Lower temperature to 4gradi",
"exit_condition": "(manual-intervention \"Rimuovi lo yogurt\" '((\"Fatto\" #t)))", "exit_condition": "#f",
"on_load": "(begin (set-target \"T_food\" 4.0) (set-target \"T_ext\" 4.0))", "on_load": "(begin (set-target \"T_food\" 4.0) (set-target \"T_ext\" 4.0))",
"on_exit": "(begin (notify \"You can remove the yogurt from the heater\") (set-actuator \"fan\" #f))" "on_exit": "(begin (notify \"You can remove the yogurt from the heater\") (set-actuator \"fan\" #f))"
} }