05-15-2024, 07:31 AM
This is my esphome yaml config file
esphome:
name: kc868-am01
friendly_name: Kc868-am01
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "mWaHqnW3P/nXU0DCEzl3GkixqPp44sawqt6lMh1JiuY="
ota:
password: "4512ad14c7069c6f8f0bc1115de315b2"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Kc868-Am01 Fallback Hotspot"
password: "liRZ0Eh243MY"
captive_portal:
dallas:
- pin: 4
id: hub4
- pin: 3
id: hub3
- pin: 2
id: hub2
# Individual sensors
sensor:
- platform: dht
pin: 1
temperature:
name: "Master Bedroom Temperature"
humidity:
name: "Master Bedroom Humidity"
model: DHT22
update_interval: 60s
The log file shows it is not detecting the sensors. The sensors are connected according to the pins described in the config
esphome:
name: kc868-am01
friendly_name: Kc868-am01
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "mWaHqnW3P/nXU0DCEzl3GkixqPp44sawqt6lMh1JiuY="
ota:
password: "4512ad14c7069c6f8f0bc1115de315b2"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Kc868-Am01 Fallback Hotspot"
password: "liRZ0Eh243MY"
captive_portal:
dallas:
- pin: 4
id: hub4
- pin: 3
id: hub3
- pin: 2
id: hub2
# Individual sensors
sensor:
- platform: dht
pin: 1
temperature:
name: "Master Bedroom Temperature"
humidity:
name: "Master Bedroom Humidity"
model: DHT22
update_interval: 60s
The log file shows it is not detecting the sensors. The sensors are connected according to the pins described in the config