Smart Home Automation Forum
Problems wifi / ESPHome? - 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-A128 (https://www.kincony.com/forum/forumdisplay.php?fid=34)
+--- Thread: Problems wifi / ESPHome? (/showthread.php?tid=8029)



Problems wifi / ESPHome? - S.Krans - 04-29-2025

Can somebody test my code my wifi is dropping and cant connect to it after the update esphome


ESPHome Device Builder 
Current version: 2025.4.1

Home Assistant
Core 2025.4.4
Supervisor 2025.04.1
Operating System 15.2
Frontend 20250411.0

Network 
UniFi OS 4.2.9
Network 9.0.114


RE: Problems wifi / ESPHome? - admin - 04-29-2025

do you wifi is 2.4G, not use by 5.8G.
you can use your mobile phone work as wifi hot spot, let your KC868-A128 board connect it for a testing.


RE: Problems wifi / ESPHome? - S.Krans - 05-03-2025

I get this error code with fixt lan connection maybe you know where the problem could be I have already looked in the github of HA and EspHome its online in esphome builder and can log

Code:
Logger: aioesphomeapi.reconnect_logic
Source: runner.py:154
First occurred: 11:08:35 (5 occurrences)
Last logged: 12:02:26
Can't connect to ESPHome API for koi-rk-kincony-kc868-a128 @ 20.20.20.183: Timeout waiting for HelloResponse, ConnectResponse after 30.0s (TimeoutAPIError)
Can't connect to ESPHome API for koi-rk-kincony-kc868-a128 @ 20.20.20.183: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='20.20.20.183', port=6053))]: [Errno 113] Connect call failed ('20.20.20.183', 6053) (SocketAPIError)
Can't connect to ESPHome API for koi-rk-kincony-kc868-a128 @ 20.20.20.183: koi-rk-kincony-kc868-a128 @ 20.20.20.183: The connection dropped immediately after encrypted hello; Try enabling encryption on the device or turning off encryption on the client (Home Assistant 2025.4.4) (EncryptionHelloAPIError)

Code:
Logger: aioesphomeapi.connection
Source: /usr/src/homeassistant/homeassistant/components/esphome/manager.py:382
First occurred: 11:43:51 (5 occurrences)
Last logged: 14:06:47
koi-rk-kincony-kc868-a128 @ 20.20.20.183: disconnect request failed
Traceback (most recent call last):
  File "aioesphomeapi/connection.py", line 820, in aioesphomeapi.connection.APIConnection.send_messages_await_response_complex
TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "aioesphomeapi/connection.py", line 1026, in aioesphomeapi.connection.APIConnection.disconnect
  File "aioesphomeapi/connection.py", line 838, in send_message_await_response
  File "aioesphomeapi/connection.py", line 824, in send_messages_await_response_complex
aioesphomeapi.core.TimeoutAPIError: Timeout waiting for DisconnectResponse after 10.0s

Code:
Logger: aioesphomeapi.connection
Source: runner.py:154
First occurred: 10:54:24 (11 occurrences)
Last logged: 14:13:04
koi-rk-kincony-kc868-a128 @ 20.20.20.183: Connection error occurred: koi-rk-kincony-kc868-a128 @ 20.20.20.183: EOF received
koi-rk-kincony-kc868-a128 @ 20.20.20.183: Connection error occurred: koi-rk-kincony-kc868-a128 @ 20.20.20.183: Connection lost
koi-rk-kincony-kc868-a128 @ 20.20.20.183: Connection error occurred: koi-rk-kincony-kc868-a128 @ 20.20.20.183: The connection dropped immediately after encrypted hello; Try enabling encryption on the device or turning off encryption on the client (Home Assistant 2025.4.4)



RE: Problems wifi / ESPHome? - admin - 05-04-2025

do you only want use KC868-A128 board work with digital input and digital output using wifi? if YES, i can test it to compile.


RE: Problems wifi / ESPHome? - S.Krans - 05-14-2025

Small update 

I also have an A64 board, this board does not have this problem. 
Can it be the ESP32 chip that breaks i am going to check the voltage input but it must be fine 24v 25A power supply


also can you test the with wifi


RE: Problems wifi / ESPHome? - admin - 05-14-2025

ok, i will test with wifi by esphome.


RE: Problems wifi / ESPHome? - admin - 05-15-2025

Tested with KC868-A128. here are two yaml file for ethernet and wifi.
   


RE: Problems wifi / ESPHome? - S.Krans - 05-17-2025

So the esp32 a64 card is stable but the a128 card not can this be a failing esp32


I am going to swap the eth cable 
Also i am checking the imput voltage


RE: Problems wifi / ESPHome? - S.Krans - 05-19-2025

So update wifi is stable but lan not problem with ethernet chip??

Code:
# Example configuration entry
ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0

  # Optional manual IP
  #manual_ip:
  #  static_ip: 20.20.20.183
  #  gateway: 20.20.20.1
  #  subnet: 255.255.255.0
  #  dns1: 8.8.8.8
  #  dns2: 1.1.1.1 



RE: Problems wifi / ESPHome? - admin - 05-19-2025

ethernet not stable?