I have been at it for a week 1/2 and read every related item and no luck but very close. Everything works but will not display the temp or humidity numbers in overview. Just a circle with Temperature and Humidity label.
In the mqtt > Developer > Listening tool the numbers show up and are displayed.
plugin - Config
1 logins:
2 - username: mqttuser
3 password: mqttpassword
4 anonymous: false
5 customize:
6 active: false
7 folder: mosquitto
8 certfile: fullchain.pem
9 keyfile: privkey.pem
10 require_certificate: false
11
tele/sensor/SENSOR start listening = This works:
Message 16 received on tele/sensor/SENSOR at 8:52 AM:
{
“Time”: “2020-02-06T14:52:53”,
“DHT11”: {
“Temperature”: 77,
“Humidity”: 29
},
“TempUnit”: “F”
}
QoS: 0 - Retain: false
My D1 mini running Tasmota - console window:
15:03:38 MQT: tele/sensor/SENSOR = {“Time”:“2020-02-06T15:03:38”,“DHT11”:{“Temperature”:77.9,“Humidity”:29.0},“TempUnit”:“F”}
My config.yaml
sensor:
- platform: mqtt
state_topic: “tele/sensor/SENSOR”
name: “Temperature”
unit_of_measurement: “F”
value_template: “{{ value_jason.DHT11.Temperature }}” - platform: mqtt
state_topic: “tele/sensor/SENSOR”
name: “Humidity”
unit_of_measurement: “%”
value_template: “{{ value_jason.DHT11.Humidity }}”
mqtt plugin:
Config
1 logins:
2 - username: mqttuser
3 password: mqttpassword
4 anonymous: false
5 customize:
6 active: false
7 folder: mosquitto
8 certfile: fullchain.pem
9 keyfile: privkey.pem
10 require_certificate: false
11
I have tried a Rpi (hassio) and ubuntu (latest) installations they do the same thing.
Thank you in advance.