Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sensor DHT22 on modul A16
#1
dear admin,

I am using KC868-A16 and I need to connect temperature and humidity sensors to 3 1-Wire inputs. I connected DS18B20 sensors to pins "GPIO32" and "GPIO33" and DHT22 sensor (/AM2302) to pin "GPIO14". When installing the module in HomeAssistant add-on ESPHome, DS18B20 sensors are loaded correctly, but DHT22 sensor is not found. I tried two DHT22 sensors with the same result.

This is the code in YAML
###
one_wire:
  - platform: gpio
    pin: GPIO32
    id: one_wire1
  - platform: gpio
    pin: GPIO33
    id: one_wire2
  - platform: gpio
    pin: GPIO14
    id: one_wire3

.
.
.
sensor:
  - platform: dallas_temp
    address: 0x773ce1d458ac1a28
    name: temperature1
    update_interval: 120s
    one_wire_id: one_wire1
  - platform: dallas_temp
    address: 0xfd3ce1d4432b6528
    name: temperature2
    update_interval: 120s
    one_wire_id: one_wire2
###


The attached image is a screenshot from the installation.
   

Please could you help me? Where am I making a mistake?

Is this the correct code to get values from DHT22?
###
- platform: dht
    model: DHT22
    one_wire_id: one_wire3
    temperature:
      name: "Temperature3"
    humidity:
      name: "Humidity3"
    update_interval: 30s

###
Reply


Messages In This Thread
Sensor DHT22 on modul A16 - by Brouk - 11-20-2024, 12:16 PM
RE: Sensor DHT22 on modul A16 - by admin - 11-20-2024, 11:11 PM
RE: Sensor DHT22 on modul A16 - by Brouk - 11-22-2024, 09:11 PM
RE: Sensor DHT22 on modul A16 - by admin - 11-22-2024, 10:39 PM
RE: Sensor DHT22 on modul A16 - by Brouk - 11-23-2024, 11:23 AM
RE: Sensor DHT22 on modul A16 - by admin - 11-23-2024, 11:43 AM
RE: Sensor DHT22 on modul A16 - by Brouk - 11-24-2024, 10:44 AM
RE: Sensor DHT22 on modul A16 - by admin - 11-24-2024, 01:17 PM
RE: Sensor DHT22 on modul A16 - by Brouk - 12-04-2024, 05:21 PM
RE: Sensor DHT22 on modul A16 - by admin - 12-07-2024, 05:41 AM
RE: Sensor DHT22 on modul A16 - by Brouk - 12-13-2024, 05:04 PM
RE: Sensor DHT22 on modul A16 - by admin - 12-14-2024, 01:15 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)