Read the statement by Michael Teeuw here.
Homeassistant und Magic Mirror problem whith MQTT character string help
-
Thanks for answering, the truth is that I am not an expert and I have just started to know Java … that is why I am very lost. If you have another simpler idea, I will appreciate it. :)
-
@droncho Maybe this module can help you get a better idea on how to parse your Sensor data.
https://github.com/ottopaulsen/MMM-MQTT
Alternatively you can try using:
topic: 'tele/espejo1/Temperature'
or
topic: 'tele/espejo1/SENSOR/Temperature'
in your config. I am not familiar with sensors yet…
-
Look at this:
https://tasmota.github.io/docs/DHT11/So maybe you can use:
topic: 'tele/espejo1/SENSOR:state:JSONPATH($.DHT11.Temperature)'
or something like that.
-
@MaXi-XCeL thx…I am editing the module again to see if I can find the key to everything, I write again when I have the solution … Greetings and thanks. :)
-
Solved !! YUHUU!!!
Thaks to bertdeelman (creator from this Module: MMM-MQTTfloorplan) its working !!!
link: https://github.com/DMailMan/MMM-MQTTfloorplanin config.js
{
topic: ‘tele/espejo1/SENSOR’, // MQTT Topic name
label: ‘Temperature’, // Not displayed anywhere, but handy for you to know what you’re doing !
type: ‘label’,
jsonpointer: ‘/DHT11/Temperature’,
display: { left: 265, top: 90, prefix: “”, suffix: “°C”, decimals: 1 },
},Modification in module MMM-MQTTfloorplan.js
.
.
123 this.updateDivForItem(
124 i,
125 value,
126 config);
.
…Img…
-
Perfection! Nicely done! Big-ups for all the Pro’s supporting this awesome platform!
David -
testing again and working !!!
-
Hi…I’m not beyond any doubt which portion isn’t working, so to begin with off, get the MQTTBox installed. Then get that associated to your mqtt, and subscribe to cmnd/hallway/# to see in case you’ll get messages through on the mqtt. If not at that point it’s the mqtt setup, in case there’s , at that point it’s something in MM. You can moreover send MQTT commands throgh the MQTT Box straightforwardly to see on the off chance that the reflect responds to it.