• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

[SOLVED] Anyone tried MMM-mqtt?

Scheduled Pinned Locked Moved Troubleshooting
19 Posts 5 Posters 13.1k Views 7 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.
  • X Offline
    xbmcnut @cowboysdude
    last edited by yawns Jul 25, 2017, 8:46 AM Jul 25, 2017, 2:23 AM

    @cowboysdude said in Anyone tried MMM-mqtt?:

    Would you care to share how you did it? Thanks!

    Here is my config:

    {					
    			module: 'MMM-mqtt',
    			position: 'bottom_left',
    			header: 'Office Temperature', // This is optional
    			config: {
    				mqttServer: 'mqtt://10.0.2.8', //Connection string for the server to connect to (mqtt://localhost)
    				topic: '/garage/dallas/temperature',
    				postText: ' °C'
    			}
    		},
    
    1 Reply Last reply Reply Quote 1
    • X Offline
      xbmcnut @cowboysdude
      last edited by Jul 25, 2017, 2:29 AM

      @cowboysdude said in Anyone tried MMM-mqtt?:

      @xbmcnut No sure it’ll work for me… haven’t looked into but we’ll see. I need it to make a connection with OpenHab.

      If you are using a MQTT broker, MMM-mqtt will work with any HA system as it’s only subscribing to a MQTT topic.

      C 1 Reply Last reply Jul 25, 2017, 2:38 AM Reply Quote 1
      • C Offline
        cowboysdude Module Developer @xbmcnut
        last edited by Jul 25, 2017, 2:38 AM

        @xbmcnut Great to know!! Thank you!

        Going to build a module to show the temp from this on the mirror:

        https://hestiapi.com/

        At some point would like to be able to change the temp as well but just getting it to show the temp right now would be awesome :)

        X 1 Reply Last reply Jul 25, 2017, 2:41 AM Reply Quote 0
        • X Offline
          xbmcnut @cowboysdude
          last edited by Jul 25, 2017, 2:41 AM

          @cowboysdude said in Anyone tried MMM-mqtt?:

          Going to build a module to show the temp from this on the mirror

          Should be pretty easy if that device can publish the temperature to a broker.

          C 1 Reply Last reply Jul 25, 2017, 2:44 AM Reply Quote 0
          • C Offline
            cowboysdude Module Developer @xbmcnut
            last edited by Jul 25, 2017, 2:44 AM

            @xbmcnut It can. I have ‘the guide’ another user put together for the thermostat and now this module! :) Shouldn’t be too bad. Just have to find time to really focus on it… perhaps this weekend. I’m just so busy.

            1 Reply Last reply Reply Quote 0
            • C Offline
              cowboysdude Module Developer
              last edited by Oct 9, 2017, 2:31 AM

              Is there a way to seek multiple topics without having to run the module several times? Like using an array …

              X 1 Reply Last reply Oct 9, 2017, 3:13 AM Reply Quote 0
              • X Offline
                xbmcnut @cowboysdude
                last edited by Oct 9, 2017, 3:13 AM

                @cowboysdude said in [SOLVED] Anyone tried MMM-mqtt?:

                Is there a way to seek multiple topics without having to run the module several times? Like using an array …

                Yes, you can add another entity in the same position and it will add it below the older one (including the title)

                1 Reply Last reply Reply Quote 0
                • C Offline
                  cowboysdude Module Developer
                  last edited by Oct 9, 2017, 11:24 AM

                  Are you referring to running the module more than once in the config.js and in the same position?
                  That is what I’m doing but adding the entry 7 times to my config would be a bit tedious :)

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    axellejamous
                    last edited by axellejamous Jan 11, 2018, 12:11 AM Jan 10, 2018, 11:28 PM

                    Hello,

                    I was wondering if any of you know how to actually subscribe and publish to a topic using this module? I currently tried adding two different modules to the config file and have one set as sending and one as receiving but that just causes the module to crash. Has anyone figured out how to do both of these at the same time?

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