logo elektroda
logo elektroda
X
logo elektroda

BL0937 Smart Socket: Meaning of Changes Sent, Skipped, Saved Counters and Reducing Main Page Output

dirksan 21 1
ADVERTISEMENT
  • #1 21628753
    dirksan
    Level 1  
    Hi everyone,

    I just flashed my first smart socket using a T34 and BL0937 with OpenBeken. 🎉 Had to fiddle a bit with the baud rate, but once that was sorted, everything went smoothly.

    After calibration, the socket is working well. However, I have a question regarding the BL0937 message output:
    BL0937 Smart Socket: Meaning of Changes Sent, Skipped, Saved Counters and Reducing Main Page Output

    What do the terms "changes sent, skipped, and saved" actually mean? Are these related to MQTT messages? In my case, the skipped counter keeps increasing steadily, but I have no idea what it signifies. I couldn’t find any explanation in the GitHub documentation, wiki, or forum posts.

    Also, a newbie question: How can I reduce the output shown on the "main" page? Is that controlled via the log level settings?

    Thanks in advance!

    Best regards, Dirk
    AI: Could you let us know which version of the OpenBeken firmware you’re currently running on your smart socket?
    OpenBK7231N_QIO_1.18.145
    AI: Are you using MQTT integration with your setup, and if so, could you share a bit about how it’s configured (e.g., enabled/disabled, broker settings, topics used)?
    I don't use MQTT atm.
  • ADVERTISEMENT
  • #2 21628924
    p.kaczmarek2
    Moderator Smart Home
    This is related to stat_updatesSent variable in code https://github.com/search?q=repo%3Aopenshwpro...BK7231T_App%20changes%20skipped&type=code

    Long story short, the values are published via MQTT only if there is a change between reads or if given time interval between publishes passes.

    I don't remember the exact logic behind it, but it just reduces MQTT overheat, more or less.
    Helpful post? Buy me a coffee.
ADVERTISEMENT