Can I get someone to help me figure out why I can’t get my esp8266 to install firmware from esphome. I also tried to install wled on them as a side test and couldn’t get that to work either. They are being recognized by windows and popping up the serial port selection window when attempting to flash esphome and wled.
It should also be noted that I have multiple of these and can’t get any of them to take a flash in esphome when hooked up to my windows laptop.
Then flash works properly when hooked up directly to my hassio instance on a raspberry pi.
When I hit “new device”, then connect, then select the com port from the windows menu, it shows connecting spinning and then bounces right back to the dialog box of “skip this step” and “connect”
EDIT:
When I select install and choose manual download. I get the following:
INFO Reading configuration /config/esphome/test3.yaml...
ERROR Unexpected exception while reading configuration:
Traceback (most recent call last):
File "/usr/local/bin/esphome", line 33, in <module>
sys.exit(load_entry_point('esphome', 'console_scripts', 'esphome')())
File "/esphome/esphome/__main__.py", line 931, in main
return run_esphome(sys.argv)
File "/esphome/esphome/__main__.py", line 909, in run_esphome
config = read_config(dict(args.substitution) if args.substitution else {})
File "/esphome/esphome/config.py", line 972, in read_config
res = load_config(command_line_substitutions)
File "/esphome/esphome/config.py", line 827, in load_config
return _load_config(command_line_substitutions)
File "/esphome/esphome/config.py", line 815, in _load_config
result = validate_config(config, command_line_substitutions)
File "/esphome/esphome/config.py", line 742, in validate_config
result.run_validation_steps()
File "/esphome/esphome/config.py", line 124, in run_validation_steps
task.step.run(self)
File "/esphome/esphome/config.py", line 498, in run
validated = schema(self.conf)
File "/esphome/esphome/voluptuous_schema.py", line 34, in __call__
res = super().__call__(data)
File "/usr/local/lib/python3.9/dist-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.9/dist-packages/voluptuous/validators.py", line 229, in _run
return self._exec(self._compiled, value, path)
File "/usr/local/lib/python3.9/dist-packages/voluptuous/validators.py", line 353, in _exec
v = func(path, v)
File "/usr/local/lib/python3.9/dist-packages/voluptuous/schema_builder.py", line 818, in validate_callable
return schema(data)
File "/esphome/esphome/voluptuous_schema.py", line 34, in __call__
res = super().__call__(data)
File "/usr/local/lib/python3.9/dist-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.9/dist-packages/voluptuous/schema_builder.py", line 595, in validate_dict
return base_validate(path, iteritems(data), out)
File "/esphome/esphome/voluptuous_schema.py", line 118, in validate_mapping
not isinstance(key.default, vol.Undefined)
File "/esphome/esphome/config_validation.py", line 1450, in default
if CORE.is_esp8266:
File "/esphome/esphome/core/__init__.py", line 590, in is_esp8266
return self.target_platform == "esp8266"
File "/esphome/esphome/core/__init__.py", line 586, in target_platform
return self.data[KEY_CORE][KEY_TARGET_PLATFORM]
KeyError: 'target_platform'
and if I choose “Plug into this computer”, I get “failed to initialize”