From 2c5dd60aa4fb2b2778c3bf1e19069b8448a53315 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Balzarotti?= Date: Tue, 14 Mar 2023 22:37:13 +0100 Subject: [PATCH] update recipes --- recipes.json | 41 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/recipes.json b/recipes.json index 22f9abc..2f8063e 100644 --- a/recipes.json +++ b/recipes.json @@ -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)", "description": "Tiene riso alla temperatura e umidità giuste per il koji", "controllers": [ - "(make-duty-controller \"heater\" 0.40 60 '<)", - "(make-duty-controller \"humidifier\" 0.10 100 '<)" + "(make-duty-controller \"heater\" 0.90 60 '<)", + "(make-duty-controller \"humidifier\" 0.40 100 '<)" ], "phases": [ { @@ -94,7 +125,7 @@ "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.", "controllers": [ - "(make-duty-controller \"heater2\" 0.10 120 '<)", + "(make-duty-controller \"heater2\" 0.40 60 '<)", "(make-duty-controller \"freezer\" 0.75 (* 30 60) '>)" ], "phases": [ @@ -123,13 +154,13 @@ "name": "Hold", "description": "Keep at 42°C for 4h", "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\")" }, { "name": "Refrigerate", "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_exit": "(begin (notify \"You can remove the yogurt from the heater\") (set-actuator \"fan\" #f))" }