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: 595)
Reply


Messages In This Thread
KC868-A4 esphome yaml config for home assistant - by admin - 07-16-2022, 01:19 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)