Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
kc868-a32 ethernet problems
#1
just got a new kc868-a32, connect to router with ethernet cable, same as my desktop etc. Using power adaptor from the package, 12vdc 2A. But, the connection is not detected by Home Assistance, nor I can see from my router network map etc. Changed ethernet cable as well. Tried resetting the board, and power off/on multiple times, still no lucky.

I am using the ESPHome script in HA, as suggested by KC. Appreciate any help or suggestion. Thanks.
Reply
#2
here is ESPHome config yaml for KC868-A32: https://www.kincony.com/forum/showthread.php?tid=1772
if you also have problem, take a photo of your error, so that can understand your problem.
Reply
#3
I understand your ESPhome script etc., but somehow the board ethernet connection is NOT seen via the router, ASUS GT-AC5300 (high-end game router) which is connected to 6 other LAN devices that are all working, but your A32 board.

The board cannot be reset or reboot to make it to work. The router has been rebooted multiple time but still not connected to the a32 board ethernet port. The a32 ethernet port is lighting up and I assume it is communicating with the router some how, but not showing up in the router network map.

The HA ESPHome script can be compiled, but cannot be loaded to the board, as the ethernet port is not communicating to the router.

This is what I got from the ESPHome installation messages:

========================= [SUCCESS] Took 32.59 seconds =========================
INFO Successfully compiled program.
INFO Resolving IP address of kc868-a32.local
ERROR Error resolving IP address of kc868-a32.local. Is it connected to WiFi?
ERROR (If this error persists, please set a static IP address: https://esphome.io/components/wifi.html#manual-ips)
ERROR Error resolving IP address: Error resolving address with mDNS: Did not respond. Maybe the device is offline., [Errno -5] No address associated with hostname


Is there any other way to make it connect to the router LAN port? My desktop and the router are linked together and working for at least 3 years now. Thanks
Reply
#4
suggest you add static ip config command, such as:
# Optional manual IP
manual_ip:
static_ip: 10.0.0.42
gateway: 10.0.0.1
subnet: 255.255.255.0

replace by your static IP for A32 board.

here is details of ESPHome: https://esphome.io/components/ethernet.html
Reply
#5
(09-02-2023, 06:58 AM)admin Wrote: suggest you add static ip config command, such as:
  # Optional manual IP
  manual_ip:
    static_ip: 10.0.0.42
    gateway: 10.0.0.1
    subnet: 255.255.255.0

replace by your static IP for A32 board.

here is details of ESPHome: https://esphome.io/components/ethernet.html

I flashed the A32 board with the ESP32-A32 bin from your website. I can only get it to work with WIFI in both ESP32-Dev and KC868-A32 Tasmota. 

Not working if connected to ethernet at all, no matter how much I tried. The static IP did not work, if the ethernet port is NOT working.

That's why I think the board may have a defective ethernet port, as I cannot get it to work any other way.

I even tried loading your ESPHome script to the WIFI static ip, but it did not work, with the following message:

INFO Connecting to 192.168.1.183
ERROR Connecting to 192.168.1.183:3232 failed: [Errno 111] Connection refused

Do you have the ESPhome bin file, that I can flash the board to work with the ethernet port?

Thanks
Reply
#6
upload your config yaml file.
Reply
#7
Hi, I sent you a message as the yaml is too long. Thanks
Reply
#8
how about use this config file with esphome directly. important: make sure your IP address "192.168.1.183"  not used by other device.

.txt   esphome_config_A32.txt (Size: 11.27 KB / Downloads: 195)
Reply
#9
I added ota: to it as it is missing. But same errror message:

INFO Successfully compiled program.
INFO Connecting to 192.168.1.183
ERROR Connecting to 192.168.1.183:3232 failed: [Errno 111] Connection refused

Now, the A32 has both wifi and ethernet connections at 183 wired, and 182 wifi. So, I changed the A32 to ESP32-Dev module and tried your script again. This time I got different error message:

INFO Successfully compiled program.
INFO Connecting to 192.168.1.183
ERROR Connecting to 192.168.1.183:3232 failed: [Errno 113] No route to host

but I do not know if the 183 shown in my router is a real wired connection, or something created by your script. Because I did not see the ethernet port on the A32 flashing and I doubt that it is connecting to the router in real mode.

can you convert the above config file into a bin that I can flash via the USB port?
Reply
#10
i suggest you download KCS v2 firmware for a test. if can't work also, send me a video of your network LED by whatsapp number: +86-15381188302
KCS v2 firmware download: https://www.kincony.com/forum/showthread.php?tid=3218
how to download: https://www.kincony.com/esp32-kcsv2-firmware.html
after download, just re power on of A32, then check your router or use kincony scan device tool to find out the A32 IP address.
Reply


Forum Jump:


Users browsing this thread:
2 Guest(s)