Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-A32 configure for ESPhome
#18
Yesterday I received my first Kincony KC868-A32 board and tried to install ESPHome.
I initially used the configuration described in the first post, but I had to make some changes as it was no longer compatible with the new version of ESPHome.
The first operation I performed after saving the configuration was validation, where the following warning was displayed:

Code:
INFO ESPHome 2025.8.2
INFO Reading configuration /config/esphome/kc868-a32.yaml...
WARNING GPIO15 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO5 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins

Is it possible to change the PIN to avoid the warning?
Is this a warning that can be ignored?


The changes made in the original example are:

1. The platform and Framework

From:
Code:
esphome:
  name: a32
  platform: ESP32
  board: esp32dev

To:
Code:
esphome:
  name: kc868-a32
  friendly_name: KC868-A32

esp32:
  board: esp32dev
  framework:
    type: esp-idf
    version: recommended

2. Added the Wifi (commented in my case because I use Ethernet) and Ethernet configuration and enabled the Web Server to test the configuration:
Code:
# Wifi section disabled to use Enthernet
#wifi:
#  ssid: !secret wifi_ssid
#  password: !secret wifi_password

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

#captive_portal:

# Ethernet section used instead of Wi-Fi
# Ethernet Example configuration entry (It's possible to use only WIFI or only Ethernet, not both)
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk:
    pin: GPIO17
    mode: CLK_OUT
  phy_addr: 0
  manual_ip:  # Recommended for router compatibility
    static_ip: 192.168.1.183
    gateway: 192.168.1.1
    subnet: 255.255.255.0
    dns1: 8.8.8.8            # DNS primary
    dns2: 8.8.4.4            # DNS secondary

# Alternative debug and OTA web server
web_server:
  port: 80
  version: 2
  include_internal: true

3. Changed the attenuation value for the adc from 11db to 12db

From:
Code:
  - platform: adc
    pin: 39
    name: "analog-1"
    update_interval: 10s
    attenuation: 11db

  - platform: adc
    pin: 34
    name: "analog-2"
    update_interval: 10s
    attenuation: 11db
  
  - platform: adc
    pin: 36
    name: "analog-3"
    update_interval: 10s
    attenuation: 11db
  
  - platform: adc
    pin: 35
    name: "analog-4"
    update_interval: 10s
    attenuation: 11db

To:
Code:
  - platform: adc
    pin: 39
    name: "analog-1"
    update_interval: 10s
    attenuation: 12db

  - platform: adc
    pin: 34
    name: "analog-2"
    update_interval: 10s
    attenuation: 12db
  
  - platform: adc
    pin: 36
    name: "analog-3"
    update_interval: 10s
    attenuation: 12db
  
  - platform: adc
    pin: 35
    name: "analog-4"
    update_interval: 10s
    attenuation: 12db

It might make sense to update the first post with the latest changes to the latest version of ESPHome!
Reply


Messages In This Thread
KC868-A32 configure for ESPhome - by admin - 03-23-2022, 12:36 PM
RE: KC868-A32 configure for ESPhome - by nwells - 03-03-2023, 12:51 AM
RE: KC868-A32 configure for ESPhome - by admin - 03-03-2023, 02:36 AM
RE: KC868-A32 configure for ESPhome - by nwells - 03-03-2023, 04:30 AM
RE: KC868-A32 configure for ESPhome - by nwells - 03-03-2023, 06:10 AM
RE: KC868-A32 configure for ESPhome - by admin - 03-03-2023, 09:02 AM
RE: KC868-A32 configure for ESPhome - by nwells - 03-03-2023, 09:12 AM
RE: KC868-A32 configure for ESPhome - by admin - 03-03-2023, 09:53 AM
RE: KC868-A32 configure for ESPhome - by nwells - 03-03-2023, 10:00 AM
RE: KC868-A32 configure for ESPhome - by admin - 03-03-2023, 10:34 AM
RE: KC868-A32 configure for ESPhome - by nwells - 03-04-2023, 12:06 AM
RE: KC868-A32 configure for ESPhome - by admin - 03-04-2023, 12:48 AM
RE: KC868-A32 configure for ESPhome - by nwells - 03-04-2023, 01:18 AM
RE: KC868-A32 configure for ESPhome - by admin - 03-04-2023, 01:32 AM
RE: KC868-A32 configure for ESPhome - by admin - 12-24-2023, 11:32 AM
RE: KC868-A32 configure for ESPhome - by REVELAS - 12-27-2023, 07:22 PM
RE: KC868-A32 configure for ESPhome - by gigios - 09-04-2025, 08:30 AM
RE: KC868-A32 configure for ESPhome - by admin - 09-04-2025, 12:23 PM
RE: KC868-A32 configure for ESPhome - by gigios - 09-04-2025, 12:52 PM
RE: KC868-A32 configure for ESPhome - by gigios - 09-04-2025, 12:52 PM
RE: KC868-A32 configure for ESPhome - by gigios - 09-04-2025, 12:57 PM
RE: KC868-A32 configure for ESPhome - by admin - 09-04-2025, 11:10 PM
RE: KC868-A32 configure for ESPhome - by tasman - 09-09-2025, 04:16 PM
RE: KC868-A32 configure for ESPhome - by admin - 09-10-2025, 12:48 AM
RE: KC868-A32 configure for ESPhome - by tasman - 09-10-2025, 06:24 AM
RE: KC868-A32 configure for ESPhome - by admin - 09-10-2025, 06:37 AM
RE: KC868-A32 configure for ESPhome - by tasman - 09-10-2025, 07:08 AM
RE: KC868-A32 configure for ESPhome - by tasman - 09-10-2025, 11:49 AM
RE: KC868-A32 configure for ESPhome - by admin - 09-10-2025, 11:47 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)