I am trying to load my programme to an esp32 using esphome. I know the programme is okia it compiles without error. It seems my PC is linking ESPhome to a wifi I use yesterday to access email when I was away from home. All my other apps on my PC and on my phone are fine. I have tried to link using the option when I load my programme but it seems not to accept my current wifi (which is the same as my Secret file)
You should probably redact your api key and ota password and maybe move them to the secret file like your wifi keys.
Then could you please explain when the steps you do and when it goes wrong.
I sounds like your are compiling the code fine, but then it is a bit unclear how far you get.
Do your ESP device accept the connection?
Do the upload start?
Do the ESP device restart?
Do it connect after the restart?
And where is your ESPHome builder installed? On the HA server as an addon or container or on your workstation?
Also what output do you see on your screen when it fails?
Any errors or log lines?
wow that’s a lot.
I try to install wirelessly but although my programme compiles there is a error trying yo find the address.
I try installing using esphome web. I have a choice
1 preparing for first install
2 install
I usually go for preparing for first install
I have to press the boot button on this esp32
after installation (some times there is a delete of old installation)
I then get a message configurating installed
I then get the message
esphome-web-5a6af0
Software: esphome.web/24.11.1
I hit connect to wifi and select my wifi and enter the password
I then enter logs
and get
INFO ESPHome 2024.7.3
INFO Reading configuration /config/esphome/esp32-test1.yaml...
INFO Starting log output from esp32-1.local using esphome API
WARNING Can't connect to ESPHome API for esp32-1.local: Error resolving IP address: [Errno -5] No address associated with hostname (APIConnectionError)
INFO Trying to connect to esp32-1.local in the background
An even bigger WOW. You are pushing my knowledge horizon into unexplored territory. It appears my device does not appear on my router. I tried to ping esp21-1 by entering ping esp32-1 in the command line but "the ping request could not find the esp.
I am having problems linking to my Wifi. I was getting help when my replies were in read ony. I have since programmed my esp32 using Arduino IDE… I get exphome-web-54e333
the software is esphome web/24.11.1 and the address I seem to be linked to isTNCAP65D570.
I don’t understand what is going on. How do I fix it?
INFO ESPHome 2024.7.3
INFO Reading configuration /config/esphome/esp32-test1.yaml...
INFO Starting log output from esp32-1.local using esphome API
WARNING Can't connect to ESPHome API for esp32-1.local: Error resolving IP address: [Errno -5] No address associated with hostname (APIConnectionError)
INFO Trying to connect to esp32-1.local in the backgroundtype or paste code here
I have also found a new “pane”
ESPHome Web 54e330
esphome-web-54e330
esphome.web
When I install my sctipt I get the option to link to my wifi but that never works.
I’m still not getting anywhere. I seem to have broken some rules unintentionally. Sorry.
I found my address was missing when i searched HA settings. I have also updated HA and esphome.
I thought the problem might be with new to me esp32s but on trying esp8266s which I know work I got the same problem- unable to link to my wifi.