EspNow is receiving previous messages



  • I've started work on a project to make a sports tracker and it was working well for a bit, but now i'm a little confused on how the EspNow is working.

    Esp Setup on Controller
    0_1623026871180_2021-06-06_19-47-27.png

    Esp Setup on Check-In Points
    0_1623026831922_2021-06-06_19-46-47.png

    My Setup
    Core2 as the Brains
    Atom X 2 as the check in points

    When the player taps the RFID card against the reader at either check in point it send the device's MAC Address + "@" + "PYLON" + "@" + Players name to the hub device. Then the hub will receive the message and process it later. After it has been processed the hub send a signal to the check-in point to display a "!" symbol.

    The odd thing is, if I restart every piece and start scanning, the wrong check-in point will get the signal. Then if I scan it again, it moves to the right point, but if I move to the next point, the last check-in point receives the signal. So it is acting like a buffer and the last one is making it through.

    My Controller

    0_1623026732446_2021-06-06_19-42-51.png

    My Check-in Points

    0_1623026742117_2021-06-06_19-44-09.png



  • Hello,
    I'm seeing the same issue with espnow receiving the previous message after the devices have been running for anywhere from couple of hours to a day. I'm using uiflow version 1.9.5 on a M5Stamp and Core2. The project is a home alarm system, I'm only sending 4 bytes of data when a zone is opened/closed or if the alarm is armed or disarmed.

    If I can't find the solution I'm afraid I going to have to ditch uiFlow and try the Arduino API.

    Did you ever figure out the issue?

    Thank You
    Austin



  • I have same problem , after some time EspNow recieve callback block returns duplicate message.
    Uiflow 1.10.7 , firmware m5 tough 1.10.6