diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 87d7185..7827abb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,6 +84,8 @@ jobs: - "esp32dev-ble-broker" - "esp32s3-m5stack-stamps3" - "esp32c3u-m5stamp" + - "lilygo-t3-s3-rtl_433" + - "lilygo-t3-s3-rtl_433-fsk" runs-on: ubuntu-latest name: Build with PlatformIO steps: diff --git a/environments.ini b/environments.ini index d53eef2..5254f9a 100644 --- a/environments.ini +++ b/environments.ini @@ -1100,6 +1100,102 @@ build_flags = custom_description = For ESP32, Gateway using RTL_433_ESP and RadioLib with FSK modulation (beta) custom_hardware = ESP32 LILYGO LoRa32 V2.1 +[env:lilygo-t3-s3-rtl_433] +platform = espressif32@6.10.0 +board = lilygo-t3-s3 +board_build.partitions = min_spiffs.csv +lib_deps = + ${com-esp32.lib_deps} + ${libraries.ssd1306} + ${libraries.rtl_433_ESP} +build_flags = + ${com-esp32.build_flags} +; *** OpenMQTTGateway Config *** + ;'-UZmqttDiscovery' ; disables MQTT Discovery + '-DvalueAsATopic=true' ; MQTT topic includes model and device + '-DGateway_Name="OMG_lilygo_rtl_433_ESP_OOK"' +; *** OpenMQTTGateway Modules *** + '-DZgatewayRTL_433="rtl_433"' + '-DZradioSX127x="SX127x"' +; *** ssd1306 Display Options *** + '-DZdisplaySSD1306="LilyGo_SSD1306"' + '-DGenericSSD1306=true' +; '-DLOG_TO_OLED=true' ; Enable log to OLED +; '-DJSON_TO_OLED=true' +; '-DLOG_LEVEL_OLED=LOG_LEVEL_NOTICE' +; '-DDISPLAY_IDLE_LOGO=false' +; '-DDISPLAY_BRIGHTNESS=80' +; '-DDISPLAY_METRIC=false' + + '-DNO_INT_TEMP_READING=true' + ; '-DLED_PIN=37' + '-DOLED_SDA=18' ; SSD1306 pin SDA + '-DOLED_SCL=17' ; SSD1306 pin SCL + '-DRF_SX1276="SX1276"' + '-DRF_MODULE_SCK=5' + '-DRF_MODULE_MISO=3' + '-DRF_MODULE_MOSI=6' + '-DRF_MODULE_CS=7' + '-DRF_MODULE_RST=8' + '-DRF_MODULE_DIO0=9' + '-DRF_MODULE_DIO1=33' + '-DRF_MODULE_DIO2=34' + '-DRF_MODULE_DIO3=21' + '-DRF_MODULE_DIO4=10' + '-DRF_MODULE_DIO5=36' +custom_description = For ESP32, Gateway using RTL_433_ESP and RadioLib with FSK modulation (beta) +custom_hardware = ESP32 LILYGO T3-S3 SX1276 v1.0 + +[env:lilygo-t3-s3-rtl_433-fsk] +platform = espressif32@6.10.0 +board = lilygo-t3-s3 +board_build.partitions = min_spiffs.csv +lib_deps = + ${com-esp32.lib_deps} + ${libraries.ssd1306} + ${libraries.rtl_433_ESP} +build_flags = + ${com-esp32.build_flags} +; *** OpenMQTTGateway Config *** + ;'-UZmqttDiscovery' ; disables MQTT Discovery + '-DvalueAsATopic=true' ; MQTT topic includes model and device + '-DGateway_Name="OMG_lilygo_rtl_433_ESP_FSK"' + '-DOOK_MODULATION=false' ; FSK modulation activated + '-DRF_FREQUENCY=915' + ;-DRF_FREQUENCY=868.300' + ;-DRF_FREQUENCY=433.9' +; *** OpenMQTTGateway Modules *** + '-DZgatewayRTL_433="rtl_433"' + '-DZradioSX127x="SX127x"' +; *** ssd1306 Display Options *** + '-DZdisplaySSD1306="LilyGo_SSD1306"' + '-DGenericSSD1306=true' +; '-DLOG_TO_OLED=true' ; Enable log to OLED +; '-DJSON_TO_OLED=true' +; '-DLOG_LEVEL_OLED=LOG_LEVEL_NOTICE' +; '-DDISPLAY_IDLE_LOGO=false' +; '-DDISPLAY_BRIGHTNESS=80' +; '-DDISPLAY_METRIC=false' + + '-DNO_INT_TEMP_READING=true' + ; '-DLED_PIN=37' + '-DOLED_SDA=18' ; SSD1306 pin SDA + '-DOLED_SCL=17' ; SSD1306 pin SCL + '-DRF_SX1276="SX1276"' + '-DRF_MODULE_SCK=5' + '-DRF_MODULE_MISO=3' + '-DRF_MODULE_MOSI=6' + '-DRF_MODULE_CS=7' + '-DRF_MODULE_RST=8' + '-DRF_MODULE_DIO0=9' + '-DRF_MODULE_DIO1=33' + '-DRF_MODULE_DIO2=34' + '-DRF_MODULE_DIO3=21' + '-DRF_MODULE_DIO4=10' + '-DRF_MODULE_DIO5=36' +custom_description = For ESP32, Gateway using RTL_433_ESP and RadioLib with FSK modulation (beta) +custom_hardware = ESP32 LILYGO T3-S3 SX1276 v1.0 + [env:lilygo-ble] platform = ${com.esp32_platform} board = ttgo-lora32-v21 diff --git a/platformio.ini b/platformio.ini index 6856b94..62e029b 100644 --- a/platformio.ini +++ b/platformio.ini @@ -107,6 +107,8 @@ extra_configs = ;default_envs = esp32s3-m5stack-stamps3 ;default_envs = esp32c3-m5stamp ;default_envs = esp32c3u-m5stamp +;default_envs = lilygo-t3-s3-rtl_433 +;default_envs = lilygo-t3-s3-rtl_433-fsk ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ENVIRONMENTS PARAMETERS ;