First let's start with the code that runs on our BeagleBone device, it's written in Python:
When we start the device it posts data to our database in the following format:
Now that we have temperature data in our database, we create a page to visualise it:
You should also give your page a name, icon and a description, we call it the "D3page":
Saving the code produces this cute little temperature curve for us:
Thats all there is to it.
Connecting your device is not hard, and creating pages in restdb.io is a great way to quickly publish the visual results to the web.