From 04f53fcb0902a3aa312108078ddd6adcb88347a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Balzarotti?= Date: Sat, 19 Nov 2022 20:37:20 +0100 Subject: [PATCH] recipes: Add tepache. --- recipes.json | 46 +++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/recipes.json b/recipes.json index d3bde42..25094b0 100644 --- a/recipes.json +++ b/recipes.json @@ -1,9 +1,45 @@ [ + { + "name": "Tepache", + "variant": "default", + "controllers": [ + "(make-duty-controller \"heater\" 0.20 120)" + ], + "description": "Tiene il tepache a ~23 gradi", + "phases": [ + { + "name": "Hold", + "description": "Keep 42°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\")" + } + ] + }, { "name": "Yogurt", "variant": "default", "controllers": [ - "(make-duty-controller \"heater\" 0.20 120)" + "(make-duty-controller \"heater\" 0.20 120)" ], "description": "Pastorizza lo yogurt a 82 gradi, lascia raffreddare per fare l'inoculo, mantiene a 42 gradi fino a che è pronto.", "phases": [ @@ -39,7 +75,7 @@ "name": "Nattō", "variant": "default", "controllers": [ - "(make-duty-controller \"heater\" 0.20 120)" + "(make-duty-controller \"heater\" 0.20 120)" ], "description": "FIXME", "phases": [] @@ -48,7 +84,7 @@ "name": "Tempeh", "variant": "default", "controllers": [ - "(make-duty-controller \"heater\" 0.20 120)" + "(make-duty-controller \"heater\" 0.20 120)" ], "description": "FIXME", "phases": [] @@ -57,7 +93,7 @@ "name": "Koji Rice", "variant": "default", "controllers": [ - "(make-duty-controller \"heater\" 0.20 120)" + "(make-duty-controller \"heater\" 0.20 120)" ], "description": "FIXME", "phases": [] @@ -66,7 +102,7 @@ "name": "Gorgonzola", "variant": "default", "controllers": [ - "(make-duty-controller \"heater\" 0.20 120)" + "(make-duty-controller \"heater\" 0.20 120)" ], "description": "FIXME", "phases": []