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.

    MM-MQTT module connect into Magic Mirro

    Scheduled Pinned Locked Moved Development
    4 Posts 3 Posters 835 Views 3 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.
    • V Offline
      vpanse
      last edited by

      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?

      S bheplerB 2 Replies Last reply Reply Quote 0
      • S Offline
        sdetweil @vpanse
        last edited by

        @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

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 1
        • bheplerB Offline
          bhepler Module Developer @vpanse
          last edited by bhepler

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

          V 1 Reply Last reply Reply Quote 0
          • V Offline
            vpanse @bhepler
            last edited by

            @bhepler , @sdetweil
            Thanks , Looks like it’s working now , I’m able to send message from other PC on same
            wifi and it show on Magic Miror

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • 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