You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2022. It is now read-only.
Thanks for library! One problem. sendToChannel works only one time.
`void loop()
.....
if ((millis() - temp_start) > 30000)
{
temp_start = millis();
tm* _tm;
time_t utcTime = time(NULL);
_tm = localtime(&utcTime);
String str;
char buf[100];
strftime(buf, sizeof(buf), "This is esp32 message at: %A, %B %d %Y %H:%M:%S", _tm);
str = buf;
Serial.println(str); //see it every 30 sec
myBot.sendToChannel(channel_id, str, true);//see it only first time in my channel and in serial log
}
Thanks for library! One problem. sendToChannel works only one time.
`void loop()
.....
if ((millis() - temp_start) > 30000)
{
temp_start = millis();
tm* _tm;
time_t utcTime = time(NULL);
_tm = localtime(&utcTime);
....
`