config: expand relay model from 2 to 6 outputs

This commit is contained in:
2026-06-29 22:52:05 -06:00
parent 24e86e2eb1
commit 406033bec8
2 changed files with 42 additions and 2 deletions
@@ -30,6 +30,46 @@ void loadDefaultConfig() {
true
};
appConfig.relays[2] = {
"relay_3",
"Relay 3",
"starlink",
3,
0,
true,
true
};
appConfig.relays[3] = {
"relay_4",
"Relay 4",
"aux",
4,
0,
true,
true
};
appConfig.relays[4] = {
"relay_5",
"Relay 5",
"aux",
5,
0,
true,
true
};
appConfig.relays[5] = {
"relay_6",
"Relay 6",
"aux",
6,
0,
true,
true
};
appConfig.tempSensorCount = 4;
for (int i = 0; i < MAX_TEMP_SENSORS; i++) {
@@ -2,9 +2,9 @@
#include <Arduino.h>
#define MAX_RELAYS 2
#define MAX_RELAYS 6
#define MAX_TEMP_SENSORS 4
#define HARDWARE_PROFILE "generic_esp32_2ch_relay"
#define HARDWARE_PROFILE "lilygo_trelay_s3_6ch"
struct RelayConfig {
String id;