Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashing #8

Open
Thomaslinaa88 opened this issue Oct 20, 2021 · 5 comments
Open

Flashing #8

Thomaslinaa88 opened this issue Oct 20, 2021 · 5 comments
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@Thomaslinaa88
Copy link

Hi
I would like to use your code, and flash it to a Nodemcu ESP8266. But how do I do that? The wiki-page doesn't clear it up for me. I have downloaded the zip of the latest release and esperiff tool you mention, but how do I get on from here?

@eg321
Copy link
Owner

eg321 commented Oct 20, 2021

Hi!
Flashing process is quite typical for all ESP8266-based boards including NodeMCU. Just select binary file, set 0x00 address as start point and try to flash. Sometimes erase of entire flash memory is needed. I believe you can easily find detailed instructions and experiment with options. In case of success, it's start WiFi AP with captive portal, where you'll find options to configure your roller blinds.
Unfortunately I don't have enough time to provide such detailed instructions at Wiki. You're welcome to contribute!

More important problem: I've not attached pre-build binaries for latest releases, as I can see (yeah, it's not user friendly for newbies, sorry here).
So, your zip file contains code only. You have to install Platformio (standalone or as plugin for some IDE like "VS Code") and compile, upload this code. Again, you can start from official instructions.

It's not so difficult as it seems. Let us know, if you'll have issues specific to my project.

@eg321 eg321 added documentation Improvements or additions to documentation question Further information is requested labels Oct 20, 2021
@develarts
Copy link

develarts commented Oct 26, 2021

Hello, i have the same question. How to get the Bin file? there is no file to open it in arduino. Can one help me. I have a wemos d1 mini.

@eg321
Copy link
Owner

eg321 commented Oct 27, 2021

@Thomaslinaa88
I've added pre-build binaries for you (esp32 and nodemcuv2): https://github.com/eg321/esp32-motorized-roller-blinds/releases/tag/v2.0

Please note that bootloader file also needed for esp32. See details at wiki: https://github.com/eg321/esp32-motorized-roller-blinds/wiki/Flashing-Motorized-Roller-Blinds-binary

@develarts this project is based at Arduino framework, but written at Platformio IDE. I really recommend you to use Platformio instead of Arduino IDE. Anyway I can prebuild binary for "wemos d1 mini" board, but can't test, because don't have it.

@develarts
Copy link

Hey thanks for the answer. I tried it on platformio and i works fine. but i have a new issue that i cant solve. if is set the wifi settings in ap and restart and watch monitoring, the wemos locks like they dont connect or just reboots every time. So there is my wifi ssid then try to connect and then repeat with exception error 28, do i must need mqtt? i think no, so i dont know why it dont work. I reset the setting many times and be sure all values are correct but no success.

@develarts
Copy link

I flash your bin and same problem, in my router the esp is connectet but i cant reach web server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants