24 lines
884 B
Plaintext
24 lines
884 B
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"
|
|
|
|
// The interval at which messages should be sent to the MQTT server, in seconds
|
|
#define INTERVAL 5*60*1000
|