V 1.5.2 Versionszeit anzeigen, Offsets per MQTT einstellbar

This commit is contained in:
rxf
2024-08-22 14:17:14 +02:00
parent e66633186b
commit c57572262f
8 changed files with 57 additions and 29 deletions

View File

@@ -13,9 +13,14 @@ const float dampftabelle[] = {
// 30, 31, 32, 33, 34, 35 36
30.35, 32.05, 33, 85, 35.70, 37.65, 39.6, 41.7};
const int indexOffset = 15;
const float tempOffset = 3.2;
const float humOffset = 5.0;
#ifdef INTERPOL
float tempOffset = 3.2;
float humOffset = 5.0;
#else
extern float tempOffset;
extern float humOffset;
#endif
float getDampfgehalt(float temp);
int getRelativeFeuchte(float temp, float hum);