diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 33125cbe..87d71859 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,6 +37,7 @@ jobs: - "esp32-m5atom-matrix" - "esp32-m5atom-lite" - "esp32dev-rtl_433" + - "esp32dev-rtl_433-fsk" - "esp32doitv1-aithinker-r01-sx1278" - "heltec-rtl_433" - "heltec-rtl_433-fsk" diff --git a/environments.ini b/environments.ini index ca2889cc..d53eef23 100644 --- a/environments.ini +++ b/environments.ini @@ -907,6 +907,50 @@ build_flags = ; '-DRADIOLIB_VERBOSE=true' custom_description = Gateway using RTL_433_ESP library, need CC1101 +[env:esp32dev-rtl_433-fsk] +platform = espressif32@6.1.0 +board = esp32dev +board_build.partitions = min_spiffs.csv +lib_deps = + ${com-esp32.lib_deps} + ${libraries.rtl_433_ESP} + ${libraries.smartrc-cc1101-driver-lib} +build_flags = + ${com-esp32.build_flags} +; *** OpenMQTTGateway Config *** + ;'-UZmqttDiscovery' ; disables MQTT Discovery + '-DvalueAsATopic=true' ; MQTT topic includes model and device + '-DLOG_LEVEL=LOG_LEVEL_TRACE' + '-DGateway_Name="OMG_rtl_433_ESP_FSK"' +; *** OpenMQTTGateway Modules *** + '-DOOK_MODULATION=false' ; FSK modulation activated + ;'-DRF_FREQUENCY=915' + '-DRF_FREQUENCY=868.300' + ;-DRF_FREQUENCY=433.9' + '-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' +custom_description = Gateway using RTL_433_ESP library and RadioLib with FSK modulation (beta), need CC1101 + [env:heltec-rtl_433] platform = espressif32@6.1.0 board = heltec_wifi_lora_32_V2 diff --git a/platformio.ini b/platformio.ini index 219f975c..3aef13fb 100644 --- a/platformio.ini +++ b/platformio.ini @@ -60,6 +60,7 @@ extra_configs = ;default_envs = esp32s3-atomS3U ;default_envs = esp32doitv1-aithinker-r01-sx1278 ;default_envs = esp32dev-rtl_433 +;default_envs = esp32dev-rtl_433-fsk ;default_envs = heltec-rtl_433 ;default_envs = heltec-rtl_433-fsk ;default_envs = heltec-ble @@ -223,4 +224,4 @@ lib_deps = ${libraries.ethernet} build_flags = ${env.build_flags} - '-DsimpleReceiving=false' \ No newline at end of file + '-DsimpleReceiving=false'