@@ -21,13 +21,20 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121SOFTWARE.
2222*/
2323
24- /*******************************************************
24+ /******************************************************************************
2525 * This is designed for the Wemos D1 ESP8266
2626 * Wemos D1 Mini: https://amzn.to/2qLyKJd
2727 * MAX7219 Dot Matrix Module 4-in-1 Display For Arduino
2828 * Matrix Display: https://amzn.to/2HtnQlD
29- *******************************************************/
30-
29+ ******************************************************************************/
30+ /******************************************************************************
31+ * NOTE: The settings here are the default settings for the first loading.
32+ * After loading you will manage changes to the settings via the Web Interface.
33+ * If you want to change settings again in the settings.h, you will need to
34+ * erase the file system on the Wemos or use the “Reset Settings” option in
35+ * the Web Interface.
36+ ******************************************************************************/
37+
3138#include <ESP8266WiFi.h>
3239#include <ArduinoJson.h>
3340#include <ESP8266WebServer.h>
@@ -49,14 +56,16 @@ SOFTWARE.
4956// Start Settings
5057//******************************
5158
52- const String APIKEY = "" ; // Your API Key from http://openweathermap.com /
53- // Default City Location (use http://openweathermap.com /find to find city ID)
59+ const String APIKEY = "" ; // Your API Key from http://openweathermap.org /
60+ // Default City Location (use http://openweathermap.org /find to find city ID)
5461int CityIDs [] = { 5304391 }; //Only USE ONE for weather marquee
5562String marqueeMessage = "" ;
5663boolean IS_METRIC = false; // false = Imperial and true = Metric
5764boolean IS_24HOUR = false; // 23:00 millitary 24 hour clock
5865const int WEBSERVER_PORT = 80 ; // The port you can access this device on over HTTP
5966const boolean WEBSERVER_ENABLED = true; // Device will provide a web interface via http://[ip]:[port]/
67+ char * www_username = "admin" ; // User account for the Web Interface
68+ char * www_password = "password" ; // Password for the Web Interface
6069int minutesBetweenDataRefresh = 15 ; // Time in minutes between data refresh (default 15 minutes)
6170
6271boolean NEWS_ENABLED = true;
@@ -86,4 +95,4 @@ int OctoPrintPort = 80; // the port you are running your OctoPrint server on (us
8695boolean ENABLE_OTA = true; // this will allow you to load firmware to the device over WiFi (see OTA for ESP8266)
8796//******************************
8897// End Settings
89- //******************************
98+ //******************************
0 commit comments