• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

User and Password Instructions

Q&A Forum › Category: ESP8266 › User and Password Instructions
0 Vote Up Vote Down
TekMason asked 5 years ago

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

2 Answers
0 Vote Up Vote Down
TekMason answered 5 years ago

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

 

0 Vote Up Vote Down
Rui Santos Staff answered 5 years ago

Hi Mike!
Thanks for letting me know. Since Unit 6 uses the same code from Unit 4, I assumed that it was straightforward to see how it worked. I’ll make a note in a future course update about that.
Thanks again!

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.