I just started with OMG, bought a TTGO-LoRa32-433MHz board and flashed it with the lilygo-rtl_433 via the ‘upload from web’ option.
Everything seemed to be fine, the unit was up and stable for a good hour or more while I configured wifi, connected my MQTT broker and integrated it with Hass. The gateway had already found a few weak signal sensors from neighbours or surrounding area.
Then I put a battery into one of the external temperature sensors of the Oregon scientific weather station set that I have (Model: THN132N) and I suddenly noticed the LCD screen on the TTGO kept cycling from the white backgorund OMG logo, to the black one, to the status screen, then to the ‘wifi connecting screen’.
When I checked on home-assistant I could see the device kept becoming unavailable and then available again, the uptime value was constantly “10” or “16” and then back to 10 again. When I powered it from my PC and checked the serial console output, this is what I saw:
Guru Meditation Error: Core 1 panic’ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x4012815f PS : 0x00060c30 A0 : 0x800fd812 A1 : 0x3ffe3170
A2 : 0x00000001 A3 : 0x4009a1ec A4 : 0x3ffe0980 A5 : 0x00000000
A6 : 0x0000000a A7 : 0x00000009 A8 : 0x80128133 A9 : 0x3ffe3130
A10 : 0x00000000 A11 : 0x801b6a51 A12 : 0x00000078 A13 : 0x4009b944
A14 : 0x0000011f A15 : 0x00000000 SAR : 0x00000019 EXCCAUSE: 0x0000001c
EXCVADDR: 0x801b6a7d LBEG : 0x40089f48 LEND : 0x40089f53 LCOUNT : 0x00000000Backtrace: 0x4012815c:0x3ffe3170 0x400fd80f:0x3ffe31a0
ELF file SHA256: e59a68d516c7b5a8
Rebooting…
ets Jun 8 2016 00:22:57rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13160
load:0x40080400,len:3036
entry 0x400805e4
N:
************* WELCOME TO OpenMQTTGateway **************
When I take the battery out of the Oregon scientific temp sensor then the gateway goes back to running normally.