diff --git a/scripts/__pycache__/htmlPreprocessorDefines.cpython-311.pyc b/scripts/__pycache__/htmlPreprocessorDefines.cpython-311.pyc
index 6dca7de6..8958f9b8 100644
Binary files a/scripts/__pycache__/htmlPreprocessorDefines.cpython-311.pyc and b/scripts/__pycache__/htmlPreprocessorDefines.cpython-311.pyc differ
diff --git a/src/app.cpp b/src/app.cpp
index 348af81c..4b1b2c81 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -76,13 +76,9 @@ void app::setup() {
mCommunication.addPowerPowerAckListener([this] (Inverter<> *iv) {
mZeroExport.eventAckSetPower(iv);
});
- #endif /*PLUGIN_ZEROEXPORT*/
- #if defined(PLUGIN_ZEROEXPORT)
mCommunication.addPowerRebootAckListener([this] (Inverter<> *iv) {
mZeroExport.eventAckSetReboot(iv);
});
- #endif /*PLUGIN_ZEROEXPORT*/
- #if defined(PLUGIN_ZEROEXPORT)
mCommunication.addNewDataListener([this] (Inverter<> *iv) {
mZeroExport.eventNewDataAvailable(iv);
});
diff --git a/src/config/settings.h b/src/config/settings.h
index 32d23511..eda4a7b4 100644
--- a/src/config/settings.h
+++ b/src/config/settings.h
@@ -67,7 +67,9 @@
#define MQTT_MAX_PACKET_SIZE 384
-
+#if defined(PLUGIN_ZEROEXPORT)
+#define ZEXPORT_ADDR_LEN 100 // Zero-Export Address
+#endif /*PLUGIN_ZEROEXPORT*/
typedef struct {
uint8_t ip[4]; // ip address
uint8_t mask[4]; // sub mask
diff --git a/src/platformio.ini b/src/platformio.ini
index f041b798..828d7e48 100644
--- a/src/platformio.ini
+++ b/src/platformio.ini
@@ -353,7 +353,6 @@ build_flags = ${env:opendtufusion-zero_export.build_flags}
[env:opendtufusion-ethernet]
platform = espressif32@6.6.0
-platform = espressif32@6.6.0
board = esp32-s3-devkitc-1
upload_protocol = esp-builtin
build_flags = ${env:opendtufusion-minimal.build_flags}