27 lines
1.0 KiB
Plaintext
27 lines
1.0 KiB
Plaintext
// The SSID to connect to
|
|
#define WIFI_SSID "CHANGE_ME"
|
|
// The password to use to connect
|
|
#define WIFI_PASSWORD "CHANGE_ME"
|
|
|
|
// Enterprise authentication. Uncomment to enable.
|
|
// #define WIFI_ENTERPRISE_ENABLED
|
|
// #define WIFI_ENTERPRISE_USERNAME "CHANGE_ME"
|
|
// #define WIFI_ENTERPRISE_PASSWORD "CHANGE_ME"
|
|
|
|
// The domain/IP of the MQTTS server
|
|
#define MQTT_SERVER "mqtt.example.com"
|
|
// The port to connect to.
|
|
// 1883 = unencrypted, 8883 = encrypted
|
|
// Connections are encrypted by default. There isn't currently a way to disable it.
|
|
#define MQTT_PORT 8883
|
|
// The username to authenticate with when connecting to the MQTT server.
|
|
#define MQTT_USERNAME "autoplant"
|
|
// The password to authenticate with when connecting to the MQTT server.
|
|
#define MQTT_PASSWORD "CHANGE_ME"
|
|
// Uncomment to disable TLS. NOT RECOMMENED. USE TLS WHEREVER POSSIBLE.
|
|
// PASSWORDS ARE SENT IN PLAIN TEXT WHEN YOUDO NOT USE TLS!!!!!!
|
|
//#define MQTT_NO_TLS
|
|
|
|
// The interval at which messages should be sent to the MQTT server, in seconds
|
|
#define INTERVAL 5*60*1000
|