simple online nosql database database with REST API and MongoDB queries
  • Features
  • Docs
  • Blog
  • Templates
  • Pricing
  • Contact
  • Sign Up
  • Log In

Blog

 The latest news and articles about restdb.io  

Database templates!
Don't forget to visit our template catalog! It's the fastest way to get up and running with a restdb.io database. View templates »

Visualising IoT data with restdb.io pages

by Jon Erik Solheim
|
Howto|API|
  • Share on Facebook
  • Tweet
  • Add to Pocket
  • Share on LinkedIn
  • Send email
We are pleased to share some insights from a project that uses restdb.io as a backend to measure Air quality.
This blogpost shows how you can connect a BeagleBone Black device to restdb.io and how you can visualise the temperature curve on a page served directly from restdb.io. The BeagleBone is a low-cost, community-supported development platform for developers and hobbyists

This example uses a database with a simple collection called Temperature. To visualise the data from the BeagleBone we create a page with some javascript and the D3js library.


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":



Click on the "Code" tab to enter the html/javascript code to the page:




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.


  • Share on Facebook
  • Tweet
  • Add to Pocket
  • Share on LinkedIn
  • Send email

All Posts


Search

Topics

  • API
  • Authentication
  • Case study
  • Features
  • Howto
  • Integrations
  • Newsletter
  • Productivity
  • Prototyping
  • Tutorials
  • User

restdb.io is a fast and simple NoSQL cloud database service. With restdb.io you get schema, relations, REST API and an efficient multi-user admin UI for working with data.

Our customers use it for backends, business databases, API-first CMS, data collection and much more. It is easy to get started with the free development plan.

Start Building »

  • Site Links
  • Home Page
  • About Us
  • Contact
  • Blog
  • Templates Catalog
  • Cloud Service
  • Features
  • Pricing
  • Terms & Conditions
  • Privacy Policy
  • Sign Up »
  • Documentation
  • Overview
  • Getting Started
  • Coding against the API
  • Utils
  • Security and Admin
© 2025 restdb.io