Update to rtl_433_ESP 0.1.5 and support for LILYGO® LoRa32 V2.1_1.6.1 433 Mhz (#1371)

* Update to rtl_433_ESP 0.1.5

Includes support for LILYGO® LoRa32 V2.1_1.6.1 433 Mhz

* Fix lint issue

* Fix build and lint issues

* Add lilygo-rtl_433 to build.yml
This commit is contained in:
Northern Man authored and GitHub committed 2022-12-26 13:48:08 -06:00
1 parent 85a4fd6e15
commit 2e0d1708c3
9 files changed
+207 -121

No files matched your search

+32 -9
View File
@@ -135,7 +135,7 @@ smartrc-cc1101-driver-lib = SmartRC-CC1101-Driver-Lib@2.5.7
stl = https://github.com/mike-matera/ArduinoSTL.git#7411816
shtc3 = https://github.com/sparkfun/SparkFun_SHTC3_Arduino_Library
somfy_remote=Somfy_Remote_Lib@0.3.0
rtl_433_ESP = https://github.com/NorthernMan54/rtl_433_ESP.git#v0.1.4
rtl_433_ESP = https://github.com/NorthernMan54/rtl_433_ESP.git#v0.1.5
emodbus = miq19/eModbus@1.0.0
gfSunInverter = https://github.com/BlackSmith/GFSunInverter.git#v1.0.1
decoder = https://github.com/theengs/decoder.git#v0.9.7
@@ -827,7 +827,7 @@ build_flags =
[env:heltec-rtl_433]
platform = ${com.esp32_platform}
board = heltec_wifi_lora_32_V2
board = heltec_wifi_lora_32_V2 ; ~/.platformio/packages/framework-arduinoespressif32/variants/.../pins_arduino.h
board_build.partitions = min_spiffs.csv
lib_deps =
${com-esp.lib_deps}
@@ -842,11 +842,34 @@ build_flags =
'-DGateway_Name="OpenMQTTGateway_heltec_rtl_433_ESP"'
; *** OpenMQTTGateway Modules ***
'-DZgatewayRTL_433="rtl_433"'
'-DZboardHELTEC="HELTEC"'
'-DZdisplaySSD1306="HELTEC_SSD1306"'
'-DZradioSX127x="SX127x"'
; *** ssd1306 Module Options ***
; '-DLOG_TO_LCD=true' ; Enable log to LCD
; '-DLOG_LEVEL_LCD=LOG_LEVEL_TRACE' // default is notice log level
'-DLOG_TO_LCD=true' ; Enable log to LCD
; '-DLOG_LEVEL_LCD=LOG_LEVEL_NOTICE' // default is WARNING log level
[env:lilygo-rtl_433]
platform = ${com.esp32_platform}
board = ttgo-lora32-v21 ; ~/.platformio/packages/framework-arduinoespressif32/variants/.../pins_arduino.h
board_build.partitions = min_spiffs.csv
lib_deps =
${com-esp.lib_deps}
${libraries.wifimanager32}
${libraries.ssd1306}
${libraries.rtl_433_ESP}
build_flags =
${com-esp.build_flags}
; *** OpenMQTTGateway Config ***
'-UZmqttDiscovery' ; disables MQTT Discovery
'-DvalueAsATopic=true' ; MQTT topic includes model and device
'-DGateway_Name="OpenMQTTGateway_lilygo_rtl_433_ESP"'
; *** OpenMQTTGateway Modules ***
'-DZgatewayRTL_433="rtl_433"'
'-DZdisplaySSD1306="LilyGo_SSD1306"'
'-DZradioSX127x="SX127x"'
; *** ssd1306 Module Options ***
'-DLOG_TO_LCD=true' ; Enable log to LCD
; '-DLOG_LEVEL_LCD=LOG_LEVEL_NOTICE' // default is WARNING log level
[env:esp32dev-multi_receiver]
platform = ${com.esp32_platform}
@@ -966,9 +989,9 @@ lib_deps =
build_flags =
${com-esp.build_flags}
; *** OpenMQTTGateway Modules ***
'-DZboardHELTEC="HELTEC"'
'-DZdisplaySSD1306="HELTEC_SSD1306"'
'-DLOG_TO_LCD=true' ; Enable log to LCD
; '-DLOG_LEVEL_LCD=LOG_LEVEL_TRACE' // default is notice log level
; '-DLOG_LEVEL_LCD=LOG_LEVEL_TRACE' // default is WARNING log level
'-DZgatewayLORA="LORA"'
'-DLORA_BAND=868E6'
'-DGateway_Name="OpenMQTTGateway_ESP32_LORA"'
@@ -987,9 +1010,9 @@ lib_deps =
build_flags =
${com-esp.build_flags}
; *** OpenMQTTGateway Modules ***
'-DZboardHELTEC="HELTEC"'
'-DZdisplaySSD1306="HELTEC_SSD1306"'
'-DLOG_TO_LCD=true' ; Enable log to LCD
; '-DLOG_LEVEL_LCD=LOG_LEVEL_TRACE' // default is notice log level
; '-DLOG_LEVEL_LCD=LOG_LEVEL_TRACE' // default is WARNING log level
'-DZgatewayLORA="LORA"'
'-DLORA_BAND=915E6'
'-DGateway_Name="OpenMQTTGateway_ESP32_LORA"'