Add webserver text when Volvo SPA battery used

This commit is contained in:
Daniel 2024-02-29 13:35:27 +02:00
parent f4f32e0238
commit f533e938a3
2 changed files with 4 additions and 1 deletions

View file

@ -17,7 +17,7 @@
//#define RENAULT_ZOE_BATTERY //#define RENAULT_ZOE_BATTERY
//#define SANTA_FE_PHEV_BATTERY //#define SANTA_FE_PHEV_BATTERY
//#define TESLA_MODEL_3_BATTERY //#define TESLA_MODEL_3_BATTERY
#define VOLVO_SPA_BATTERY //#define VOLVO_SPA_BATTERY
//#define TEST_FAKE_BATTERY //#define TEST_FAKE_BATTERY
/* Select inverter communication protocol. See Wiki for which to use with your inverter: https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/wiki */ /* Select inverter communication protocol. See Wiki for which to use with your inverter: https://github.com/dalathegreat/BYD-Battery-Emulator-For-Gen24/wiki */

View file

@ -450,6 +450,9 @@ String processor(const String& var) {
#ifdef TESLA_MODEL_3_BATTERY #ifdef TESLA_MODEL_3_BATTERY
content += "Tesla Model S/3/X/Y"; content += "Tesla Model S/3/X/Y";
#endif #endif
#ifdef VOLVO_SPA_BATTERY
content += "Volvo SPA XC40 Recharge / Polestar2 78kWh battery";
#endif
#ifdef TEST_FAKE_BATTERY #ifdef TEST_FAKE_BATTERY
content += "Fake battery for testing purposes"; content += "Fake battery for testing purposes";
#endif #endif