Announcement

Collapse
No announcement yet.

Icon status change but text (payload) doesn't change?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Icon status change but text (payload) doesn't change?

    I have two devices publishing very similar events. One has been working great, The new one for some reason doesn't update the actual payload text, to make it more confusing, the status icon does update correctly.

    The device in question is the "Ender 3x Printer Current State" The similar device is the "Ender 3 Printer Current State" I compared the setting of the two line by line and they are identical. Under the association tab, the payload does update properly.

    Click image for larger version

Name:	screenshot-88.png
Views:	2
Size:	132.2 KB
ID:	1292598

    Click image for larger version

Name:	screenshot_88.png
Views:	1
Size:	385.2 KB
ID:	1292599


  • #2
    A couple thoughts on this.

    mcsMQTT supports multiple simultaneous browser sessions and monitors the connection of each. If the connection is lost it will no longer update the browser via AJAX mechanism. You know if the connection has been lost by looking at the time update at the top of page which should be every two seconds or so. If you rebuild the mcsMQTT page does the payload reflect the same as in HS?

    Optimizations were done for Express mode and I think one was to no longer update payload updates via AJAX. While I see you are not using Express mode it could be a coding bug. I could add debug to help isolate if the first thought does not explain it.

    Comment


    • #3
      Strangest thing happened, my HS3 log got corrupted or something. Had to rename and rebuild that, after doing that, all the devices are now reporting properly.

      Comment

      Working...
      X