Hi!
Today I received a brand new LilyGo RTL_433 board and flashed it with the latest Lilygo binary available from the OMG site. Based on everything I read before my purchase and especially after some six hours of troubleshooting I have to give up and ask help.
Am I totally wrong if I say that based on the all documentation, the autodiscovery of 433 devices is by default “ON” in the latest OMG firmware?
The flashing to my Lilygo was successful, my HA found the device and configured it - it is visible in HA with 1 device, 8 entities as it should, but none of the nearby 433 devices are populating to HA automatically. With the MQTT Explorer I can see that the “RTLCnt” counter is alive and numbers are growing, so Lilygo indeed hears weather stations and other 433 devices.
I then downloaded the latest binary package from the OMG GIT and checked the configuration parameters. From the root folder README.md it is said that the Build definition for the mqttDiscovery is following:
OpenMQTTGateway
Build definitions
'-Dota_password=""'
'-DMQTT_SERVER="192.168.1.12"'
; '-DMDNS_SD=true'
'-DESPWifiManualSetup=true'
'-DGateway_Name="cc1101-ec20dc"' ; 9e0770 ; ec20dc
'-DOMG_VERSION="$PIOENV"'
'-DSERIAL_BAUD=921600'
; '-DZgatewayRF="RF"'
'-DZgatewayRTL_433="rtl_433"'
; '-DZgatewayPilight="Pilight"'
'-DZradioCC1101="CC1101"'
; '-DZsensorBH1750="BH1750"'
; '-DZsensorBME280="BME280"'
; '-DLOG_LEVEL=LOG_LEVEL_TRACE'
; '-DMEMORY_DEBUG=true'
; '-DDEMOD_DEBUG=true'
; '-DRTL_DEBUG=4' ; rtl_433 verbose mode
; '-DRAW_SIGNAL_DEBUG=true'
; '-DSUPPRESS_UNPARSED=true'
'-DRF_EMITTER_GPIO=12'
'-DRF_RECEIVER_GPIO=27'
; '-DMY_DEVICES=true'
'-UZmqttDiscovery'
Based on the last parameter “-UZmqttDiscovery” - is the autodiscovery “ON” or “OFF” after all?
Have I understood this correctly?
If not, How do I enable the Autodiscovery of 433 devices with Lilygo and HA? I am not that expert what comes to compiling things from the scratch.
Thanks!
-Mac