Update of rtl_433_ESP to version 0.1.3 - Support for SX127X transceiver module (#1291)
The main features of the upgrade to 0.1.3 of rtl_433_ESP are 1 - Change Transceiver Library to RadioLib 2 - Add support for SX127X transceiver module ( I used the 433 Mhz version of this Heltec module for development ). 3 - Added automatic calibration of the RSSI Signal detection Threshold 4 - Removed dependency on loop for start and end of signal detection, and moved to a ESP32 Task 5 - Moved received signal decoding to a ESP32 Task 6 - Identified Blueline PowerCost Monitor decoder as source of significant memory overhead and disabled. 7 - Multi Receiver support has been validated with RF, RF2 and PiLight
This commit is contained in:
1 parent
c570eead82
commit
8bc65d62dc
10 files changed
+186
-73
No files matched your search
+57
-6
@@ -133,7 +133,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.0.4
|
||||
rtl_433_ESP = https://github.com/NorthernMan54/rtl_433_ESP.git#v0.1.3
|
||||
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.0
|
||||
@@ -757,12 +757,57 @@ lib_deps =
|
||||
${libraries.rtl_433_ESP}
|
||||
build_flags =
|
||||
${com-esp.build_flags}
|
||||
'-DZradioCC1101="CC1101"'
|
||||
'-DZgatewayRTL_433="rtl_433"'
|
||||
'-DGateway_Name="OpenMQTTGateway_rtl_433_ESP"'
|
||||
; *** OpenMQTTGateway Config ***
|
||||
'-UZmqttDiscovery' ; disables MQTT Discovery
|
||||
'-DvalueAsATopic=true' ; MQTT topic includes model and device
|
||||
; '-DPUBLISH_UNPARSED=true' ; Publish details of undecoded signals
|
||||
; '-DRTL_DEBUG=4' ; enable rtl_433 verbose device decode
|
||||
'-DLOG_LEVEL=LOG_LEVEL_TRACE'
|
||||
'-DGateway_Name="OpenMQTTGateway_rtl_433_ESP"'
|
||||
; *** OpenMQTTGateway Modules ***
|
||||
'-DZgatewayRTL_433="rtl_433"'
|
||||
'-DZradioCC1101="CC1101"'
|
||||
; *** rtl_433_ESP Options ***
|
||||
; '-DRTL_DEBUG=4' ; rtl_433 verbose mode
|
||||
; '-DRTL_VERBOSE=58' ; LaCrosse TX141-Bv2, TX141TH-Bv2, TX141-Bv3, TX141W, TX145wsdth sensor
|
||||
; '-DRAW_SIGNAL_DEBUG=true' ; display raw received messages
|
||||
; '-DMEMORY_DEBUG=true' ; display memory usage information
|
||||
'-DDEMOD_DEBUG=true' ; display signal debug info
|
||||
; '-DMY_DEVICES=true' ; subset of devices
|
||||
'-DPUBLISH_UNPARSED=true' ; publish unparsed signal details
|
||||
; '-DRSSI_THRESHOLD=12' ; Apply a delta of 12 to average RSSI level
|
||||
; '-DAVERAGE_RSSI=5000' ; Display RSSI floor ( Average of 5000 samples )
|
||||
'-DSIGNAL_RSSI=true' ; Display during signal receive
|
||||
'-DNO_DEAF_WORKAROUND=true'
|
||||
; *** RF Module Options ***
|
||||
'-DRF_CC1101="CC1101"' ; CC1101 Transceiver Module
|
||||
; '-DRF_MODULE_CS=5' ; pin to be used as chip select
|
||||
'-DRF_MODULE_GDO0=12' ; CC1101 pin GDO0
|
||||
'-DRF_MODULE_GDO2=27' ; CC1101 pin GDO2
|
||||
; *** RadioLib Options ***
|
||||
; '-DRADIOLIB_DEBUG=true'
|
||||
; '-DRADIOLIB_VERBOSE=true'
|
||||
|
||||
[env:heltec-rtl_433]
|
||||
platform = ${com.esp32_platform}
|
||||
board = heltec_wifi_lora_32_V2
|
||||
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_heltec_rtl_433_ESP"'
|
||||
; *** OpenMQTTGateway Modules ***
|
||||
'-DZgatewayRTL_433="rtl_433"'
|
||||
'-DZboardHELTEC="HELTEC"'
|
||||
'-DZradioSX127x="SX127x"'
|
||||
; *** ssd1306 Module Options ***
|
||||
; '-DLOG_TO_LCD=true' ; Enable log to LCD
|
||||
; '-DLOG_LEVEL_LCD=LOG_LEVEL_TRACE' // default is notice log level
|
||||
|
||||
[env:esp32dev-multi_receiver]
|
||||
platform = ${com.esp32_platform}
|
||||
@@ -786,6 +831,12 @@ build_flags =
|
||||
'-DGateway_Name="OpenMQTTGateway_multi_receiver"'
|
||||
'-DvalueAsATopic=true' ; MQTT topic includes model and device (rtl_433) or protocol and id (RF and PiLight)
|
||||
; '-DDEFAULT_RECEIVER=1' ; Default receiver to enable on startup
|
||||
; *** RF Module Options ***
|
||||
'-DRF_CC1101="CC1101"' ; CC1101 Transceiver Module
|
||||
'-DRF_MODULE_CS=5' ; pin to be used as chip select
|
||||
'-DRF_MODULE_GDO0=12' ; CC1101 pin GDO0
|
||||
'-DRF_MODULE_GDO2=27' ; CC1101 pin GDO2
|
||||
; '-DRF_MODULE_INIT_STATUS=true' ; Display transceiver config during startup
|
||||
|
||||
[env:tinypico-ble]
|
||||
platform = ${com.esp32_platform}
|
||||
|
||||
Reference in new issue
Block a user