EBC Exercise 38 Logging to ThingSpeak

Here are instructions on how to log data to a ThinkSpeak, a site from MathWorks, the maker of MATLAB

Here's we'll set up ThinkSpeak to log data from two TMP101 sensors.

Set up ThingSpeak

 * Go to https://thingspeak.com/ and create an account
 * Go to My Channels
 * Click on New Channel
 * Fill in fields as shown
 * Scroll down and click Save channel. You will now see the default plots for the channel
 * Click on the API Keys tab
 * Note the Channel ID, Write API Key and Read API Key

Set up the Bone
bone$ cd exercises/iot/thingspeak bone$ sudo pip3 install requests export THING_KEY=VKBLZME68539A9H bone$ ./temp.py Every 15 minutes it will log the current temperature to ThinkSpeak.
 * Go to the ThingSpeak directory on the Bone.
 * Install
 * Edit setup.sh to include your API write key from above.
 * 1) https://thingspeak.com/channels/538706/api_keys
 * Save and run.
 * Click on the Private View tab and you'll see your data plotted.