MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    68 Posts 5 Posters 11.1k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil @Cr4z33
      last edited by sdetweil

      @Cr4z33 no problem. i am US Central UTC-5

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 1
      • wishmaster270W Offline
        wishmaster270 Module Developer @Cr4z33
        last edited by

        @Cr4z33
        Hi and sorry fir the late reply…
        Your config of the MQTT module is still missing a “debug: true”. The messages only get logged if debugging is enabled.

        	{
        		module: 'MMM-MQTTbridge',
        		disabled: false,
        		config: {
                                debug: true, 
        			mqttServer: "mqtt://:@ipaddress:port",
        			mqttConfig:
        			{
        				listenMqtt: true,
        				interval: 500,
        			},
        			notiConfig:
        			{
        				listenNoti: true,
        				ignoreNotiId: ["CLOCK_MINUTE", "NEWS_FEED"],
        				ignoreNotiSender: ["system", "NEWS_FEED"],
        			},
        			// set "NOTIFICATIONS -> MQTT" dictionary at /dict/notiDictionary.js
        			// set "MQTT -> NOTIFICATIONS" dictionary at /dict/mqttDictionary.js
        			},
        	}
        
        
        S Cr4z33C 3 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @wishmaster270
          last edited by sdetweil

          @wishmaster270 yes, we covered that before
          https://forum.magicmirror.builders/post/126008

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @wishmaster270
            last edited by

            @wishmaster270 i’ve come to the conclusion

            the doorbell itself does not publish to mqtt
            MqttBridge did not get any message from its subscribe

            he is going to try to build a HomeAssistant automation, as it CAN see the doorbell button thru its integration

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • Cr4z33C Offline
              Cr4z33 @wishmaster270
              last edited by

              @wishmaster270 thanks for spending some time on my issue although you’re busy.
              As sdetweil said he’s already helping me into this. 🙂

              @sdetweil my bad, my bad and again my bad! 😓

              I was going to tryout your method when I realized I actually never checked deeply what was outputting npm start… There’s A LOT of doorbell data being captured by MMM-MQTTbridge indeed! 🤦🏼

              You can see here the output.

              Can you see at this point (maybe) some additional data that needs to be added to mqttDictionary.js or do you still believe I should go your way (HA, automation, etc.)?

              While waiting for your kind reply I will play at trying your method. 😁

              R S 2 Replies Last reply Reply Quote 0
              • R Offline
                rkorell @Cr4z33
                last edited by

                @Cr4z33 Good afternoon,
                I do not have the time to dig too deep into MMM-MQTTbridge …
                But what I see checking your console logfile and compare this to your first posting:
                You obviously had managed that the MQQT message arrives and is acknowledged.

                .
                The message you receive is:

                {
                    "Action": "Pulse",
                    "Code": "Invite",
                    "Data": {
                        "CallID": "5",
                        "IsEncryptedStream": false,
                        "LocaleTime": "2025-04-30 10:40:43",
                        "LockNum": 2,
                        "RealUTC": 1746002443,
                        "SupportPaas": false,
                        "TCPPort": 37777,
                        "UTC": 1746006043.0,
                        "UserID": "101"
                    },
                    "Index": 0,
                    "deviceType": "DHI-VTO3311Q-WP",
                    "serialNumber": "****"
                }
                

                This is what you trying to capture in your mqttDisctionary.js
                I’m not 100% sure if you

                1. catch the right data-value : - is your jsonpath correct?
                2. is “notiID” the right place for the module name you try to reach?

                Just spontaneous thoughts about your issue - maybe misleading …

                Regards,
                Ralf

                Cr4z33C 1 Reply Last reply Reply Quote 1
                • Cr4z33C Offline
                  Cr4z33 @rkorell
                  last edited by

                  @rkorell hi it’s a good question indeed.

                  However too bad that I am not skilled enough to know the answer lol that’s why I am posting here asking for help! 😂

                  Let’s see if @sdetweil or someone else can find out.

                  R 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @Cr4z33
                    last edited by

                    @Cr4z33 woohoo, i see the data, now its MQTTBridge configuration, and that part i dont know (yet)

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 1
                    • R Offline
                      rkorell @Cr4z33
                      last edited by

                      @Cr4z33 OK, I guess you have to dig a little bit deeper into MMM-MQTTbridge …
                      You may give MQTTbind a try - this seems to be easier and more straightforward…

                      In addition: I’m not really sure if your RTSP-play module is able to react on notification - had you double-checked this? (If it does not react on notification, you cannot be successful…).

                      Regards,
                      Ralf

                      R S 2 Replies Last reply Reply Quote 0
                      • R Offline
                        rkorell @rkorell
                        last edited by

                        @rkorell @Cr4z33 with writing the above I’ve just noticed:
                        Your RTSP module is NOT “RTSP-play” but "MMM-RTSPStream" !
                        This should be your first trial then in your mqttDisctionary.js …

                        R 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 3 / 7
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy