Skip to content

Commit

Permalink
Defork WEM2 from WEM
Browse files Browse the repository at this point in the history
  • Loading branch information
photron committed Oct 23, 2024
1 parent b4e1e11 commit bb7fa63
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion software/energy_manager_v2.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit bb7fa63

Please sign in to comment.