Closed mechanic98 closed 6 years ago
I can't advise you when you've combined 2 projects since it's complicated. Please use only esp8266 and HTTPSRedirect directly (not a derivative of it since that isn't mine) to read/write data from Google Sheets directly. Try this and report if you have any problems. Your board must be ESP8266 compatible.
hi i am thanks for your help to peaple for publishin your good project in this code i want give data from google Sheet and send data in telegram bot, i use this project to give data from google sheet: https://github.com/lorol/Googlesheet_DHT_simple and use this project for recive and send data from telegram robat: https://github.com/witnessmenow/Universal-Arduino-Telegram-Bot i use esp8266 i merge two above project but i cant compile because i give error , because two project use WiFiClientSecure.h library , and same client :(
i changed the client name , and code ha been compiled, but in serial monitor , program crashed i changed "HTTPSRedirect client= nullptr;" to "HTTPSRedirect test= nullptr;" and change every client in the code to test, i also change below code, in the next change
to :
and you can see my Serial monitor in both time:
i add Serial.println() in the code for debugging this is my code:
when the code arive to "6b" program go to hang, when arive to :
if (!test->connected()) test->connect(host, httpsPort);
this is my output:Hardware
Hardware: NodeMcu Lua WIFI Board Based on ESP8266 CP2102 Module (ESP-12E)
Description
Problem description
Settings in IDE
Module: Adafruit HUZZAH esp8266 Flash Size: 4MB(3MB SPIFFS) CPU Frequency: 80Mhz Upload Using: SERIAL 115200
please help me please :(