『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 5951|回复: 7

[技术探讨] 求助 esphome刷系统报错

[复制链接]

3

主题

24

帖子

123

积分

注册会员

Rank: 2

积分
123
金钱
99
HASS币
0
发表于 2020-1-8 17:45:17 | 显示全部楼层 |阅读模式
INFO Upload with baud rate 460800 failed. Trying again with baud rate 115200.INFO Running:  esptool.py --before default_reset --after hard_reset --baud 115200 --chip esp8266 --port /dev/ttyUSB0 write_flash 0x0 /data/new_air/.pioenvs/new_air/firmware.binesptool.py v2.7Serial port /dev/ttyUSB0Connecting........_____....._____....._____....._____....._____....._____....._____A fatal error occurred: Failed to connect to ESP8266: Timed out waiting for packet header
回复

使用道具 举报

23

主题

1338

帖子

6755

积分

超级版主

Rank: 8Rank: 8

积分
6755
金钱
5392
HASS币
100

教程狂人

发表于 2020-1-8 20:32:38 | 显示全部楼层
应该是没有正确进入刷机模式
回复

使用道具 举报

3

主题

24

帖子

123

积分

注册会员

Rank: 2

积分
123
金钱
99
HASS币
0
 楼主| 发表于 2020-1-8 21:50:26 | 显示全部楼层
rror: Please read http://bit.ly/package-manager-ioerror
ChunkedEncodingError: ("Connection broken: ConnectionResetError(104, 'Connection reset by peer')", ConnectionResetError(104, 'Connection reset by peer')):
  File "/usr/local/lib/python3.6/dist-packages/platformio/builder/main.py", line 126:
    env.SConscript("$BUILD_SCRIPT")
  File "/root/.platformio/packages/tool-scons/script/../engine/SCons/Script/SConscript.py", line 605:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/root/.platformio/packages/tool-scons/script/../engine/SCons/Script/SConscript.py", line 286:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "/root/.platformio/platforms/espressif8266/builder/main.py", line 203:
    target_elf = env.BuildProgram()
  File "/root/.platformio/packages/tool-scons/script/../engine/SCons/Environment.py", line 224:
    return self.method(*nargs, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/platformio/builder/tools/platformio.py", line 122:
    _build_project_deps(env)
  File "/usr/local/lib/python3.6/dist-packages/platformio/builder/tools/platformio.py", line 47:
    project_lib_builder = env.ConfigureProjectLibBuilder()
  File "/root/.platformio/packages/tool-scons/script/../engine/SCons/Environment.py", line 224:
    return self.method(*nargs, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/platformio/builder/tools/piolib.py", line 1043:
    project.install_dependencies()
  File "/usr/local/lib/python3.6/dist-packages/platformio/builder/tools/piolib.py", line 878:
    lm.install(uri)
  File "/usr/local/lib/python3.6/dist-packages/platformio/managers/lib.py", line 359:
    force=force)
  File "/usr/local/lib/python3.6/dist-packages/platformio/managers/package.py", line 703:
    pkg_dir = self._install_from_piorepo(name, requirements)
  File "/usr/local/lib/python3.6/dist-packages/platformio/managers/lib.py", line 220:
    if app.get_setting("strict_ssl") else dl_data['url'], requirements)
  File "/usr/local/lib/python3.6/dist-packages/platformio/managers/package.py", line 481:
    dlpath = self.download(url, tmp_dir, sha1)
  File "/usr/local/lib/python3.6/dist-packages/platformio/managers/package.py", line 193:
    raise e
  File "/usr/local/lib/python3.6/dist-packages/platformio/managers/package.py", line 179:
    fd.start(with_progress=with_progress)
  File "/usr/local/lib/python3.6/dist-packages/platformio/downloader.py", line 83:
    f.write(next(itercontent))
  File "/usr/local/lib/python3.6/dist-packages/requests/models.py", line 753:
    raise ChunkedEncodingError(e)
========================== [FAILED] Took 6.80 seconds ==========================
回复

使用道具 举报

3

主题

24

帖子

123

积分

注册会员

Rank: 2

积分
123
金钱
99
HASS币
0
 楼主| 发表于 2020-1-8 21:52:04 | 显示全部楼层
这又是啥情况呢 说的网页也打不开
回复

使用道具 举报

46

主题

641

帖子

4411

积分

元老级技术达人

积分
4411
金钱
3740
HASS币
120
发表于 2020-1-31 20:40:53 | 显示全部楼层
kiddfu 发表于 2020-1-8 21:50
rror: Please read http://bit.ly/package-manager-ioerror
ChunkedEncodingError: ("Connection broken: C ...

解决了吗,我也碰到这个问题
回复

使用道具 举报

0

主题

31

帖子

133

积分

注册会员

Rank: 2

积分
133
金钱
102
HASS币
0
发表于 2020-1-31 23:19:46 | 显示全部楼层
俺也一样,会不会是被墙了,哪位能试下
回复

使用道具 举报

0

主题

31

帖子

133

积分

注册会员

Rank: 2

积分
133
金钱
102
HASS币
0
发表于 2020-2-2 11:31:17 | 显示全部楼层
找到解决方法了,应该是当天的网络问题而已
回复

使用道具 举报

0

主题

19

帖子

84

积分

注册会员

Rank: 2

积分
84
金钱
65
HASS币
0
发表于 2020-5-16 11:30:47 | 显示全部楼层
kiddfu 发表于 2020-1-8 21:50
rror: Please read http://bit.ly/package-manager-ioerror
ChunkedEncodingError: ("Connection broken: C ...

俺也遇到这个问题
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-26 03:32 , Processed in 0.627634 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表