Announcement

Collapse
No announcement yet.

Two MQTT messages for each HS3 EVENT???

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

    Two MQTT messages for each HS3 EVENT???

    Michael,

    Recently, I started getting two MQTT messages triggered from a single HS3 Event. Might I politely and gently ask if you think that maybe the recent changes you implemented for me over the past 2 weeks might have had a change that is causing what I see? Or, can you suggest additional testing I can perform?

    NOTE: This is BROKER #3, and not 4,5,6 that we have been adjusting this week.

    TESTING:
    I manually trigger from HS3 EVENT a MQTT command like:

    “HS3_DISPLAY1_BasementDoor=OPEN”

    HS3 log shows only a SINGLE action
    Sep-19 4:25:42 PM Event Event Trigger "ALARM NEXTion Display - Remote Annunciation Controls Display1 Basement Door OPEN"
    Sep-19 4:25:42 PM Event Event ALARM NEXTion Display - Remote Annunciation Controls Display1 Basement Door OPEN triggered by the event page 'Run' button.
    My audio player is receiving TWO MQTT messages.







    #2
    Use an independent viewer such as MQTT Explorer or MQTT Spy to see if two message are being delivered. Since mcsMQTT subscribed to all topics it will receive what it sends and this should be visible in the mcsMQTT Debug file if debug is enabled.

    Comment


      #3

      Hi, Michael

      Two messages are delivered to broker

      See MqttBox traffic

      Click image for larger version  Name:	Screen Shot 09-22-21 at 03.20 PM.JPG Views:	0 Size:	86.2 KB ID:	1497921

      Click image for larger version  Name:	Screen Shot 09-22-21 at 03.22 PM.JPG Views:	0 Size:	82.4 KB ID:	1497922


      McsMqtt V 5.19.1.0

      McsMqtt Debug:

      V:\Data\mcsMQTT\mcsMQTT Debug.txt (4 résultats)
      Ligne 120771: 22/09/2021 11:30:58 26924146 | Handle Action Entry AnnonceAlexa=Le portail est $$DSR5413):
      Ligne 120772: 22/09/2021 11:30:58 26924165 | Handle Action Topic=Payload AnnonceAlexa=Le portail est Ouvert
      Ligne 120774: 22/09/2021 11:30:58 26924181 | ActOnMessageForTrigger Topic AnnonceAlexa,Payload=Le portail est Ouvert, Triggers=0
      Ligne 120776: 22/09/2021 11:30:58 26924194 | ActOnMessageForTrigger Topic AnnonceAlexa,Payload=Le portail est Ouvert, Triggers=0

      V:\Data\mcsMQTT\mcsMQTT Debug.txt (4 résultats)
      Ligne 63916: 22/09/2021 08:00:02 14267881 | Handle Action Entry AnnonceAlexa=La pompe de la piscine est $$DSR5184):
      Ligne 63917: 22/09/2021 08:00:02 14267884 | Handle Action Topic=Payload AnnonceAlexa=La pompe de la piscine est Allumée
      Ligne 63919: 22/09/2021 08:00:02 14267887 | ActOnMessageForTrigger Topic AnnonceAlexa,Payload=La pompe de la piscine est Allumée, Triggers=0
      Ligne 63921: 22/09/2021 08:00:02 14267903 | ActOnMessageForTrigger Topic AnnonceAlexa,Payload=La pompe de la piscine est Allumée, Triggers=0

      Jean-Francois.

      Comment


        #4
        Problem exist with HS3 plugin. Fixed in 5.20.0.6.

        HS3: http://mcsSprinklers.com/mcsMQTT_52006.zip

        Comment


          #5
          Hi, Michael

          It's Ok

          Thanks

          Jean-Francois

          Comment


            #6
            Thank you M... this did it for me also... LZH

            Comment

            Working...
            X