Read the statement by Michael Teeuw here.
[SOLVED] Anyone tried MMM-mqtt?
-
@MrEdOne said in Anyone tried MMM-mqtt?:
Hello. @xbmcnut i tried to use this module to connect to my home assistant broker with login and password but no success.
How can i show a state of my sensors from Esp8266 connected to home assistant via mqtt on my mirror?As per the instructions here https://github.com/javiergayala/MMM-mqtt, sadly MMM-mqtt “Currently only supports unencrypted/unauthenticated MQTT connections” so it won’t work on a broker that has a username and password set up.
-
@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.
-
@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' } },
-
@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.
-
@xbmcnut Great to know!! Thank you!
Going to build a module to show the temp from this on the mirror:
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 :)
-
@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.
-
@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.
-
Is there a way to seek multiple topics without having to run the module several times? Like using an array …
-
@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)
-
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 :)