Read the statement by Michael Teeuw here.
MM-MQTT module connect into Magic Mirro
-
I have installed Magic mirror and then added MM-MQTT module.
Now I want to send message from outside client , let say from python client.
and Magic Mirror should show me values I send , some how it’s not working.
Any idea? -
@vpanse did u adjust the mm address and. ipWhitelist to allow outside the mirror access? by default it is set to.only apps INSIDE the same machine can connect
set address :“0.0.0.0”
and to test, ipWhitelist to []this allows any app on any system on your network to connect
-
@vpanse - The MMM-MQTT module is an MQTT client. You need to configure it to connect to a MQTT broker (aka, server) and subscribe to one or more topics. Then you should have your outside client broadcast to the broker.
It’s easy enough to install a MQTT broker on your mirror. I personally use Mosquitto. Like so:
sudo apt update sudo apt install mosquitto -yThat will install mosquitto as a service on your mirror. Then you can point your MMM-MQTT module at the local host on the listener port. Follow the documentation on MMM-MQTT to get you connected to Mosquitto.
-
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