Use Blynk without compile wpa pass and router ssid on the Arduino IDE

Hi all.I am creating a project for remote control for alarm systems.Is it possible to feed the WPA pass and ssid to the board from a webpage and not compile it on the code?Thanks in advance.

Do you have WPA working with your ESP and which ESP are you using?
Should be able to do the same as WiFiManager to send the required details.

Yeah Kostas.I have.The board is an Nodemcu Lua Amica R2.

Could you direct me on a thread for the wifi manager cause I have just started ? Thanks in advance.Χαιρετισμους στην όμορφη Κύπρο.

1 Like

i am using the example as posted here i successfuly connect my board to the wifi but something goes wrong with feeding the blynk token to the board.The app shows that the board is ofline.the sketch is same as the example autoconnect with FSParameters.As i see int the serial monitor the blynk token is missing its last digit.

any ideas or help?

@Conktr can we see your actual sketch less any confidential stuff?

@Conktr got your PM and Google translated from Greek to English, phew thanks for Google.

When I first started using WiFiManager I noticed it was missing the 32nd character of the token.

Look through the code and if you see 32 change to 33 (or even 34). If you don’t find it let me know and I will take a look.

thanks man i’ll try.sorry for writing in greek :slight_smile: :slight_smile: .I saw your profile and i thought you were fluent :slight_smile: :slight_smile: :slight_smile:

1 Like

worked like a charm.one more question if i may.the configuration file is saved in SPIFFS?is it possible after flashing the ssid / wpa / blynk token via this method to alter them ? Boot the esp8266 again in configuration mode?

@Conktr of course, that’s what the library was built for. The library has examples of reset buttons but with Blynk you can clear the details with a Blynk button (a.n.other widget).

Then you might want to try the real cool stuff, Blynk provisioning. Think WiFiManager on steroids.

so i can put a pin as a triggger for the configuration mode?sweet.Thanks for all the help.

You could use reset button to trigger wifi configuration aslo.

1 Like

@itopal double reset looks cool, why wire up an additional button when decent ESP’s have them already.

1 Like

I have hooked up a physical button that resets the esp ( just so because I want it to be visible by people who aren’t so familiar with boards)and I am ready to go!!!.my project is up and running.Thanks guys for Soo much help offered here!!!