DS18B20 temperature range: -55°C to +125°C and is accurate to ±0.5°C
ESPHome config:
# Example configuration entry
dallas:
- pin: 4
update_interval: 5s
# Individual sensors
sensor:
- platform: dallas
address: 0x69062162d9ec4328
name: "Temperature"
Lesson14 - integrate DS18B20 temperature sensor to home assistant
|
DS18B20 temperature range: -55°C to +125°C and is accurate to ±0.5°C ESPHome config: # Example configuration entry dallas: - pin: 4 update_interval: 5s # Individual sensors sensor: - platform: dallas address: 0x69062162d9ec4328 name: "Temperature"
08-28-2022, 10:28 PM
Please make a guide for homekit and how to use multiple temp sensors.
08-29-2022, 12:28 AM
when have free time, can make it.
01-27-2024, 06:17 AM
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
Thanks & Regards,
Arshad Abbas
01-27-2024, 06:47 AM
which board you are using?
01-27-2024, 08:53 AM
Thanks & Regards,
Arshad Abbas
01-27-2024, 12:11 PM
delete your device in ESPHome, re add it , maybe will solve it.
01-27-2024, 04:47 PM
(01-27-2024, 12:11 PM)admin Wrote: delete your device in ESPHome, re add it , maybe will solve it. it working now 1. Add the device with code in ESPHome 2. After Install - it will show online status in ESPhome 3. Setting >> Device&Service >> AddIntergration >> select ESPHome > and in hostname give ip add of sensor (in log file get the ip add - step 1) 4. Final - add encryption key (in step 2 open the device , copy the key) --- paste it and submit
Thanks & Regards,
Arshad Abbas
01-27-2024, 11:39 PM
ok, good.
|
« Next Oldest | Next Newest »
|
Users browsing this thread: |