Wed, 15 Apr 2020 20:18:00 +0200
Changed priming sugar calculation to Brew by the Numbers by Michael L. Hall. This gives a bit higher and better amount of sugar to use. Removed dead parameter from the ResCO2 function.
0 | 1 | /** |
2 | * @file fermenters.h | |
3 | */ | |
4 | ||
5 | #ifndef _FERMENTERS_H | |
6 | #define _FERMENTERS_H | |
7 | ||
8 | void fermenter_dump(sys_fermenter_list *fermenter); | |
9 | ||
10 | /** | |
11 | * @brief Birth of a fermenter or data update. Create it in the database if | |
12 | * never seen before, else just update the database entry. | |
13 | * @param topic The MQTT topic string, contains the fermenter type and name. | |
14 | * @param payload The JSON formatted payload with the fermenter details. | |
15 | */ | |
16 | void fermenter_birth_data(char *topic, char *payload); | |
17 | ||
18 | /** | |
19 | * @brief Death of a fermenter. Mark it offline in the database. | |
20 | * @param topic The MQTT topic string, contains the fermenter type and name. | |
21 | */ | |
22 | void fermenter_death(char *topic); | |
23 | ||
24 | /** | |
25 | * @brief Data logging from fermenters. | |
26 | * @param topic The MQTT topic string, contains the fermenter type and name. | |
27 | * @param payload The JSON formatted payload with the fermenter details. | |
28 | */ | |
29 | void fermenter_log(char *topic, char *payload); | |
30 | ||
31 | ||
32 | #endif |