LilyGO devices stop responding after a few hours

I am on the 1.5.1 version. Appearently the web installer Option 1 installs the dev version. Note that I have been testing this for about 2 months and experienced the same problem all along.

There are two web installers:

  1. Production for regular usage:
    (Option 1) Upload from the web | OpenMQTTGateway v1.5.1

  2. Development for testing:
    (Option 1) Upload from the web | OpenMQTTGateway DEVELOPMENT SHA:479ac5 TEST ONLY

You should use the first one for your regular usage. The second one is for testing and the gateway may not work as expected
I just retested the first one with heltec_rtl433 and got the v1.5.1.

To go further if you are on v1.5.1 we will need the serial logs when the board stops responding. You can get this by connecting the board with an USB cable + platformio.

VSCode and platformio is hard for the unwashed like me :slight_smile: I did manage to get it but esphome flasher is drop dead simple to view the logs

The boards ran for over 2 days before stopping. Here are the last lines from the console log:
N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:6,“wind_avg_km_h”:3.21869,“wind_dir_deg”:269,“rain_mm”:125.984,“exception”:0,“raw_msg”:“c169c68188b7f0a0”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:128996}

rtl_433_ESP(7): Average RSSI Signal -109 dbm, adjusted RSSI Threshold -100, samples 50000

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:7,“wind_avg_km_h”:1.60934,“uv”:1,“lux”:8370,“exception”:0,“raw_msg”:“c16947004106c57d”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-75,“duration”:127996}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:5,“wind_avg_km_h”:1.60934,“temperature_C”:28.66667,“humidity”:27,“exception”:0,“raw_msg”:“c169c500c9d41ba7”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-75,“duration”:129996}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:6,“wind_avg_km_h”:1.60934,“wind_dir_deg”:257,“rain_mm”:125.984,“exception”:0,“raw_msg”:“c169c6004887f0af”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:232996}

N: Send on /SYStoMQTT msg {“uptime”:10922,“version”:“v1.5.1”,“discovery”:false,“env”:“lilygo-rtl_433”,“freemem”:99496,“mqttport”:“1883”,“mqttsecure”:false,“tempc”:50.55556,“freestack”:1724,“rssi”:-43,“SSID”:“AndrewChristinaBrooke”,“BSSID”:“18:31:BF:94:D3:90”,“ip”:“192.168.1.238”,“mac”:“D4:D4:DA:82:EA:BC”,“actRec”:3,“mhz”:433.92,“RTLRssiThresh”:-100,“RTLRssi”:-111,“RTLAVGRssi”:-109,“RTLCnt”:2829,“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.1”,“title”:“OpenMQTTGateway”,“release_url”:“https://github.com/1technophile/OpenMQTTGateway/releases/tag/v1.5.1",“installed_version”:“v1.5.1”,“entity_picture”:“https://github.com/1technophile/OpenMQTTGateway/raw/development/docs/img/Openmqttgateway_logo_mini_margins.png”,“release_summary”:"”}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:7,“wind_avg_km_h”:4.82803,“uv”:2,“lux”:8570,“exception”:0,“raw_msg”:“c169478142065993”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:127996}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:5,“wind_avg_km_h”:8.046721,“temperature_C”:28.61111,“humidity”:27,“exception”:0,“raw_msg”:“c169c582c9531ba8”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:127996}

rtl_433_ESP(7): Average RSSI Signal -109 dbm, adjusted RSSI Threshold -100, samples 50000

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:6,“wind_avg_km_h”:4.82803,“wind_dir_deg”:304,“rain_mm”:125.984,“exception”:0,“raw_msg”:“c169c681c9c3f0ed”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:129000}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:7,“wind_avg_km_h”:4.82803,“uv”:1,“lux”:8670,“exception”:0,“raw_msg”:“c16947814106639c”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:127996}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:5,“wind_avg_km_h”:3.21869,“temperature_C”:28.55556,“humidity”:27,“exception”:0,“raw_msg”:“c169c58109d21b66”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-99,“duration”:135997}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:6,“wind_avg_km_h”:4.82803,“wind_dir_deg”:228,“rain_mm”:125.984,“exception”:0,“raw_msg”:“c169c6814793f03b”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:129996}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:7,“wind_avg_km_h”:4.82803,“uv”:1,“lux”:8820,“exception”:0,“raw_msg”:“c1694781410672ab”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-75,“duration”:127996}

