Use platformio and more updates

This commit is contained in:
Yurii
2023-09-16 22:00:07 +03:00
parent 493490895c
commit 4f305a6459
19 changed files with 1479 additions and 1267 deletions

View File

@@ -4,6 +4,12 @@ struct Settings {
byte outdoorTempSource = 0;
char hostname[80] = "opentherm";
struct {
byte inPin = 5;
byte outPin = 4;
unsigned int memberIdCode = 4;
} opentherm;
struct {
char server[80];
int port = 1883;
@@ -21,6 +27,7 @@ struct Settings {
struct {
bool enable = true;
bool turbo = false;
float target = 40.0f;
float hysteresis = 0.5f;
} heating;
@@ -39,9 +46,9 @@ struct Settings {
struct {
bool enable = false;
float n_factor = 0.67f;
float k_factor = 1.0f;
float t_factor = 5.0f;
float n_factor = 0.7f;
float k_factor = 3.0f;
float t_factor = 2.0f;
} equitherm;
} settings;
@@ -61,6 +68,7 @@ struct Variables {
bool fault = false;
bool diagnostic = false;
byte faultCode = 0;
int8_t rssi = 0;
} states;
struct {