How to series: Build IoT projects with Qubitro APIs — Part I

The first part is simulating an MQTT connection.

APIs are the most powerful thing in the data transferring from the two applications. Unfortunately, some major and most IoT Cloud Services only provide an onsite dashboard, but the problem is you can’t design your own dashboard as per your tastes. Qubitro gives you total freedom to develop and design your IoT project with custom APIs. In this tutorial, I will guide you on how to use Qubitro API services in your IoT projects to build more convenient and awesome IoT applications.

Let’s start the mission:

First, you need to create an account on Qubitro Portal

Use this link to create an account https://portal.qubitro.com

Qubitro Portal Sign In Page

Once signed in to the Qubitro Portal, it will ask you to create a new project. First, create the project with your project name and description.

Create Project Section

After that, select any of your favorite connectivity providers. In this, I’m going to choose MQTT Connectivity.

Connectivity Selection

Then enter the device details.

Device Info Page

Now you have successfully created a new project on Qubitro Cloud.

MQTT Credentials Page

Next, open up the device, navigate the settings page, and copy both Device ID and Device Tokens (we need them to send out the data to Qubitro).

Device Settings Page

For this simulation, I have used python to send dummy readings to Qubitro (You can also use your hardware).

These are the dependent libraries for this MQTT Connectivity — Paho MQTT Client, JSON & Time.

pip install paho-mqtt

Qubitro-Python_Data_Forwarder.py

Open this script with your favorite IDE and run.

IDE Output

After a successful connection, navigate to the Qubitro Portal and look for the data.

Qubitro Portal Output

Then navigate to the monitoring section and create a Dashboard and Widgets.

Widget Section

Try to create some visualization for the data.

Dashboard

That’s all for this part 1 tutorial. Hope you got some idea about Qubitro and Qubitro MQTT Connections. In the upcoming tutorial, I will guide you to get the data through APIs.

Join Qubitro Community and Discord for more awesome tutorials and projects.

--

--

--

Infrastructure for the Internet of Things solutions. Build connected solutions faster than ever.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

5 Julia Projects for Beginners — Easy Ideas to Get Started Coding in Julia

What is a class in Java and how to create it? Creating the first Java project in Eclipse IDE )

How to Remove an Admin on Telegram on PC Or Mac?

Once Upon a Time in the GitHub Wiki

WSL+Docker: custom distro 2.0

Design Patterns — Facade Pattern

How to build and publish a Chrome Extension in 10 minutes — Browser Extension Explained

Looping in C programing

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Qubitro

Qubitro

Infrastructure for the Internet of Things solutions. Build connected solutions faster than ever.

More from Medium

What Is Cache Memory In Computer?

How save and load a Tensorflow /Keras entire model with custom Layer

Future Of IoT

QR CODE DETECTION