diff -r f5d85af156ab -r 5c30c8ef83a8 thermferm/thermferm.h --- a/thermferm/thermferm.h Wed May 01 14:38:37 2024 +0200 +++ b/thermferm/thermferm.h Thu May 02 15:49:16 2024 +0200 @@ -63,6 +63,14 @@ /* + * Thread states + */ +#define THREAD_OFF 0 +#define THREAD_RUN 1 +#define THREAD_PAUSE 2 + + +/* * Frontpanel menu numbers */ #define MENU_NONE 0 @@ -367,6 +375,12 @@ char *light_address; /* Simulated interior light */ int light_present; int light_power; + char *door_address; /* Simulated fridge door */ + int door_present; + int door_value; + char *psu_address; /* Simulated PSU status */ + int psu_present; + int psu_value; float frigo_isolation; /* Frigo isolation value */ time_t timestamp;