Closed paularmstrong closed 4 years ago
Afaik, Aircookie recommends esptool .... did you see this part on https://github.com/Aircoookie/WLED/wiki:
If you experience issues, run this command before trying write_flash again (Note: this will erase all settings stored on the ESP!)
esptool.py erase_flash
You can alternatively use my basic HTTP OTA updater sketch and upload the binary! This requires the Arduino IDE and ESP8266 core installed.
Did you try both?
I tried all of that. Eventually, after I gave up, it connected while I was trying a manual connection (but it took a good 5 minutes for it to respond)...
One major note: OS X displayed the setup page as a dialog. It did not require navigating with a browser.
Once I got it connected to my wifi, it seemed to work. However, it seems there may be some other issue, as the wifi doesn't seem to stay on. It will work for 5-10 minutes, then disappear from the network. I had esphome flashed on this device previously and it was working just fine, so I suspect something in WLED is causing issues.
Went back to esphome and the wifi works flawlessly. What can I do to help get WLED working?
Hi and sorry for the issues! You could try reflashing the bootloader once again before using esptool (for example by uploading Arduino Blink sketch). I will try to find what else might be causing your issue :)
You could try reflashing the bootloader once again before using esptool (for example by uploading Arduino Blink sketch).
There seems to be a code error in the Blink sketch. Could you recommend something different that could be uploaded that will actually compile?
If You have a error maybe it's something wrong with your settings.
@Aircoookie any chance you contacting the esphome dev to exchange how you both handle wifi would be beneficial?
If You have a error maybe it's something wrong with your settings.
Never used Arduino app for anything else. Haven't touched any settings. What could I have missed configuring?
The error is that it's missing a constant being defined.
Never used Arduino app for anything else. Haven't touched any settings. What could I have missed configuring?
Did you find and use the Compile settings at https://github.com/Aircoookie/WLED/wiki ?
Never used Arduino app for anything else. Haven't touched any settings. What could I have missed configuring?
Did you find and use the Compile settings at https://github.com/Aircoookie/WLED/wiki ?
Noob to ESPs here... what do I do with those? I used the "Quick Start Guide" higher on the page and followed the instructions under "I just want to use WLED! (install release binary)"
Never used Arduino app for anything else. Haven't touched any settings. What could I have missed configuring?
Did you find and use the Compile settings at https://github.com/Aircoookie/WLED/wiki ?
Noob to ESPs here... what do I do with those? I used the "Quick Start Guide" higher on the page and followed the instructions under "I just want to use WLED! (install release binary)"
Because you mentioned "Never used Arduino app", and a remark was made about settings, i thought you might need those compile settings. But those, afaik, are only needed when you use Arduino IDE to flash stuff to your NodeMCU. You can find the Arduino IDE at https://www.arduino.cc/en/main/software . You could try it, it'll definitely make you learn something ;-) . Installation instructions for the Arduino IDE desktop app can be found at https://www.arduino.cc/en/Guide/HomePage . After which you could use http://help.blynk.cc/en/articles/512105-how-to-install-blynk-library-for-arduino-ide to flash the Blynk sketch to the NodeMCU.
Blynk? @Aircoookie and docs keep saying "Blink", which is built-in to the Arduino IDE and what I'm referencing when I say there's a compile issue.
You're right, sorry, i'm mistaken...
Hi, sorry for the trouble getting it to work. I realized that even flashing the blink sketch requires you to install the ESP32 arduino core, which is not hard, but also not trivial. I've extracted the Arduino bootloader to a .bin file for you: https://drive.google.com/file/d/1NQrBwb5WJz6WSEbotW-6NrmiLJ6Hc04F/view?usp=sharing
Just flash it to your ESP32 using
esptool.py write_flash 0x0 .\esp32_bootloader.bin
and everything should work! (if it doesn't, try running the regular ESP32 flash command from quickstart again)
@paularmstrong is this resolved?
I switched to a D1 mini using 0.9.x and it's working
I just had this problem with an ESP32S- erased, flashed, flashed bootloader in different combinations and finally saw Aircookie's response. Thanks! I flashed the esp32 bootloader binary AFTER flashing wled binary and it worked!
No matter what I do, the wireless access point never shows up. The logs from esphomeflasher are completely blank, as if the device never actually starts up.
Logs via esptool.py
Logs via esphomeflasher
NOTE: The line from the wiki is very vague for someone unfamiliar with arduino
I believe I flashed the device with the "blink" example (though the blink example apparently is not ready out of the box and took some googling to figure out you need to add something like
#define LED_BUILTIN 13
to the file before installing). I did this, it installed, then I went back and tried to install WLED again, same results.Is there something wrong with what I'm doing? Is a step missing from the instructions?