diff --git a/include/config.sample.h b/include/config.sample.h index d901526..07093b6 100644 --- a/include/config.sample.h +++ b/include/config.sample.h @@ -23,6 +23,7 @@ #define NTP_INTERVAL 300000 #define NTP_OFFSET 7200 +#define MQTT_ENABLE #define MQTT_SERVER "..." #define MQTT_PORT 1883 #define MQTT_USER "..." @@ -30,6 +31,7 @@ #define MQTT_TOPIC "pitrix/" // MQTT-Topic to listen to. Must not start with a slash, but must end with one." #define MQTT_TOPIC_LOG "pitrix/log" #define MQTT_REPORT_METRICS +#define MQTT_TOPIC_WEATHER "accuweather/pitrix/" // MQTT topic to listen for weather data. Must not start with a slash, but must end with one. #define HOSTNAME "pitrix-%08X" #define OTA_STARTUP_DELAY 10 // How many seconds to wait at startup. Set to 0 to disable.