Read the statement by Michael Teeuw here.
Need help with MMM-MQTTbridge not "communicating" with MMM-RTSPStream
-
@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
-
@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.
-
@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 publishi 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 -
@sdetweil and how would I get the broadcasting of the doorbell video feed?
Custom coding?
-
@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 moduleand install MMM-ViewNotifications to see the events sent inside MagicMirror
-
@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? 🥺
-
@Cr4z33 no problem. i am US Central UTC-5
-
@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 }, } -
@wishmaster270 yes, we covered that before
https://forum.magicmirror.builders/post/126008 -
@wishmaster270 i’ve come to the conclusion
the doorbell itself does not publish to mqtt
MqttBridge did not get any message from its subscribehe is going to try to build a HomeAssistant automation, as it CAN see the doorbell button thru its integration
-
@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. 😁
-
@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- catch the right data-value : - is your jsonpath correct?
- is “notiID” the right place for the module name you try to reach?
Just spontaneous thoughts about your issue - maybe misleading …
Regards,
Ralf -
-
@Cr4z33 woohoo, i see the data, now its MQTTBridge configuration, and that part i dont know (yet)
-
@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 -
-
@rkorell MMM-MPlayer should work for displaying on notification
-
@sdetweil cool.
had played around with this and it was frickling to position - but worth a try … :-) -
@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 …)
-
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