From 0c7e791508ed94eb4848cfacc65e6036d8088c54 Mon Sep 17 00:00:00 2001 From: James Hughes Date: Mon, 4 Apr 2022 05:34:29 -0600 Subject: [PATCH] v1.2.2 uv.begin error corrected and MQTT is not an afterthought --- sec.h | 6 +++--- weather.ino | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/sec.h b/sec.h index fdcba29..374bcc5 100644 --- a/sec.h +++ b/sec.h @@ -74,9 +74,9 @@ const int UpdateIntervalSeconds = 5 * 60; //Sleep timer (60s) testing -//========================= Enable Blynk or Thingspeak =================================== +//========================= Enable Blynk, MQTT or Thingspeak =================================== // configuration control constant for use of either Blynk or Thingspeak -const String App = "BLYNK"; // alternative is line below +//const String App = "BLYNK"; // alternative is line below //const String App = "Thingspeak"; // alternative is line above -#define MQTT +const String App = "MQTT"; // alternative is line below diff --git a/weather.ino b/weather.ino index 97ccc32..643103b 100644 --- a/weather.ino +++ b/weather.ino @@ -4,9 +4,13 @@ // //Supporting the following project: https://www.instructables.com/Solar-Powered-WiFi-Weather-Station-V30/ -#define VERSION "1.2.1" +#define VERSION "1.2.2" // 1.2.1 1-1-2022 hotfix to remove esp_deep_sleep.h (legacy header from ESP8266 project). Many users do not have the file if they've never compiled an 8266 project +// 1.2.2 4-4-2022 pull request from https://github.com/tkoeberl +// 1. Makes MQTT an official choice, not an afterthought +// 2. uv.begin was missing, now present +// 3. I changed sec.h to reflect new MQTT choice //=========================================== // Includes