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 10.9k 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.
    • 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
            • S Offline
              sdetweil @rkorell
              last edited by

              @rkorell MMM-MPlayer should work for displaying on notification

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil cool.
                had played around with this and it was frickling to position - but worth a try … :-)

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

                  @rkorell said in Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream:

                  @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 …

                  @Cr4z33 just found “source” : you have copied this configuration .
                  But I bet you have to place the module name as “notiID” …
                  this is not “RTSP-play” but “MMM-RTSPStream” …
                  Regards,
                  Ralf

                  (Pay attention : it is highly probably case-sensitive …)

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

                    @Cr4z33
                    MMM-RTSPStream is quite old and the author himself doesn’t use it anymore and recommend indeed other modules.
                    So it a a wise advice from Sam (@sdetweil ) to use MMM-Mplayer …
                    This one still have an active discussion here .

                    Ralf

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

                      @rkorell said

                      use MMM-Mplayer …

                      Just checked: You CAN use MMM-Pages notification to start and stop your stream …
                      (e.g. “NEW_PAGE=0” will start the stream.

                      Unfortunately you will have to care about switching OFF the stream by yourself - I guess the doorbell will not be sufficient to send a “STOP” signal - You likely would to see the stream longer that the visitor is pressing the doorbellbutton …

                      Ralf

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

                        Thank you again @rkorell and @sdetweil for your precious help, but I am at a point where I don’t have enough skill to generate the needed code lines.

                        What comes afterwards (ie. stop the stream, etc.) is not what worries me hehe, but all I am able to do at today is how to install a module and give it a basic config.

                        Having two modules to “talk” to each other is another matter and that’s where I start asking for help to people who know what they are doing (I am more a copy&paste or a tutorial follower guy). 😁

                        Once again this is the RTSP URL:

                        rtsp://username:password@ipaddress/cam/realmonitor?channel=1&subtype=1#backchannel=0
                        

                        and this is the MQTT button press line:

                        2025-04-16 11:40:58,897 INFO __main__ Publishing MQTT message DahuaVTO/Invite/Event: {'Action': 'Pulse', 'Code': 'Invite', 'Data': {'CallID': '3', 'IsEncryptedStream': False, 'LocaleTime': '2025-04-16 11:40:58', 'LockNum': 2, 'RealUTC': 1744796458, 'SupportPaas': False, 'TCPPort': 37777, 'UTC': 1744800058.0, 'UserID': '101'}, 'Index': 0, 'deviceType': 'DHI-VTO3311Q-WP', 'serialNumber': '*******'}
                        

                        I tried creating a Home Assistant automation, but it’s probably wrong.

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 4 / 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