Home made ESP32dev with sx1278 and FSK off (868mHz)

Hello,

I have tested a ttgo lora32 board with the web upload version of the rtl_433 with FSK enabled with the same antenna, so data reception should be possible from my location.

I am not sure whether FSK is enabled with the following build flags, because while I have specified the frequency with 868.30, the board always starts with 433mhz.
The mqtt topic is also home/OMG_rtl_433_ESP instead of that should be configured.

I would really appreciate your help, because I am now totally lost again :slight_smile:

[esp32doitv1-aithinker-r01-sx1278]
platform = ${com.esp32_platform}
board = esp32dev
lib_deps =
${com-esp.lib_deps}
${libraries.wifimanager32}
${libraries.rtl_433_ESP}
build_flags =
${com-esp.build_flags}

; rtl_433_ESP flag

;‘-OOK_MODULATION=false’ ; false then FSK modulation activated
‘-DOOK_MODULATION=false’
‘-DRF_MODULE_FREQUENCY=868.30’
‘-DONBOARD_LED=LED_BUILTIN’

; *** OpenMQTTGateway Modules ***
‘-DZgatewayRTL_433=“rtl_433”’
‘-DZradioSX127x=“SX127x”’

‘DMQTT_SERVER=“ip”’
‘-DMQTT_USER=“mqttuser”’
‘-DMQTT_PASS=“mqttpasswd”’
‘-DMQTT_PORT=“1883”’
‘-DGateway_Name=“OMG_esp32doitv1-sx1278”’
‘-valueAsATopic=true’ ; MQTT topic includes model and device
‘-DESPWifiManualSetup=true’
‘-Dwifi_ssid=“myssid”’
‘-Dwifi_password=“password”’
monitor_speed = 115200

one error solved:

I should have used the following setting, because I have a SX1276.
‘-DRF_MODULE_FREQUENCY=868.30’ is still not present in my build and I have to send a mqtt message to change that from 433 to 868.3

‘-DZradioSX127x=“SX1276”’
‘-DRF_SX1276=“SX1276”’

if you send the MQTT message with the key "save": true or change the frequency with the WebUI it will be saved upon restart.

If you want to have the frequency set at build time you should use:
'-DRF_FREQUENCY=868.3'

1 Like

Thank you very much, the build flag is a life saver

1 Like