User manual

/update. This is the sub-page to which the data must be sent. The message is now
made up of your API key, the field to be filled and the value. The length of the
message can be determined easily by the length of the strings. As a whole, an
example POST looks like this:
POST /update HTTP/1.1
Host: api.thingspeak.com
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 35
api_key=GXE93O4WF03Q3X8I&field1=954
The website can uniquely identify the user and the channel based on the API key
and will enter the values. The entire function of the request composition is con-
cealed behind several functions. To send the new value, you only need to call the
function sendThingPost(), which requires the parameter KEY and the sensor data.
Everything else will be automatically done in the background.
5.2 | Twitch display
The website ThingSpeak offers a lot more than just long-time monitoring of sen-
sors. The following project is similar to the projects of the TCP client. Information is
collected from a website on the internet. In this case, it is whether a specific
stream is currently online or not.
There are two decisive advantages of the ThingSpeak version over the first at-
tempts. First, ThingSpeak can also call websites via HTTPS (HyperText Transfer
Protocol Secure), while the module only supports the HTTP-protocol, which is
much less safe. Second, the website can pre-filter important information and thus
clearly reduce the data volume to be processed by the controller.
In this project, you will implement a Twitch streaming display as an example of
different options. Twitch (www.twitch.tv) is a website on which live games or other
contents around the subject of computer games are streamed. One of the best-
known streaming channels is RocketBeansTV of the former GameOne-providers.
This channel broadcasts around the clock and is
therefore well suitable for a first test. Later, you
can, of course, use a channel of your choice.
Required parts
1 x pinboard, 1 x NanoESP, 1 x LED (red), 1 x resistor
1 kOhm (brown-black-red), circuit wire