N: Send on /RTL_433toMQTT/Interlogix-Security/motion/40c582 msg {“model”:“Interlogix-Security”,“subtype”:“motion”,“id”:“40c582”,“battery_ok”:0,“switch1”:“CLOSED”,“switch2”:“CLOSED”,“switch3”:“CLOSED”,“switch4”:“OPEN”,“switch5”:“OPEN”,“raw_message”:“703638”,“protocol”:“Interlogix GE UTC Security Devices”,“rssi”:-88,“duration”:89037}

rtl_433_ESP(7): Average RSSI Signal -109 dbm, adjusted RSSI Threshold -100, samples 50000

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:5,“wind_avg_km_h”:3.21869,“temperature_C”:28.44444,“humidity”:27,“exception”:0,“raw_msg”:“c169c58109501be4”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:127996}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:6,“wind_avg_km_h”:3.21869,“wind_dir_deg”:288,“rain_mm”:125.984,“exception”:0,“raw_msg”:“c169c6810903f06d”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:130000}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:7,“wind_avg_km_h”:1.60934,“uv”:1,“lux”:8920,“exception”:0,“raw_msg”:“c16947004106fcb4”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:127996}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:1,“battery_ok”:1,“message_type”:5,“wind_avg_km_h”:0,“temperature_C”:28.38889,“humidity”:27,“exception”:0,“raw_msg”:“c569c50009cf1be6”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:127997}

N: Send on /SYStoMQTT msg {“uptime”:11042,“version”:“v1.5.1”,“discovery”:false,“env”:“lilygo-rtl_433”,“freemem”:99212,“mqttport”:“1883”,“mqttsecure”:false,“tempc”:50.55556,“freestack”:1724,“rssi”:-42,“SSID”:“AndrewChristinaBrooke”,“BSSID”:“18:31:BF:94:D3:90”,“ip”:“192.168.1.238”,“mac”:“D4:D4:DA:82:EA:BC”,“actRec”:3,“mhz”:433.92,“RTLRssiThresh”:-100,“RTLRssi”:-109,“RTLAVGRssi”:-109,“RTLCnt”:2875,“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: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:6,“wind_avg_km_h”:1.60934,“wind_dir_deg”:83,“rain_mm”:125.984,“exception”:0,“raw_msg”:“c169c60042cff0f1”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:129996}

rtl_433_ESP(7): Average RSSI Signal -108 dbm, adjusted RSSI Threshold -99, samples 50000

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:7,“wind_avg_km_h”:1.60934,“uv”:1,“lux”:9100,“exception”:0,“raw_msg”:“c169470041878ec7”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:127996}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:6,“wind_avg_km_h”:3.21869,“wind_dir_deg”:35,“rain_mm”:125.984,“exception”:0,“raw_msg”:“c169c681810ff0f1”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-78,“duration”:129996}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:1,“battery_ok”:1,“message_type”:5,“wind_avg_km_h”:1.60934,“temperature_C”:28.38889,“humidity”:28,“exception”:0,“raw_msg”:“c569c500c9cf9c27”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:129996}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:7,“wind_avg_km_h”:3.21869,“uv”:1,“lux”:9210,“exception”:0,“raw_msg”:“c169478181879993”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:127996}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:5,“wind_avg_km_h”:3.21869,“temperature_C”:28.33333,“humidity”:28,“exception”:0,“raw_msg”:“c169c581094e9c63”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:128996}

