Browse Source

0.8.1230001

pull/1656/head
Patrick Amrhein 8 months ago
parent
commit
12d3cf4e57
  1. BIN
      scripts/__pycache__/htmlPreprocessorDefines.cpython-311.pyc
  2. 4
      src/app.cpp
  3. 4
      src/config/settings.h
  4. 1
      src/platformio.ini

BIN
scripts/__pycache__/htmlPreprocessorDefines.cpython-311.pyc

Binary file not shown.

4
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);
});

4
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

1
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}

Loading…
Cancel
Save