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 16.7k 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 @sdetweil
      last edited by

      @sdetweil it’s OK mate and thanks for having tried to help me. :)

      Let’s hope someone can come up with a working solution soon.

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

        @Cr4z33 looking further at mqttbridge it also logs receipt of the notification from the subscription

        IMG_1049.png

        so that tells me it did not receive info from mqtt

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil I am not quite sure that I understood.

          Are you saying it’s a module’s bug or is it needed further coding I should add (somewhere)?

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

            @Cr4z33 im saying the module will report when it receives the mqtt info. it did not report. sooooo it did not receive the info

            why i do not know

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @sdetweil hmmm I see.

              I wonder if there’s actually another way to see the doorbell stream when the button is pressed?

              There’s a button sensor entity for it in Home Assistant.

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

                @Cr4z33 i dont know, but MQTTBridge was not informed of the button press as you expected

                is your other bridge code running? you mentioned you had some app talking to the doorbell and publishing the mqtt message

                is the doorbell an mqtt device , fed thru zigbee2mqtt for homeassistant?
                or is there a native integration?
                i would expect the doorbell to NOT publish to mqtt directly
                it would be a tiny market to add and support that code IN the doorbell firmware

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @Cr4z33 you could build an HA automation to send the MQTT message on button push

                  IMG_1050.png

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

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

                    @Cr4z33 you could build an HA automation to send the MQTT message on button push

                    But then again nothing would happen.

                    I mean I’ve already DahuaVTO2MQTT in the middle and I used the right line taken from its console, but here we are. 😅

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

                      @Cr4z33 something is not sending the mqtt message

                      bell -> ha automation -> mqtt -> mqttbridge -> rtsp…
                      should work

                      for me, this works

                      alexa-> nodered -> mqtt > ha automation -> mqtt -> mirror_app -> screen off

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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

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

                        @Cr4z33 something is not sending the mqtt message

                        bell -> ha automation -> mqtt -> mqttbridge -> rtsp…
                        should work

                        for me, this works

                        alexa-> nodered -> mqtt > ha automation -> mqtt -> mirror_app -> screen off

                        And you are using this MQTT module on the smart mirror or?

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

                          @Cr4z33 no, i wrote my own code for the mqtt integration

                          but its fundamentally doing the same thing, receiving an mqtt message and sending a notification to other code to act

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

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

                            @sdetweil I see I wish I had the same skills to do ALL by myself lol!

                            However I wonder if I am the only person in the world having a smart video doorbell and MagicMirror?

                            I mean I haven’t found any universal solution to this in this forum, but just some modules for certain doorbell hardware like Ring, etc.

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

                              @Cr4z33 and the ring module talks directly to the ring doorbell

                              you should be able to use HA automation to get to mqttBridge, no fancy coding

                              automation trigger
                              device bell button push
                              action, more, command, mqtt publish

                              i have ring doorbell, and the module doesnt work for me
                              doesnt matter, as im hardly ever in front of the smartmirror when the doorbell rings
                              there is a ring2mqtt docker container, but again it really doesnt add anything useful

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

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

                                @sdetweil and how would I get the broadcasting of the doorbell video feed?

                                Custom coding?

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

                                  @Cr4z33 same rtspstream, that part of your solution didn’t change

                                  button -> ha automation -> mqtt publish -> mqttbridge -> notification to rtspstream to open and connect video feed

                                  altho you may have to use
                                  https://github.com/evroom/MMM-MPlayer
                                  instead of rtspstream module

                                  and install MMM-ViewNotifications to see the events sent inside MagicMirror

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

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

                                    @sdetweil hmm I want to give it a try tomorrow morning (GMT+2).

                                    Would you mind if I might contact you by PM just in case? 🥺

                                    S wishmaster270W 2 Replies Last reply Reply Quote 0
                                    • 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

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 4 / 4
                                            • 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