For this project we’ll be using an Arduino sketch that you probably are already familiar with. The sketch creates a password protected web server that can be accessed in your web browser to control 2 ESP8266 GPIOs on and off. However, instead of opening the browser and type the IP address, it’s easier if you can control your ESP8266 GPIOs directly from your home screen with a simple tap. That’s what this project is all about.
Regarding RNTLab course ESP8266 – Internet of Things Projects and Gadgets, Unit6 – Control ESP8266 with Android Widget
It would be nice if you put a little explanation in the code comments or the course on how to change the user and password. I did figure it out on my own in a few minutes.
Thx,
Mike “TekMason” Mason
It is explained in the ESP8266 – Build a Powerful Web Server (Unit 4) and it is commented in the code for that course as well:
// You can use this website https://www.base64decode.org/ to generate a new username and password (select the Encode tab)
// Enter with the following format: yourusername:yourpassword is encoded as eW91cnVzZXJuYW1lOnlvdXJwYXNzd29yZA==
// In this case, I’ve used the username user and the password pass, so the encoded string is dXNlcjpwYXNz = ‘user:pass’ (user:pass) base64 encode