From 58ab37520a394c0c0febc91e3327b3ed415a661a Mon Sep 17 00:00:00 2001 From: Joe Tretter Date: Sun, 26 Jun 2022 17:34:41 -0500 Subject: [PATCH] changed project back over to ESP8266, but it turns out my old boards don't like my deco-mesh. --- platformio.ini | 12 +++++++++--- src/IRBedroom.cpp | 6 +++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/platformio.ini b/platformio.ini index bb6c7b0..64e33b8 100644 --- a/platformio.ini +++ b/platformio.ini @@ -8,12 +8,18 @@ ; Please visit documentation for the other options and examples ; https://docs.platformio.org/page/projectconf.html -[env:esp32doit-devkit-v1] -platform = espressif32 -board = esp32doit-devkit-v1 +[env:espduino] +platform = espressif8266 +board = espduino framework = arduino monitor_speed = 115200 lib_deps = knolleary/PubSubClient@^2.8 crankyoldgit/IRremoteESP8266@^2.7.10 khoih-prog/ESP_WiFiManager@^1.1.2 + +; [env:esp32doit-devkit-v1] +; platform = espressif32 +; board = esp32doit-devkit-v1 +; framework = arduino +; diff --git a/src/IRBedroom.cpp b/src/IRBedroom.cpp index ab9a324..ac2de68 100644 --- a/src/IRBedroom.cpp +++ b/src/IRBedroom.cpp @@ -6,7 +6,7 @@ #include #include -#include +#include #include @@ -35,8 +35,8 @@ decode_results results; // Somewhere to store the results const char* ssid = "JoNelsDarlings"; const char* password = "Paris2016"; const char* mqtt_server = "mqtt.ddns.kawomi.com"; -const String room_name = "IRLivingroom"; -//const String room_name = "IRBedroom"; +//const String room_name = "IRLivingroom"; +const String room_name = "IRBedroom"; WiFiClient espClient; PubSubClient client(espClient);