mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-29 05:20:58 +00:00
Zmartcharge support (#1007)
* ZC initial implementation * ZmartCharge * Fixed zc bug * Adjustments to ZmartCharge connection
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
extra_configs = platformio-user.ini
|
||||
|
||||
[common]
|
||||
lib_deps = EEPROM, LittleFS, DNSServer, 256dpi/MQTT@2.5.2, OneWireNg@0.13.3, DallasTemperature@4.0.4, https://github.com/gskjold/RemoteDebug.git, PaulStoffregen/Time@1.6.1, JChristensen/Timezone@1.2.4, FirmwareVersion, AmsConfiguration, AmsData, AmsDataStorage, HwTools, Uptime, AmsDecoder, PriceService, EnergyAccounting, AmsFirmwareUpdater, AmsMqttHandler, RawMqttHandler, JsonMqttHandler, DomoticzMqttHandler, HomeAssistantMqttHandler, PassthroughMqttHandler, RealtimePlot, ConnectionHandler, MeterCommunicators
|
||||
lib_deps = EEPROM, LittleFS, DNSServer, 256dpi/MQTT@2.5.2, OneWireNg@0.13.3, DallasTemperature@4.0.4, https://github.com/gskjold/RemoteDebug.git, PaulStoffregen/Time@1.6.1, JChristensen/Timezone@1.2.4, bblanchon/ArduinoJson@7.0.4, FirmwareVersion, AmsConfiguration, AmsData, AmsDataStorage, HwTools, Uptime, AmsDecoder, PriceService, EnergyAccounting, AmsFirmwareUpdater, AmsMqttHandler, RawMqttHandler, JsonMqttHandler, DomoticzMqttHandler, HomeAssistantMqttHandler, PassthroughMqttHandler, RealtimePlot, ConnectionHandler, MeterCommunicators
|
||||
lib_ignore = OneWire
|
||||
extra_scripts =
|
||||
pre:scripts/addversion.py
|
||||
@@ -19,7 +19,7 @@ build_flags =
|
||||
-fexceptions
|
||||
|
||||
[esp32]
|
||||
lib_deps = WiFi, Ethernet, ESPmDNS, WiFiClientSecure, HTTPClient, FS, WebServer, ESP32 Async UDP, ESP32SSDP, mulmer89/ESPRandom@1.5.0, ${common.lib_deps}, CloudConnector, SvelteUi
|
||||
lib_deps = WiFi, Ethernet, ESPmDNS, WiFiClientSecure, HTTPClient, FS, WebServer, ESP32 Async UDP, ESP32SSDP, mulmer89/ESPRandom@1.5.0, ${common.lib_deps}, CloudConnector, ZmartCharge, SvelteUi
|
||||
|
||||
[env:esp8266]
|
||||
platform = espressif8266@4.2.1
|
||||
@@ -44,6 +44,7 @@ build_flags =
|
||||
-D AMS_REMOTE_DEBUG=1
|
||||
-D AMS_CLOUD=1
|
||||
-D AMS_KMP=1
|
||||
-D ZMART_CHARGE=1
|
||||
-L precompiled/esp32
|
||||
-lKmpTalker
|
||||
lib_ldf_mode = off
|
||||
@@ -70,6 +71,7 @@ build_flags =
|
||||
-D AMS_REMOTE_DEBUG=1
|
||||
-D AMS_CLOUD=1
|
||||
-D AMS_KMP=1
|
||||
-D ZMART_CHARGE=1
|
||||
-L precompiled/esp32s2
|
||||
-lKmpTalker
|
||||
lib_ldf_mode = off
|
||||
@@ -90,6 +92,7 @@ build_flags =
|
||||
-D AMS_REMOTE_DEBUG=1
|
||||
-D AMS_CLOUD=1
|
||||
-D AMS_KMP=1
|
||||
-D ZMART_CHARGE=1
|
||||
-L precompiled/esp32
|
||||
-lKmpTalker
|
||||
lib_ldf_mode = off
|
||||
@@ -109,6 +112,7 @@ build_flags =
|
||||
-D AMS_REMOTE_DEBUG=1
|
||||
-D AMS_CLOUD=1
|
||||
-D AMS_KMP=1
|
||||
-D ZMART_CHARGE=1
|
||||
-L precompiled/esp32c3
|
||||
-lKmpTalker
|
||||
lib_ldf_mode = off
|
||||
@@ -127,6 +131,7 @@ build_flags =
|
||||
-D AMS_REMOTE_DEBUG=1
|
||||
-D AMS_CLOUD=1
|
||||
-D AMS_KMP=1
|
||||
-D ZMART_CHARGE=1
|
||||
-L precompiled/esp32s3
|
||||
-lKmpTalker
|
||||
lib_ldf_mode = off
|
||||
|
||||
Reference in New Issue
Block a user