Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. ESP8266 + RFM69HW MQTT Gateway program persists

ESP8266 + RFM69HW MQTT Gateway program persists

Scheduled Pinned Locked Moved Troubleshooting
1 Posts 1 Posters 702 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mppM Offline
    mppM Offline
    mpp
    wrote on last edited by mpp
    #1

    Hi,

    When I press the reset button after reprogramming my Node MCU, it seems to be running the old script again. I'm seeing this behavior on 2 different NodeMCU's. What am I doing wrong here?

    My ESP Node MCU seem to behave weird:

    • install the Gateway script
    • reprogram with the Blink script => it's blinking
    • press reset
      And it seems to be running the gateway script again?

    ⸮% ⸮=c⸮⸮MCO:BGN:INIT NODE,CP=RRNNE--,VER=2.1.1
    TSM:INIT
    TSF:WUR:MS=0
    scandone
    state: 0 -> 2 (b0)
    state: 2 -> 3 (0)
    state: 3 -> 5 (10)
    add 0
    aid 3
    cnt
    !TSM:INIT:TSP FAIL
    TSM:FAIL:CNT=1

    connected with Airport, channel 6
    dhcp client start...
    TSM:FAIL:PDT

    After installing the ping pong script and then the mqtt gateway, I noticed the node started with a dhcp but then asked the node id (0 2) which is part of the ping pong script?

    connected with Airport, channel 6
    dhcp client start...
    0;255;3;0;9;MCO:REG:NOT NEEDED
    f r-1, scandone
    .............ip:192.168.0.219,mask:255.255.255.0,gw:192.168.0.1
    .IP: 192.168.0.219
    0;255;3;0;9;MCO:BGN:STP
    0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
    IP: 192.168.0.219
    0;255;3;0;9;Attempting MQTT connection...
    0;255;3;0;9;MQTT connected
    0;255;3;0;9;Sending message on topic: mpp-mygateway1-out/0/255/0/0/18
    pm open,type:2 0

    => This last line seems to come from the previous ping/pong script?

    Why do I keep getting traces of previous scripts? Do I need to run the clear eeprom script every time before I program the node?

    MyController with USB powered WeMos D1/mini ESP8266 MQTT Gateways and battery powered Arduino Pro Mini using the RFM69 radio

    1 Reply Last reply
    0

    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

    With your input, this post could be even better 💗

    Register Login
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    13

    Online

    12.0k

    Users

    11.2k

    Topics

    113.4k

    Posts


    Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • MySensors
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular