Starting with Lilygo TTGO 433

This is with lilygo-rtl_433 from the development branch.
(The ttgo-v1-rtl_433 is no longer there?)

1278 radio also fails.
Plus an error about the display.
Connected to WiFi, but can’t ping it.

************* WELCOME TO OpenMQTTGateway **************
N: SSD1306 config initialised
[E][Preferences.cpp:472] getString(): nvs_get_str len fail: SSD1306Config NOT_FOUND
N: No SSD1306 config to load
N: Setup SSD1306 Display end
N: OpenMQTTGateway Version: b7b3bb
*wm:[2] Added Parameter: server
*wm:[2] Added Parameter: port
*wm:[2] Added Parameter: user
*wm:[2] Added Parameter: pass
*wm:[2] Added Parameter: secure
*wm:[2] Added Parameter: cert
*wm:[2] Added Parameter: name
*wm:[2] Added Parameter: topic
*wm:[2] Added Parameter: ota
N: Attempting Wifi connection with saved AP: 0
N: Attempting Wifi connection with saved AP: 1
E (3467) wifi:sta is connecting, return error
[E][WiFiSTA.cpp:221] begin(): connect failed!
N: Attempting Wifi connection with saved AP: 2
E (4469) wifi:sta is connecting, return error
[E][WiFiSTA.cpp:221] begin(): connect failed!
N: ZgatewayRTL_433 setup done
N: Switching to RTL_433 Receiver: 433.92Mhz
rtl_433_ESP(3): SX1278 radio.begin() failed, code: -2

No, it is overwritten by the daily builds, I can launch one if you are available to test in 90min ?

Sure, appreciating all the help.

In progress:

And which one do I try? The lilygo-rtl_433?

09:31:25.692 → ************* WELCOME TO OpenMQTTGateway **************
09:31:25.692 → N: SSD1306 config initialised
09:31:25.692 → [E][Preferences.cpp:472] getString(): nvs_get_str len fail: SSD1306Config NOT_FOUND
09:31:25.692 → N: No SSD1306 config to load
09:31:26.719 → N: Setup SSD1306 Display end
09:31:26.719 → N: OpenMQTTGateway Version: 85d649
09:31:26.885 → {
09:31:26.885 → “mqtt_server”: “192.168.178.23”,
09:31:26.885 → “mqtt_port”: “1883”,
09:31:26.885 → “mqtt_user”: “”,
09:31:26.885 → “mqtt_pass”: “”,
09:31:26.885 → “mqtt_topic”: “home/”,
09:31:26.885 → “gateway_name”: “OpenMQTTGateway_lilygo_rtl_433_ESP”,
09:31:26.885 → “mqtt_broker_secure”: false,
09:31:26.885 → “mqtt_broker_cert”: “”,
09:31:26.885 → “mqtt_ss_index”: 0,
09:31:26.885 → “ota_server_cert”: “”,
09:31:26.918 → “ota_pass”: “OTAPASSWORD”
09:31:26.918 → }*wm:[2] Added Parameter: server
09:31:26.918 → *wm:[2] Added Parameter: port
09:31:26.918 → *wm:[2] Added Parameter: user
09:31:26.918 → *wm:[2] Added Parameter: pass
09:31:26.918 → *wm:[2] Added Parameter: secure
09:31:26.918 → *wm:[2] Added Parameter: cert
09:31:26.918 → *wm:[2] Added Parameter: name
09:31:26.918 → *wm:[2] Added Parameter: topic
09:31:26.918 → *wm:[2] Added Parameter: ota
09:31:26.918 → N: Attempting Wifi connection with saved AP: 0
09:31:27.944 → N: Attempting Wifi connection with saved AP: 1
09:31:27.944 → E (3488) wifi:sta is connecting, return error
09:31:27.944 → [E][WiFiSTA.cpp:221] begin(): connect failed!
09:31:28.936 → N: Attempting Wifi connection with saved AP: 2
09:31:28.936 → E (4490) wifi:sta is connecting, return error
09:31:28.936 → [E][WiFiSTA.cpp:221] begin(): connect failed!
09:31:33.470 → N: ZgatewayRTL_433 setup done
09:31:33.470 → N: Switching to RTL_433 Receiver: 433.92Mhz
09:31:33.636 → rtl_433_ESP(3): SX1278 radio.begin() failed, code: -2

Despite the connect failed message, it is connected to Wifi, the screen indicates this and I can ping the board.

We need to synchronize a build for you as the development builds are overwritten every night.
I’m focus on the next release right now. The development environment will have more availability for those tests after.

I feel very privileged ;-). Thanks a lot.
Focus on the next release, I can wait.

Hi all, it seems I have the same issue (WiFi Connected but no messages on the display for MQTT status). I have a LILYGO TTGO LoRa32 V2.1 _ 1.6 versione 433.
I can ping the device over the WiFi network.
I’m quite new to this devide could you describe how to connect via serial to collect the logs and provide here?
Thanks in advance

If you’re into Arduino a simple way is to open the Arduino IDE and open the serial monitor while the device is connected. Set it to 115200 baud.
You can also use a dedicated terminal application like PuTTY.

Hi thanks a lot, I found the problem related to the MQTT authentication even if on the display no error appeared on that.
Now that I did this step forward I ran the MQTT Explorer to check the detection of 433MHz devices but I se only the TTGO device parameters like:

I have some 433MHz temp and umidity sensors but I don’t see them … any clue?

Also on the console I have messages like:

W: MQTT connection… N: Connected to broker N: Send on /SYStoMQTT msg {“uptime”:10,“version”:“v1.5.0”,“discovery”:true,“env”:“lilygo-rtl_433”,“freemem”:127784,“mqttport”:“1883”,“mqttsecure”:false,“tempc”:55.55556,“freestack”:4588,“rssi”:-40,“SSID”:“Vodafone-Whole3.0”,“BSSID”:“7C:8F:DE:4E:05:03”,“ip”:“192.168.10.65”,“mac”:“D4:D4:DA:82:EC:D4”,“actRec”:3,“mhz”:433.92,“RTLRssiThresh”:-82,“RTLRssi”:-92,“RTLAVGRssi”:0,“RTLCnt”:0,“RTLOOKThresh”:15,“modules”:[“LilyGo_SSD1306”,“rtl_433”]} N: Send on /SSD1306toMQTT msg {“onstate”:true,“brightness”:50,“displaymetric”:true,“display-flip”:true,“idlelogo”:true,“log-oled”:false,“json-oled”:true} N: Update checkN: Send on /RLStoMQTT msg {“latest_version”:“v1.5.0”,“title”:“OpenMQTTGateway”,“release_url”:“https://github.com/1technophile/OpenMQTTGateway/releases/tag/v1.5.0",“installed_version”:“v1.5.0”,“entity_picture”:“https://github.com/1technophile/OpenMQTTGateway/raw/development/docs/img/Openmqttgateway_logo_mini_margins.png”,“release_summary”:"”}
rtl_433_ESP(7): Average RSSI Signal -98 dbm, adjusted RSSI Threshold -89, samples 50000
rtl_433_ESP(7): Average RSSI Signal -99 dbm, adjusted RSSI Threshold -90, samples 50000

Try a better antenna?
I gave up on the board of this topic and received a different one.
With the supplied little antenna (5 cm / 2 inch) I did not pick up much, with the whip antenna I also use for my RTL-SDR I do pick up my temperature sensor.

Technophile / Northernman:
I gave up on this board and found a supplier that had the other board in stock. I see a few errors in the log that are probably irrelevant (will post in a different topic), but it is working.
If you are interested in getting my first board working, I could donate it. Just PM me an address to send it to.

1 Like

Indeed that’s better to have the board to integrate it, do you mind sharing your country location by PM so that I can find the closest team member.

Thanks. Hi I’m located in Italy, Milan area.

Hi thanks for your feedback, it’s strange even if I put it close to the sensor. Am I doing something wrong, I mean do I need to set some other conf on the board, it’s like is unable to detect signals. Thanks in advance.

Have you looked if your device is supported?
There are many devices using many different protocols and the software is not able to decode all of them. You may be having an unsupported device. For me it picks up the external temperature sensor of a weather station, but picks up none of my remotes.
Do you own a RTL-SDR and is your device seen with rtl433?

Before buying it I verified the model (LILYGO TTGO LoRa32 V2.1 _ 1.6 version 433MHz) was the same suggested in several sites to implement on it the openmqttgw to retrieve the messages coming from 433MHz devices to a MQTT broker like Mosquitto. And it seems so in fact it connected to WiFi and then to the Broker.
I bought in parallel also an RTL-SDR :slight_smile: and with that I can detect my 433MHz sensors and also some outside neighbour one.
If I can ask which is the model of the weather station you successfully got the message from?
Thanks again

It is a very old device, that I’ve had for at least fifteen years. The transmitter says:
Electronics Tomorrow LTD
Model no 7530
Made in China.
(https://fccid.io/PEQ753090303/User-Manual/User-Manual-512026)

It gets detected as “Philips-Temperature”.
It only reads the temperature and battery status, humidity is not decoded.

{“model”:“Philips-Temperature”,“channel”:1,“battery_ok”:1,“temperature_C”:23.1,“protocol”:“Philips outdoor temperature sensor (type AJ3650)”,“rssi”:-52,“duration”:938996}

But may I suggest you open a new topic, as this topic has been marked as “solved” and has as topic a non-supported board? You have a supported board I think.

Sorry I misunderstood, you where asking if the 433MHz device was supported, I don’t know I supposed so it’s not so old and I can detect it with no issue with the RTL-SDR.
What is not clear to me is why the other board (LilyGO TTGO) cannot … and detects nothing even around.
I haven’t found so far where to find a compatibility list between LilyGO and 433Mhz devices, I was relying on forum/videos/info of people like you testing them.
For example here (450 OpenMQTTGateway Connects Many Things to Your Home Automation - YouTube) the same board works with the weather station MISOL.
Thanks in any case