testing again and working !!!
Read the statement by Michael Teeuw here.
Latest posts made by droncho
-
RE: Homeassistant und Magic Mirror problem whith MQTT character string help
-
RE: Homeassistant und Magic Mirror problem whith MQTT character string help
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…
-
RE: Homeassistant und Magic Mirror problem whith MQTT character string help
@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. :)
-
RE: 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. :)
-
Homeassistant und Magic Mirror problem whith MQTT character string help
Hello, I am configuring a module for my Magic-Mirror, but I cannot get the temperature value without the entire character string of the Sonoff-Tasmota with a DHT11 temperature and humidity sensor.
I leave you an image of my problem, in case you can help me. Thanks
Img.frage1.png and console
20:31:16 MQT: tele/espejo1/SENSOR = {“Time”:“2021-01-07T20:31:16”,“DHT11”:{“Temperature”:19.3,“Humidity”:26.0,“DewPoint”:-0.7},“TempUnit”:“C”}
I need to get the Temperature value only, but I don’t know how. And I’ve tried everything.
I have the module configured with MQTT (Homeassistant)Example Module:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//MMM-MQTTfloorplan - CON IMAGEN 3D
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
{
module: ‘MMM-MQTTfloorplan’,
position: ‘bottom_left’,
config: {
mqttServer: {
url: “IP-RASPBERY”,
user: “mqtt”,
password: “************”,
},
floorplan: {
image: “floorplan-default.png”,
width: 350,
height: 295,
},
subscriptions: [
{
topic: ‘stat/espejo1/RESULT’, // MQTT Topic name !
label: ‘Luz de pruebas1 - Espejo1’, // BULB OK!!
type: ‘light’,
display: { left: 120, top: 60 },
{
topic: ‘tele/espejo1/SENSOR’, //Work but everything I need Only Temperature value !!!
label: ‘Espejo1 Temp’,
type: ‘label’,
display: { left: 350, top: 10},]
}
},Thank you very much for those who can help me get the temperature value, within topic:
example -> topic: ‘tele/espejo1/SENSOR’, bla…bla…bla … Help !!! ???
Happy New Year 2021 to all :wink: