-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSettings.h
More file actions
30 lines (23 loc) · 838 Bytes
/
Settings.h
File metadata and controls
30 lines (23 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef SETTINGS_H
#define SETTINGS_H
#include <ESP8266WiFi.h>
// ==========================================
// SETTINGS (CHANGE HERE)
// ==========================================
// 1. WiFi Network
const char* ssid = "YOUR_WIFI_NAME";
const char* password = "YOUR_WIFI_PASSWORD";
// 2. Login to the Website
const char* www_username = "admin";
const char* www_password = "vivax";
// 3. Fixed IP Address
// IMPORTANT: Check if your router is at 192.168.0.1 or 1.1
// Change the third number (0 or 1) according to the router!
IPAddress local_IP(192, 168, 0, 200);
IPAddress gateway(192, 168, 0, 1);
IPAddress subnet(255, 255, 255, 0);
IPAddress primaryDNS(8, 8, 8, 8);
// 4. OTA (Over the Air Update)
const char* ota_hostname = "Vivax-Klima";
const char* ota_password = "vivax123";
#endif