- 积分
- 593
- 金钱
- 490
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 593
- 金钱
- 490
- HASS币
- 0
|
编译内容:
esphome:
name: esp8266-01s
platform: ESP8266
board: esp01_1m
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "88888888"
wifi:
ssid: "Redmi_1A1A"
password: "zx666888"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp8266-01S Fallback Hotspot"
password: "88888888"
captive_portal:
编译时报错:
INFO Reading configuration /config/esphome/esp8266-01s.yaml...
INFO Generating C++ source...
INFO Compiling app...
INFO Running: platformio run -d /config/esphome/esp8266-01s
Processing esp8266-01s (board: esp01_1m; framework: arduino; platform: platformio/[email protected])
--------------------------------------------------------------------------------
HARDWARE: ESP8266 80MHz, 80KB RAM, 1MB Flash
PACKAGES:
- framework-arduinoespressif8266 3.20704.0 (2.7.4)
- tool-esptool 1.413.0 (4.13)
- tool-esptoolpy 1.20800.0 (2.8.0)
- toolchain-xtensa 2.40802.200502 (4.8.2)
Library Manager: Installing Update
HTTPClientError: Please upgrade to the PlatformIO Core 6:
File "/usr/local/lib/python3.7/dist-packages/platformio/builder/main.py", line 177:
env.SConscript("$BUILD_SCRIPT")
File "/root/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Script/SConscript.py", line 591:
return _SConscript(self.fs, *files, **subst_kw)
File "/root/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Script/SConscript.py", line 280:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "/root/.platformio/platforms/espressif8266/builder/main.py", line 238:
target_elf = env.BuildProgram()
File "/root/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Util.py", line 658:
return self.method(*nargs, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/platformio.py", line 62:
env.ProcessProjectDeps()
File "/root/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Util.py", line 658:
return self.method(*nargs, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/platformio.py", line 140:
project_lib_builder = env.ConfigureProjectLibBuilder()
File "/root/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Util.py", line 658:
return self.method(*nargs, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/piolib.py", line 1062:
project.install_dependencies()
File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/piolib.py", line 898:
lm.install(spec)
File "/usr/local/lib/python3.7/dist-packages/platformio/package/manager/_install.py", line 49:
spec, silent=silent, skip_dependencies=skip_dependencies, force=force
File "/usr/local/lib/python3.7/dist-packages/platformio/package/manager/library.py", line 86:
force=force,
File "/usr/local/lib/python3.7/dist-packages/platformio/package/manager/_install.py", line 99:
pkg = self.install_from_registry(spec, search_filters, silent=silent)
File "/usr/local/lib/python3.7/dist-packages/platformio/package/manager/_registry.py", line 88:
packages = self.search_registry_packages(spec, search_filters)
File "/usr/local/lib/python3.7/dist-packages/platformio/package/manager/_registry.py", line 135:
return self.get_registry_client_instance().list_packages(filters=filters)[
File "/usr/local/lib/python3.7/dist-packages/platformio/clients/registry.py", line 131:
"get", "/v3/packages", params=params, cache_valid="1h"
File "/usr/local/lib/python3.7/dist-packages/platformio/clients/http.py", line 145:
data = self._parse_json_response(response)
File "/usr/local/lib/python3.7/dist-packages/platformio/clients/http.py", line 160:
raise HTTPClientError(message, response)
========================== [FAILED] Took 6.95 seconds ==========================
请教各位大佬,这是啥情况啊 |
|