Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watchdog reset when using nodemcuv2-pilight and receiving rf codes. #1971

Open
Ketturi opened this issue Jun 16, 2024 · 3 comments
Open

Watchdog reset when using nodemcuv2-pilight and receiving rf codes. #1971

Ketturi opened this issue Jun 16, 2024 · 3 comments

Comments

@Ketturi
Copy link

Ketturi commented Jun 16, 2024

ESP8266 crashes hard when using pilight build, and receiver is getting input (eg, by pressing kaku/nexa RF remote)

Serial console output:

************* WELCOME TO OpenMQTTGateway **************
N: OpenMQTTGateway Version: version_tag
N: WiFi ok with manual config credentials
N: Switching to Pilight Receiver: 433.92
N: RF_EMITTER_GPIO: 4 
N: RF_RECEIVER_GPIO: 5 
N: OpenMQTTGateway modules: ["Pilight"]
N: ************** Setup OpenMQTTGateway end **************
W: MQTT connection...
N: Connected to broker
N: Send on /RFtoMQTT msg {"active":1}
N: Send on /SYStoMQTT msg {"uptime":5,"version":"version_tag","disc":true,"ohdisc":false,"env":"nodemcuv2-ketturi","freemem":23256,"mqttp":"1883","mqtts":false,"msgprc":0,"msgblck":0,"maxq":0,"eth":false,"rssi":-59,"SSID":"wlanssid","BSSID":"00:11:22:33:44:55","ip":"172.20.1.132","mac":"5C:CF:7F:D9:23:9D","modules":["Pilight"]}

 ets Jan  8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x4010f000, len 3584, room 16 
tail 0
chksum 0xb0
csum 0xb0
v2843a5ac
~ld
N: 
************* WELCOME TO OpenMQTTGateway **************

Issue is present with OpenMQTTGateway 1.7.0, and also with current development version.

Environment used:

[env:nodemcuv2-ketturi]
platform = espressif8266@^2
board = nodemcuv2
lib_deps =
  ${com-esp.lib_deps}
  ${libraries.wifimanager8266}
  ${libraries.esppilight}
  ${libraries.esp8266_mdns}
build_flags =
  ${com-esp.build_flags}
  '-DZgatewayPilight="Pilight"'
  '-DGateway_Name="OMG_ESP8266_Pilight"'
  '-DESPWifiManualSetup=true'
  '-Dwifi_ssid="wlanssid"'
  '-Dwifi_password="wlanpw"'
  '-DRF_EMITTER_GPIO=4'
  '-DRF_RECEIVER_GPIO=5'
  '-DENV_NAME="$PIOENV"'
  '-DZmqttDiscovery="HADiscovery"'
  '-DMQTTsetMQTT'
  '-DMQTT_HTTPS_FW_UPDATE'
  '-DMQTT_USER="mqttuser"'
  '-DMQTT_PASS="mqttpass"'
  '-DMQTT_SERVER="172.20.1.100"'
  '-DMQTT_PORT="1883"'
board_build.flash_mode = dout
custom_description = Gateway using ESPilight without the need of CC1101
@mank4
Copy link

mank4 commented Jun 29, 2024

Hi all, I can confirm the issue. I get exactly the same crash report for the following config:

[env:nodemcuv2-pilight-pin45]
platform = espressif8266@^2
board = nodemcuv2
lib_deps =
  ${com-esp.lib_deps}
  ${libraries.wifimanager8266}
  ${libraries.esppilight}
  ${libraries.esp8266_mdns}
build_flags =
  ${com-esp.build_flags}
  '-DZgatewayPilight="Pilight"'
  '-DRF_RECEIVER_GPIO=4'
  '-DRF_EMITTER_GPIO=5'
  '-DGateway_Name="OMG_ESP8266_Pilight"'
board_build.flash_mode = dout
custom_description = Gateway using ESPilight without the need of CC1101

There are no crashes with the same config and OpenMQTTGateway 1.6.0.

@1technophile
Copy link
Owner

Do you reproduce with the development branch ?

@JamiePhonic
Copy link

Try adding '-DLOG_LEVEL=LOG_LEVEL_TRACE' to your Build Arguments.

It'll dump a lot more info out to the console which might help narrow down the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants