Smart Home Automation Forum
KC868-A4 esphome yaml config for home assistant - 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-A4 (https://www.kincony.com/forum/forumdisplay.php?fid=21)
+--- Thread: KC868-A4 esphome yaml config for home assistant (/showthread.php?tid=2036)



KC868-A4 esphome yaml config for home assistant - admin - 07-16-2022

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: 544)


RE: KC868-A4 esphome yaml config for home assistant - Mosfet3 - 01-16-2024

Hi, i got my A4. Question is: Is it possible to connect A4 to home assistant using KCS firmware?


RE: KC868-A4 esphome yaml config for home assistant - admin - 01-17-2024

sure, you can add A4 to home assistant by MQTT, just enable MQTT protocol in KCS webpage.


RE: KC868-A4 esphome yaml config for home assistant - Mosfet3 - 01-17-2024

So your devices doesint have direct communication with home assistant? Sad


RE: KC868-A4 esphome yaml config for home assistant - admin - 01-17-2024

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.


RE: KC868-A4 esphome yaml config for home assistant - Mosfet3 - 01-19-2024

Ok, thank you, finnaly added A4 to home assistant Smile


RE: KC868-A4 esphome yaml config for home assistant - admin - 01-20-2024

ok, good.