Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-A4 esphome yaml config for home assistant
#1
esphome:
  name: kc868-a4
  platform: ESP32
  board: esp32dev

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
  password: "4d5a388de4f759bf88e71cde7a31af6f"

wifi:
  ssid: "KinCony"
  password: "a12345678"

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Kc868-A4 Fallback Hotspot"
    password: "QOU4hbAjJ5Wb"

captive_portal:

switch:
  - platform: gpio
    name: "light1"
    pin: 2
    inverted: false

  - platform: gpio
    name: "light2"
    pin: 15
    inverted: false
   
  - platform: gpio
    name: "light3"
    pin: 5
    inverted: false
   
  - platform: gpio
    name: "light4"
    pin: 4
    inverted: false
   
binary_sensor:
  - platform: gpio
    name: "input1"
    pin:
      number: 36
      inverted: true

  - platform: gpio
    name: "input2"
    pin:
      number: 39
      inverted: true
   
  - platform: gpio
    name: "input3"
    pin:
      number: 27
      inverted: true
     
  - platform: gpio
    name: "input4"
    pin:
      number: 14
      inverted: true



   

.txt   Made_for_ESPHome_KC868-A4.txt (Size: 1.1 KB / Downloads: 597)
Reply
#2
Hi, i got my A4. Question is: Is it possible to connect A4 to home assistant using KCS firmware?
Reply
#3
sure, you can add A4 to home assistant by MQTT, just enable MQTT protocol in KCS webpage.
Reply
#4
So your devices doesint have direct communication with home assistant? Sad
Reply
#5
if you want device directly communication with home assistant, you can download firmware by ESPHome, not need to use KCS firmware. we suggest use this, now just your question is how to use KCS firmware for home assistant.
Reply
#6
Ok, thank you, finnaly added A4 to home assistant Smile
Reply
#7
ok, good.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)