Make everything top secret.
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
*_secrets.h
|
||||||
@@ -1,8 +1,13 @@
|
|||||||
|
// Include the esp wifi lib
|
||||||
#include <ESP8266WiFi.h>
|
#include <ESP8266WiFi.h>
|
||||||
|
// Include the mqtt client lib
|
||||||
#include <PubSubClient.h>
|
#include <PubSubClient.h>
|
||||||
|
|
||||||
#define wifi_ssid "muner"
|
// Include any secrets.
|
||||||
#define wifi_password "Ah ah ah, you didn't say the magic word."
|
#include "window_control_secrets.h"
|
||||||
|
|
||||||
|
#define wifi_ssid SECRET_SSID
|
||||||
|
#define wifi_password SECRET_PASS
|
||||||
|
|
||||||
#define mqtt_server "mqtt.kitsunehosting.net"
|
#define mqtt_server "mqtt.kitsunehosting.net"
|
||||||
#define mqtt_port 1883
|
#define mqtt_port 1883
|
||||||
|
|||||||
2
window_control/window_control_secrets.h.example
Normal file
2
window_control/window_control_secrets.h.example
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#define SECRET_SSID "secret_ssid"
|
||||||
|
#define SECRET_PASS ""Ah ah ah, you didn't say the magic word.""
|
||||||
Reference in New Issue
Block a user