rtl_433_ESP(7): Average RSSI Signal -109 dbm, adjusted RSSI Threshold -100, samples 50000

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:6,“wind_avg_km_h”:1.60934,“wind_dir_deg”:109,“rain_mm”:125.984,“exception”:0,“raw_msg”:“c169c600c3b7f05a”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:128996}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:7,“wind_avg_km_h”:0,“uv”:1,“lux”:9290,“exception”:0,“raw_msg”:“c16947008187219a”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-87,“duration”:130996}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:5,“wind_avg_km_h”:1.60934,“temperature_C”:28.27778,“humidity”:27,“exception”:0,“raw_msg”:“c169c500c94d1b20”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-74,“duration”:159996}

N: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:7,“wind_avg_km_h”:1.60934,“uv”:1,“lux”:9310,“exception”:0,“raw_msg”:“c16947004187a3dc”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-99,“duration”:150995}

rtl_433_ESP(7): Average RSSI Signal -109 dbm, adjusted RSSI Threshold -100, samples 50000

N: Send on /SYStoMQTT msg {“uptime”:11162,“version”:“v1.5.1”,“discovery”:false,“env”:“lilygo-rtl_433”,“freemem”:98892,“mqttport”:“1883”,“mqttsecure”:false,“tempc”:50.55556,“freestack”:1724,“rssi”:-43,“SSID”:“AndrewChristinaBrooke”,“BSSID”:“18:31:BF:94:D3:90”,“ip”:“192.168.1.238”,“mac”:“D4:D4:DA:82:EA:BC”,“actRec”:3,“mhz”:433.92,“RTLRssiThresh”:-100,“RTLRssi”:-107,“RTLAVGRssi”:-109,“RTLCnt”:2905,“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: Send on /RTL_433toMQTT/Acurite-Atlas/A/361 msg {“model”:“Acurite-Atlas”,“id”:361,“channel”:“A”,“sequence_num”:0,“battery_ok”:1,“message_type”:5,“wind_avg_km_h”:0,“temperature_C”:28.22223,“humidity”:28,“exception”:0,“raw_msg”:“c169c50009cc9c60”,“protocol”:“Acurite 592TXR Temp/Humidity, 5n1 Weather Station, 6045 Lightning, 3N1, Atlas”,“rssi”:-73,“duration”:128995}

Ln 32, Col 2

TTGO LoRa32-OLED

on COM3

This is the end of the log and the board is stuck ?

Yes, that is from the end of the log.

This is all I could see
W: Network disconnected:
*wm:[2] [EVENT] WIFI_REASON: 201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND
W: wifi
W: Network disconnected:
*wm:[2] [EVENT] WIFI_REASON: 201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND
W: wifi
W: Network disconnected:
*wm:[2] [EVENT] WIFI_REASON: 201
*wm:[2] [EVENT] WIFI_REASON: NO_AP_FOUND

I’m having same problem with my lilygo devices. Used option 1 to install 1.5.1. Any further insights on this?

hello

i have same problem

the gateway not respond
ping fail
Firmware: v1.6.0

I have the same problem.

The gateway always stops responding after an uptime of 130 000-140 000 seconds.

Hello,

This PR adds a task watchdog timer, could you try it ?

Hi,
Sorry, I didn’t notice this message.
How do I try it?

I’d like to add that I am experiencing the same issue as well, where it will stop functioning after a couple of hours.

@gmaclean1981 @fring you can try the latest development version and see if the Task watchdog helps

Also seeing LilyGo boards RTL 433 stops forwarding data

openmqttgateway V1.6.0
LilyGo board V2 T3 V1.6.1
Acurite Wx station (seems this hardware is common to problem)

Noticed that the free memory (LilyGo boards) keeps dropping until the boards quits.
see below

Hope this helps

Jim

Ok, dev version applied.

image

Let’s wait and see.

1 Like

It didn’t work. Now it’s not responding.
Maybe the uptime is a little bit longer.

Uptime:
image

Free Memory:
image

I’ll give it a shot and report back!

Hello,

Appreciate the look, but unfortunately no help here. Free memory continues to decrease until it becomes unresponsive. It did hold it’s own for a number of hours overnight however, before it started to have a memory leak.

lilygo free mem

I have an automation running in Home Assistant to reboot the device when memory decreases below 75K. It reboots about every 5 hours.