diff --git a/firmware/esp32/overland-controller/app_config.cpp b/firmware/esp32/overland-controller/app_config.cpp index b586f37..27a1519 100644 --- a/firmware/esp32/overland-controller/app_config.cpp +++ b/firmware/esp32/overland-controller/app_config.cpp @@ -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++) { diff --git a/firmware/esp32/overland-controller/app_config.h b/firmware/esp32/overland-controller/app_config.h index a3bf5ca..d562df0 100644 --- a/firmware/esp32/overland-controller/app_config.h +++ b/firmware/esp32/overland-controller/app_config.h @@ -2,9 +2,9 @@ #include -#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;