ESP8266 + RFM69HW MQTT Gateway program persists

  • 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
    state: 0 -> 2 (b0)
    state: 2 -> 3 (0)
    state: 3 -> 5 (10)
    add 0
    aid 3

    connected with Airport, channel 6
    dhcp client start...

    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
    0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
    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?

Log in to reply

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.