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 -y
That 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.
-