0.8.1230001

This commit is contained in:
Patrick Amrhein 2024-06-02 18:43:48 +02:00
parent aa9da851a1
commit 12d3cf4e57
4 changed files with 3 additions and 6 deletions

View file

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

View file

@ -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

View file

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