From 12d3cf4e5760bde41b5af21eca89993078ad298b Mon Sep 17 00:00:00 2001 From: Patrick Amrhein Date: Sun, 2 Jun 2024 18:43:48 +0200 Subject: [PATCH] 0.8.1230001 --- .../htmlPreprocessorDefines.cpython-311.pyc | Bin 2175 -> 2214 bytes src/app.cpp | 4 ---- src/config/settings.h | 4 +++- src/platformio.ini | 1 - 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/scripts/__pycache__/htmlPreprocessorDefines.cpython-311.pyc b/scripts/__pycache__/htmlPreprocessorDefines.cpython-311.pyc index 6dca7de6a79130b4cda26f55fab17c7adff71d33..8958f9b8295a1a1baf7ffa6446c5b498f5f78b04 100644 GIT binary patch delta 80 zcmew_uuPD9IWI340}!mxW1YzTz#`t+DkiizwWv5IEi*MGH77g9B|o_|H#M)MI3^$` hu_P_ODA&_JCZH%kD>WG?R+5=qQk0pTz41>oI{-J%9fJS> delta 42 wcmZ1`_+Nl~IWI340}y *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}