Smart Home Automation Forum
Kc868-AM and sensors - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-AM (https://www.kincony.com/forum/forumdisplay.php?fid=45)
+--- Thread: Kc868-AM and sensors (/showthread.php?tid=5749)



Kc868-AM and sensors - fdcemb5 - 05-14-2024

Where can I get yaml configuration file for esphome for the diagram attached


RE: Kc868-AM and sensors - admin - 05-14-2024

what function you want to use?
if want use DS18B20, see here: https://esphome.io/components/sensor/dallas.html


RE: Kc868-AM and sensors - fdcemb5 - 05-15-2024

I want to use DS18B20  to control air conditioners, to be turned On and Off based on defined temperature and motion sensor (person Presence)


RE: Kc868-AM and sensors - fdcemb5 - 05-15-2024

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


RE: Kc868-AM and sensors - admin - 05-15-2024

take a photo of your board, what have connected, which sensor want to use. question should have details, so that can help you.