-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsecrets.example.h
More file actions
11 lines (10 loc) · 877 Bytes
/
secrets.example.h
File metadata and controls
11 lines (10 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
// Use this file to store all private information
#define SECRET_DEVICE "MyDeviceName" // replace MyDeviceName with the name you want your device to have
#define SECRET_WIFI_SSID "MySSID" // replace MySSID with your WiFi network name
#define SECRET_WIFI_PASS "MyPassword" // replace MyPassword with your WiFi password
#define SECRET_MQTT_IP "MyMqttIp" // replace MyMqttIp with your MQTT broker IP
#define SECRET_MQTT_PORT 1883 // replace 1883 with your MQTT port
#define SECRET_MQTT_USER "MyMqttUser" // replace MyMqttUser with your MQTT user. Leave blank if optional
#define SECRET_MQTT_PASS "MyMqttPass" // replace MyMqttUser with your MQTT password. Leave blank if optional
#define SECRET_OTA_PASS "MyOtaPass" // replace MyOtaPass with the password for OTA authentication
#define SECRET_OTA_PORT 8266 // replace 8266 with your desired port