Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Kc868-AM and sensors
#1
Where can I get yaml configuration file for esphome for the diagram attached
Reply
#2
what function you want to use?
if want use DS18B20, see here: https://esphome.io/components/sensor/dallas.html
Reply
#3
I want to use DS18B20  to control air conditioners, to be turned On and Off based on defined temperature and motion sensor (person Presence)
Reply
#4
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


Attached Files Image(s)
   
Reply
#5
take a photo of your board, what have connected, which sensor want to use. question should have details, so that can help you.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)