2021-12-14 15:31:50 +00:00
|
|
|
// The SSID to connect to
|
2021-11-20 15:30:13 +00:00
|
|
|
#define WIFI_SSID "CHANGE_ME"
|
2021-12-14 15:31:50 +00:00
|
|
|
// The password to use to connect
|
2021-11-20 15:30:13 +00:00
|
|
|
#define WIFI_PASSWORD "CHANGE_ME"
|
2021-11-20 18:52:55 +00:00
|
|
|
|
2021-12-14 15:31:50 +00:00
|
|
|
// 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
|
2021-11-28 14:19:46 +00:00
|
|
|
#define MQTT_SERVER "mqtt.example.com"
|
2021-12-14 15:31:50 +00:00
|
|
|
// The port to connect to.
|
2021-11-20 18:52:55 +00:00
|
|
|
// 1883 = unencrypted, 8883 = encrypted
|
2021-11-28 23:16:34 +00:00
|
|
|
// Connections are encrypted by default. There isn't currently a way to disable it.
|
2021-12-14 15:35:51 +00:00
|
|
|
#define MQTT_PORT 8883
|
2021-12-14 15:31:50 +00:00
|
|
|
// The username to authenticate with when connecting to the MQTT server.
|
2021-11-20 18:52:55 +00:00
|
|
|
#define MQTT_USERNAME "autoplant"
|
2021-12-14 15:31:50 +00:00
|
|
|
// The password to authenticate with when connecting to the MQTT server.
|
2021-11-20 18:52:55 +00:00
|
|
|
#define MQTT_PASSWORD "CHANGE_ME"
|
2021-12-14 18:45:45 +00:00
|
|
|
// 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
|
2021-11-20 18:52:55 +00:00
|
|
|
|
2021-12-14 15:31:50 +00:00
|
|
|
// The interval at which messages should be sent to the MQTT server, in seconds
|
2021-11-20 18:52:55 +00:00
|
|
|
#define INTERVAL 5*60*1000
|