Open madbrain76 opened 1 week ago
Having the same ota issue. Following
I'm using the following, per the doc:
ota:
- platform: esphome
password: !secret ota_password
And getting the same error "ERROR ESP requests password, but no password given!"
(p.s. yes, the secret is defined - it's the same reference I used before the restructure)
@mkosmo,
Interestingly, I have a 3rd AR-01 device which wasn't using password at all. I was able to migrate that one by adding " -platform: esphome" . I don't know why that device is different.
Looks like it's just a silly indentation problem on my side.
Using the syntax you provided, with a 2 extra spaces, it's building correctly on my device right now. I believe it got well past the point of "no password given" . I'll edit this post again when they are both complete.
I still wonder why the 3rd one doesn't have a password :)
I fixed mine. I reread the documentation again, focusing on the changelog instead and realized I was creating an object it didn't expect. This worked:
ota:
platform: esphome
password: !secret ota_password
It seems the documentation is inconsistent right now.
The problem
I have 2 AR-01s, and cannot update them with the latest ESPHome version
Which version of ESPHome has the issue?
2024.6.0
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2024.6.3
What platform are you using?
ESP8266
Board
esp825 - AtHom AR-01
Component causing the issue
Unknown
Example YAML snippet
Anything in the logs that might be useful for us?
At least one platform must be specified for 'ota'; add 'platform: esphome' for original OTA functionality
2) after I added the platform
I got this error :
3) after I commented out the key
I get this :
I'm not sure where to go from here.