Hello,
I’m trying to connect es8266(wemos d1 mini) to DHT11.
The connection itself works fine - in command line I can see that sensor passes temperature and humidity into 2 values:
e[0;36m[D][dht:048]: Got Temperature=25.2°C Humidity=34.0%e[0m
e[0;36m[D][sensor:092]: 'Вытяжка температура': Sending state 25.20000 °C with 1 decimals of accuracye[0m
e[0;36m[D][dht:048]: Got Temperature=25.2°C Humidity=34.0%e[0m
e[0;36m[D][sensor:092]: 'Вытяжка влажность': Sending state 34.00000 % with 0 decimals of accuracye[0m
but when I look to web server .local I see that there are 2 sensor names, but single value (compare debug log section that has 2 value and sensors name section that has 2 sensors “температура”-temperature and “влажность”-humidity and the value from humidity is writen to temperature):
moreover if I look to the sensors I can see that at DHT11 update firstly the temperature value is written to the window and then the humidity is written to the same window. And if I levae in config only Temperature or only Humidity sensor - I receive correct sensor values.
ESP config:
sensor:
- platform: dht
pin: D3
temperature:
name: ${friendly_name} температура
filters:
- filter_out: nan
update_interval: 20s
- platform: dht
pin: D3
humidity:
name: ${friendly_name} влажность
filters:
- filter_out: nan
update_interval: 20s