Skip to content

Commit

Permalink
v1.2.2 uv.begin error corrected and MQTT is not an afterthought
Browse files Browse the repository at this point in the history
  • Loading branch information
jhughes1010 committed Apr 4, 2022
1 parent b7a9da3 commit 0c7e791
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions sec.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 5 additions & 1 deletion weather.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c7e791

Please sign in to comment.