Smart Home Automation Forum
Can't Connect Over LAN - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: KC868-HxB series Smart Controller (https://www.kincony.com/forum/forumdisplay.php?fid=2)
+--- Thread: Can't Connect Over LAN (/showthread.php?tid=7512)

Pages: 1 2 3


RE: Can't Connect Over LAN - Error7 - 02-04-2025

(02-04-2025, 12:18 AM)admin Wrote: the default firmware in esp32 is manufacturer's test firmware. Because different people will chose different solution to use. some people config by esphome, some download KCS firmware, some write own arduino code.
if you don't know how to download KCS firmware, you can add whatsapp number: +86-15381188302  we use ANYDESK software remote control your computer to help you.

I do know how to download KCS firmware, thanks. I just can't get it to work like it's supposed to work.

This is how I've configured my temporary LAN: I changed the IP address on my laptop to 192.168.1.14 then connected it to a spare router configured to to 192.168.1.1. and connected the KC868-A16 to the router. When I run the flash_download_tool from my Windows GUI it results in the error as described previously.

I've had to create a separate LAN from my main network because it is set up to 192.168.0.xxx. This is how I've configured my temporary LAN: I changed the IP address on my laptop to 192.168.1.14 then connected it to a spare router configured to 192.168.1.1. and connected the KC868-A16 to the router. When I run the flash_download_tool from my Windows GUI it results in the error as described previously.

It's probably me doing something wrong. I'm finding the whole process rather complicated but I consider myself to be fairly technical. Any help you can provide would be much appreciated.


RE: Can't Connect Over LAN - admin - 02-04-2025

can you add us whatsapp number: +86-15381188302 we will help you.


RE: Can't Connect Over LAN - twostar - 02-04-2025

(02-04-2025, 07:22 AM)Error7 Wrote: I've had to create a separate LAN from my main network because it is set up to 192.168.0.xxx. This is how I've configured my temporary LAN: I changed the IP address on my laptop to 192.168.1.14 then connected it to a spare router configured to  192.168.1.1. and connected the KC868-A16 to the router. When I run the flash_download_tool from my Windows GUI it results in the error as described previously.

The firmware update is done over USB, you shouldn't need to do anything with a LAN.

Leading to a followup question, are you trying to update it over a LAN? That would explain the error message you're seeing, the update is done over USB.


RE: Can't Connect Over LAN - Error7 - 02-04-2025

(02-04-2025, 08:40 AM)twostar Wrote:
(02-04-2025, 07:22 AM)Error7 Wrote: I've had to create a separate LAN from my main network because it is set up to 192.168.0.xxx. This is how I've configured my temporary LAN: I changed the IP address on my laptop to 192.168.1.14 then connected it to a spare router configured to  192.168.1.1. and connected the KC868-A16 to the router. When I run the flash_download_tool from my Windows GUI it results in the error as described previously.

The firmware update is done over USB, you shouldn't need to do anything with a LAN.

Leading to a followup question, are you trying to update it over a LAN?  That would explain the error message you're seeing, the update is done over USB.

Thanks for that information. I'll give that a try and let you know how I get on.


RE: Can't Connect Over LAN - Error7 - 02-04-2025

(02-04-2025, 10:48 AM)Error7 Wrote:
(02-04-2025, 08:40 AM)twostar Wrote:
(02-04-2025, 07:22 AM)Error7 Wrote: I've had to create a separate LAN from my main network because it is set up to 192.168.0.xxx. This is how I've configured my temporary LAN: I changed the IP address on my laptop to 192.168.1.14 then connected it to a spare router configured to  192.168.1.1. and connected the KC868-A16 to the router. When I run the flash_download_tool from my Windows GUI it results in the error as described previously.

The firmware update is done over USB, you shouldn't need to do anything with a LAN.

Leading to a followup question, are you trying to update it over a LAN?  That would explain the error message you're seeing, the update is done over USB.

Thanks for that information. I'll give that a try and let you know how I get on.

Unfortunately that didn't help. When running the download tool 3.9.2 I get "Error: Unable to set default locale: 'unsupported locale setting'"
So I installed 3.9.8_3 from your  Espressif flash tool link which first produced "The program can't start because api-ms-win-core-path-|1-1-0.dll is missing from your computer"
So I eventually managed to find and download the missing dll for my Win7 64 bit machine and copied it into Windows System32 and SysWOW64 folders, rebooted and tried again. This produced "Error loading Python DLL 'C:Users\Alan\AppData\Local\Temp\_MEI53322\Python39.dll.
No error messages generated
FormatMessageW: The parameter is incorrect.
LoadLibrary: PyInstaller: FormatMessageW failed."

So I searched for Python39.dll on the Python website only to find this: Note that Python 3.9.0 cannot be used on Windows 7 or earlier.

So I'm beginning to think that all my problems are because I'm still running Windows 7.


RE: Can't Connect Over LAN - admin - 02-05-2025

take a video how you did, send to whatsapp or Google drvier, so that we can help you!!


RE: Can't Connect Over LAN - Error7 - 02-05-2025

(02-05-2025, 12:06 AM)admin Wrote: take a video how you did, send to whatsapp or Google drvier, so that we can help you!!

I made a video but was unable to send it to your WhatsApp number so I have posted it on YouTube as private.
https://youtu.be/mFm2cut5gak

Since doing this I was able to find version 3.7.3 of Python for Windows 7 which I have installed but i am still unable to connect to the board via USB.


RE: Can't Connect Over LAN - twostar - 02-06-2025

The Espressif software seems to include a bundled Python package so it could be running that instead of the one you've installed, which means it still won't work under Windows 7.

Also, have you had Windows install the required CH340 drivers?


RE: Can't Connect Over LAN - admin - 02-06-2025

1. USB driver download link: https://www.wch-ic.com/downloads/CH341SER_EXE.html
2. please don't connect USB in front of your PC, connect back of PC box, that connect to PC mother board's USB port directly.
3. if really can't find USB device, please change USB-C cable.


RE: Can't Connect Over LAN - Error7 - 02-06-2025

(02-06-2025, 12:12 AM)twostar Wrote: The Espressif software seems to include a bundled Python package so it could be running that instead of the one you've installed, which means it still won't work under Windows 7.

Also, have you had Windows install the required CH340 drivers?

So I uninstalled Python 3.7.3, connected my USB 'C' to one of the USB ports on the back of my PC then ran flash_download_tool_3.9.8_3.exe. After the running the download tool I checked my PC for an instance of Python but it didn't exist so I reinstalled Python 3.7.3 then ran the download tool again. Still the same result.

I'm not sure what you mean by the required CH340 drivers.

Anyway, as all the errors refer to Python and as I can't install any versions later than 3.7.3 on my Win 7 machine, I have ordered a new PC with Win 11 preinstalled.

All I want to do is change the IP on the board so that I can connect to it with a browser over my LAN. Huh