Smart Home Automation Forum
How to solve error during install esp home in home assistant nstall - 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-A4 (https://www.kincony.com/forum/forumdisplay.php?fid=21)
+--- Thread: How to solve error during install esp home in home assistant nstall (/showthread.php?tid=2338)



How to solve error during install esp home in home assistant nstall - engmohades - 10-12-2022

INFO Reading configuration /config/esphome/smart-a4.yaml...
WARNING GPIO2 is a Strapping PIN and should be avoided.
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 GPIO15 is a Strapping PIN and should be avoided.
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 GPIO4 is a Strapping PIN and should be avoided.
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
INFO Generating C++ source...
INFO Compiling app...
Processing kc868-a4 (board: esp32dev; framework: arduino; platform: platformio/espressif32 @ 3.5.0)
--------------------------------------------------------------------------------
Library Manager: Installing Hash
INFO Installing Hash
Library Manager: Installing ESP8266WiFi
INFO Installing ESP8266WiFi
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
Dependency Graph
|-- AsyncTCP-esphome @ 1.2.2
|-- WiFi @ 1.0
|-- FS @ 1.0
|-- Update @ 1.0
|-- ESPAsyncWebServer-esphome @ 2.1.0
|  |-- AsyncTCP-esphome @ 1.2.2
|-- DNSServer @ 1.1.0
|-- ESPmDNS @ 1.0
RAM:  [=        ]  12.7% (used 41756 bytes from 327680 bytes)
Flash: [=====    ]  49.5% (used 908014 bytes from 1835008 bytes)
========================= [SUCCESS] Took 9.83 seconds =========================
INFO Successfully compiled program.
esptool.py v3.3.1
Serial port /dev/ttyUSB0
Connecting..........
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 30:c6:f7:58:6e:34
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00010000 to 0x000edfff...
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Compressed 908128 bytes to 519505...
Writing at 0x000681f7... (31 %)
A fatal error occurred: Serial data stream stopped: Possible serial noise or corruption.
INFO Upload with baud rate 460800 failed. Trying again with baud rate 115200.
esptool.py v3.3.1
Serial port /dev/ttyUSB0
Connecting.......
ERROR Running command failed: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
ERROR Please try running esptool.py --before default_reset --after hard_reset --baud 115200 --port /dev/ttyUSB0 --chip esp32 write_flash -z --flash_size detect 0x10000 /data/kc868-a4/.pioenvs/kc868-a4/firmware.bin 0x1000 /data/cache/platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader_dio_40m.bin 0x8000 /data/kc868-a4/.pioenvs/kc868-a4/partitions.bin 0xe000 /data/cache/platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin locally.



RE: How to solve error during install esp home in home assistant nstall - admin - 10-12-2022

which board you are using? KC868-A4? do you have used extend power supply DC12V?


RE: How to solve error during install esp home in home assistant nstall - engmohades - 10-13-2022

Yes I used KC868- A4 Bord
And used external power supply 12 volt


RE: How to solve error during install esp home in home assistant nstall - engmohades - 10-13-2022

(10-13-2022, 02:48 AM)engmohades Wrote: Yes I used KC868- A4 Bord
And used external power supply 12 volt



RE: How to solve error during install esp home in home assistant nstall - admin - 10-13-2022

can you replace with another dc12v power supply for a test?


RE: How to solve error during install esp home in home assistant nstall - engmohades - 10-13-2022

I change power supply and the same problem Sad . but i tested simple code using arduino it is good work  Smile

and i try to install tasmota software  when i finished  and modified it also not work Sad


RE: How to solve error during install esp home in home assistant nstall - admin - 10-13-2022

i think it's your config setting problem. if arduino code can running, hardware is no problem.


RE: How to solve error during install esp home in home assistant nstall - engmohades - 10-13-2022

(10-13-2022, 12:05 PM)admin Wrote: i think it's your config setting problem. if arduino code can running, hardware is no problem.

i used the same your configrarion file and change my ssd wifi and password 

can help me to solve problem ?


RE: How to solve error during install esp home in home assistant nstall - admin - 10-22-2022

can you change to use another USB cable.