Skip to content

Commit

Permalink
include thingspeak data processing.
Browse files Browse the repository at this point in the history
Following data shall be updated in the code to make it work:
const char* channelID = "*****";
char ssid[] = "***";      //  your network SSID (name) // TODO : shall be configurable from webserver
char pass[] = "**";   // your network password // TODO : shall be configurable from webserver

TODO:
- wifi connection failure to be enhanced, ESP.restart  does not reboot properly, stuck in "wdt reset" mode :-(
- wifi parameters shall be configurable
- thingspeak channelid  hall be configurable
  • Loading branch information
cebernard22 committed May 8, 2017
1 parent 550e8c6 commit 7fde4bf
Show file tree
Hide file tree
Showing 2 changed files with 514 additions and 29 deletions.
3 changes: 2 additions & 1 deletion firmware/Trender/Page_ThingSpeak.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,12 @@ void send_thingspeak_values_html ()

String values ="";

values += "x_channelid|" + (String)myThingSpeakChannel + "|div\n";
values += "x_channelid|" + (String)channelID + "|div\n";
server.send ( 200, "text/plain", values);
Serial.println(__FUNCTION__);

thingSpeakMode=1;
tkt.detach();



Expand Down
Loading

0 comments on commit 7fde4bf

Please sign in to comment.