diff --git a/software/energy_manager_v2.ini b/software/energy_manager_v2.ini index 6d68b190a..c2b2fc3d6 100644 --- a/software/energy_manager_v2.ini +++ b/software/energy_manager_v2.ini @@ -1,9 +1,31 @@ [env:energy_manager_v2] -extends = env:energy_manager +extends = env:base_esp32_ethernet + +lib_deps = ${env:base_esp32_ethernet.lib_deps} + https://github.com/Tinkerforge/WireGuard-ESP32-Arduino#83985ec + https://github.com/Tinkerforge/tfmodbustcp#7e59917 + +build_flags = ${env:base_esp32_ethernet.build_flags} + -DMETER_VALUE_HISTORY_VALUE_TYPE=int32_t + -DMETER_VALUE_HISTORY_VALUE_MIN=-9999999 + -DMETER_VALUE_HISTORY_VALUE_MAX=9999999 + -DMETERS_SLOTS=7 + -DMETERS_SLOT_0_DEFAULT_CLASS=MeterClassID::EnergyManager + -DPOWER_MANAGER_DEFAULT_METER_SLOT=0 + ;-DTF_NETWORK_UTIL_DEBUG_LOG=1 + ;-DTF_IGNORE_DEVICE_IDS=2169 + ;2169: Energy Manager Bricklet custom_name = energy_manager_v2 +custom_config_type = wem custom_host_prefix = wem2 custom_display_name = WARP Energy Manager 2.0 +custom_manual_url = https://www.warp-charger.com/downloads/#documents-wem2 +custom_apidoc_url = https://www.warp-charger.com/api.html +custom_firmware_url = https://www.warp-charger.com/downloads/#firmwares-wem2 +custom_firmware_update_url = https://www.warp-charger.com/firmwares/ +custom_require_firmware_info = 1 +custom_web_build_flags = METERS_SLOTS = 7 custom_branding = Energy Manager custom_backend_modules = ESP32 Ethernet Brick