GridFree SUN-2000G (#926)

* Support for GridFree Sun-2000G inverter

* Bump version of GFSunInverter

Co-authored-by: Martin Korbel <korbel@blackserver.cz>
This commit is contained in:
Martin KorbelandMartin Korbel authored and GitHub committed 2021-04-23 20:40:09 -05:00
1 parent e7b964ef5b
commit 23cd2a3104
5 files changed
+168

No files matched your search

+15
View File
@@ -38,6 +38,7 @@ extra_configs =
;default_envs = esp32dev-somfy-cc1101
;default_envs = esp32dev-pilight-somfy-cc1101
;default_envs = esp32dev-weatherstation
;default_envs = esp32dev-gf-sun-inverter
;default_envs = esp32dev-ir
;default_envs = esp32dev-ble
;default_envs = esp32dev-ble-cont
@@ -120,6 +121,8 @@ stl = https://github.com/mike-matera/ArduinoSTL.git#7411816
shtc3 = https://github.com/sparkfun/SparkFun_SHTC3_Arduino_Library
somfy_remote=Somfy_Remote_Lib@0.2.0
rtl_433_ESP = https://github.com/NorthernMan54/rtl_433_ESP#38ee89a
emodbus = miq19/eModbus@1.0.0
gfSunInverter = https://github.com/BlackSmith/GFSunInverter.git#v1.0.1
[env]
framework = arduino
@@ -314,6 +317,18 @@ build_flags =
'-DZgatewayWeatherStation="WeatherStation"'
'-DGateway_Name="OpenMQTTGateway_ESP32_WeatherStation"'
[env:esp32dev-gf-sun-inverter]
platform = ${com.esp32_platform}
board = esp32dev
lib_deps =
${com-esp.lib_deps}
${libraries.emodbus}
${libraries.gfSunInverter}
build_flags =
${com-esp.build_flags}
'-DZgatewayGFSunInverter="GFSunInverter"'
'-DGateway_Name="OpenMQTTGateway_ESP32_GFSunInverter"'
[env:esp32dev-ir]
platform = ${com.esp32_platform}
board = esp32dev