Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lesson14 - integrate DS18B20 temperature sensor to home assistant
#4
Hi , I want to connect DHT22 sensor but getting some error 

code i am using 

sensor:
  - platform: dht
    pin: 3
    temperature:
      name: "Living Room Temperature"
    humidity:
      name: "Living Room Humidity"
    update_interval: 60s

error message i am getting 

[18:12:11][D][api:102]: Accepted 192.168.1.13
[18:12:11][W][api.connection:083]: 192.168.1.13: Socket operation failed: HANDSHAKESTATE_READ_FAILED errno=11
[18:12:45][W][dht:169]: Requesting data from DHT failed!
[18:12:45][W][dht:060]: Invalid readings! Please check your wiring (pull-up resistor, pin number) and consider manually specifying the DHT model using the model option.
[18:12:45][D][sensor:094]: ‘Living Room Temperature’: Sending state nan °C with 1 decimals of accuracy
[18:12:45][D][sensor:094]: ‘Living Room Humidity’: Sending state nan % with 0 decimals of accuracy

wired connection


Attached Files Image(s)
   
Thanks & Regards,
Arshad Abbas
Smile
Reply


Messages In This Thread
RE: Lesson14 - integrate DS18B20 temperature sensor to home assistant - by ARSHAD - 01-27-2024, 06:17 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)