mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-21 03:47:01 +02:00
0.8.1230001
This commit is contained in:
parent
aa9da851a1
commit
12d3cf4e57
4 changed files with 3 additions and 6 deletions
Binary file not shown.
|
@ -76,13 +76,9 @@ void app::setup() {
|
||||||
mCommunication.addPowerPowerAckListener([this] (Inverter<> *iv) {
|
mCommunication.addPowerPowerAckListener([this] (Inverter<> *iv) {
|
||||||
mZeroExport.eventAckSetPower(iv);
|
mZeroExport.eventAckSetPower(iv);
|
||||||
});
|
});
|
||||||
#endif /*PLUGIN_ZEROEXPORT*/
|
|
||||||
#if defined(PLUGIN_ZEROEXPORT)
|
|
||||||
mCommunication.addPowerRebootAckListener([this] (Inverter<> *iv) {
|
mCommunication.addPowerRebootAckListener([this] (Inverter<> *iv) {
|
||||||
mZeroExport.eventAckSetReboot(iv);
|
mZeroExport.eventAckSetReboot(iv);
|
||||||
});
|
});
|
||||||
#endif /*PLUGIN_ZEROEXPORT*/
|
|
||||||
#if defined(PLUGIN_ZEROEXPORT)
|
|
||||||
mCommunication.addNewDataListener([this] (Inverter<> *iv) {
|
mCommunication.addNewDataListener([this] (Inverter<> *iv) {
|
||||||
mZeroExport.eventNewDataAvailable(iv);
|
mZeroExport.eventNewDataAvailable(iv);
|
||||||
});
|
});
|
||||||
|
|
|
@ -67,7 +67,9 @@
|
||||||
|
|
||||||
#define MQTT_MAX_PACKET_SIZE 384
|
#define MQTT_MAX_PACKET_SIZE 384
|
||||||
|
|
||||||
|
#if defined(PLUGIN_ZEROEXPORT)
|
||||||
|
#define ZEXPORT_ADDR_LEN 100 // Zero-Export Address
|
||||||
|
#endif /*PLUGIN_ZEROEXPORT*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint8_t ip[4]; // ip address
|
uint8_t ip[4]; // ip address
|
||||||
uint8_t mask[4]; // sub mask
|
uint8_t mask[4]; // sub mask
|
||||||
|
|
|
@ -353,7 +353,6 @@ build_flags = ${env:opendtufusion-zero_export.build_flags}
|
||||||
|
|
||||||
[env:opendtufusion-ethernet]
|
[env:opendtufusion-ethernet]
|
||||||
platform = espressif32@6.6.0
|
platform = espressif32@6.6.0
|
||||||
platform = espressif32@6.6.0
|
|
||||||
board = esp32-s3-devkitc-1
|
board = esp32-s3-devkitc-1
|
||||||
upload_protocol = esp-builtin
|
upload_protocol = esp-builtin
|
||||||
build_flags = ${env:opendtufusion-minimal.build_flags}
|
build_flags = ${env:opendtufusion-minimal.build_flags}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue