Book Image

Learning Beaglebone Python Programming

Book Image

Learning Beaglebone Python Programming

Overview of this book

Table of Contents (19 chapters)

Connecting to the Internet


The PyBBIO libraries make it pretty straightforward to get the data, but we want to be able to view the weather remotely, so printing it to the terminal isn't going to cut it. There are a number of services that provide data storage and remote viewing for your connected devices; we'll use ThingSpeak (https://thingspeak.com/), which provides free data storage and plotting. The benefit of using a service like ThingSpeak is that you don't need to set up things, such as port forwarding in order to make your BeagleBone directly accessible from the Internet, which comes with certain security risks.

You'll need to start by setting up a ThingSpeak account at https://thingspeak.com/users/sign_up. Once you've logged into your account, navigate to My Channels in the Channel menu of the top menu bar and press the Create Channel button. You'll need to give the channel a name, and then fill in the first four of the available fields for the data created in the previous program...