Stream Data from your Edge Device to IoT Cloud Platform

IoT (Internet of Things) cloud refers to any number of cloud services that power the IoT. These include the underlying infrastructure needed for processing and storing IoT data, whether in real time or not. IoT cloud also includes the services and standards necessary for connecting, managing, and securing different IoT devices and applications. As with other types of cloud services, such as software-as-a-service, organizations consume IoT cloud services as they need them, rather than building a datacenter or other on-premises infrastructure to deliver those services locally.

Recently, I found a very useful IoT Cloud platform that allows users to stream sensor data from their Edge devices such as the Raspberry Pi, Arduino, and Jetson Nano to the Cloud. uBeac is a versatile IoT platform for centralized digital transformation, data integration, and visualization. uBeac’s IoT hub allows you to connect, process, and visualize real-time data in a secure way. Build an enterprise IoT solution that securely scales to millions of devices. LEARN MORE.

The binding process is very straight forward: create a network, bind devices to the network, and receive data. In this article, we will walk through how you can utilize IoT Cloud Platform for your IoT devices. We will be using a Jetson Nano DevKit as an example to show the complete binding process.

Why IoT Cloud?

IoT cloud offers a more efficient, flexible, and scalable model for delivering the infrastructure and services needed to power IoT devices and applications. The IoT is virtually limitless in scale, unlike most organizations’ resources. The cloud computing model effectively offers that kind of on-demand hyperscale, and it can do so in a cost-effective manner. IoT cloud enables organizations to leverage the significant potential of IoT without having to build the underlying infrastructure and services from scratch. IoT cloud also helps promote and ensure standardization in key areas, including how devices communicate with each other, device management, and security.

The key aspect of using IoT Cloud Services is that you may monitor your devices from anywhere in the world, as long as your IoT devices are bound to the platform and connected to the Internet.

Network Knowledge

Overview of the top-level components

Here we divide the system into three basic components, the Device, Gateway, and Cloud:

A device includes hardware and software that directly interact with the world. Devices connect to a network to communicate with each other, or to centralized applications. Devices might be directly or indirectly connected to the internet.

A gateway enables devices that are not directly connected to the Internet to reach cloud services. Although the term gateway has a specific function in networking, it is also used to describe a class of devices that processes data on behalf of a group or cluster of devices. The data from each device is sent to Cloud Platform, where it is processed and combined with data from other devices, and potentially with other business-transactional data.

Types of information

Each device can provide or consume various types of information. Each form of information might best be handled by a different backend system, and each system should be specialized around the data rate, volume, and preferred API. This section lists and describes common categories of information found in IoT scenarios.

In today’s example, we will be using the GET API with HTTP protocol to stream data to the cloud. If you are not familiar with the RESTful API, you might want to check it out here.


Dataflow is a fully managed streaming analytics service that minimizes latency, processing time, and cost through autoscaling and batch processing. With its serverless approach to resource provisioning and management, you have access to virtually limitless capacity to solve your biggest data processing challenges, while paying only for what you use.

Difference between GET and POST method in HTTP

Both GET and POST method are used to transfer data from client to server in HTTP protocol but Main difference between POST and GET method is that GET carries request parameter appended in URL string while POST carries request parameter in message body which makes it more secure way of transferring data from client to server in http protocol.


Sign up IoT Cloud with uBeac

Signing up with uBeac is easy. You just need to add your email and create a password to get started. Next, you must create a team. This is also very simple, involving just a name for the team, a code name, and an address. Once you have finished this, you will arrive at a blank homepage for your team.

Create a new Account and a Team

Set up uBeac

Now that you have your team set up, you need to create a gateway to connect all of your devices.

Create a gateway

From the uBeac homepage, click on the Gateways module and add a new gateway. Under the General tab, assign a UID and name for your gateway. For your purpose of this tutorial, select uBeac Multiple Devices to be your gateway.

Next, under the HTTP tab, there are two gateway URLs: one HTTP and one HTTPS. These will be used to connect to your computer. Click submit to add the gateway.

Under the Gateway tab on the left colmn, you should be able to find the gateway that you just created.

Set up your IoT Device

Access uBeac’s GitHub Repo and select OSMonitoring. Inside is a Python program that will conduct OS monitoring when running on Iot Device.

To simplify the setup, you may use the following commands to finish up.

$ cd ${HOME}
$ pip install psutil speedtest-cli httpd python-http-client
$ git clone
$ mkdir iot-cloud
$ cp -r OSMonitoring/OSMonitoring-Linux/* iot-cloud/
$ cd iot-cloud
$ nano

If all goes well, your code should look something like this (with possibly a different Gateway URL, Device Friendly Name, and Sent Interval).

You need to update the following parameters:

Notes: You may find the parameters on your gateway, update them properly. Please use the parameters defined on your gateway, do not overwrite them. Otherwise, you won’t see any data streaming to your Cloud Platform


# The GATEWAY_URL is the one with the http, unless you enabled the https.

Receive data

i. Run

$ python

ii. Go to the gateway info page and you should see the live requests. You can click on the info icon for each request to see the sensors’ data.

iii. Go to the devices page. You should see a device with name: your device friendly name.

iv. Update the details for the sensors (units,…)
Go to dashboard and drag & drop an indicator. In the setting for the indicator, select the sensor you want to show data.

Under the device tab on the right column, then select your device. If you set up everything properly, you should have the same results shown below:

Setup a Dashboard for your IoT device

Having a dashboard to visualize your incoming data is really useful, especially if you want to analyze and utilize the data afterwards. First, you must setup the dashboard. Go to the Dashboards module and add a new dashboard. Pick a name for the dashboard then click submit. A blank dashboard will appear, which you can customize however you want. On the top right corner of the dashboard page, click the clipboard icon to start editing the dashboard.

You can select widgets such as indicators, charts, and device tracker to help you visualize your data. For example, if you were to make an indicator for the computers CPU Temperature sensor you would first drag and drop the indicator widget onto the dashboard. Next, you would click the “connect to data” button to edit the widget’s settings. This includes changing the display icon, selecting the device to collect data from, and other features that are unique to each widget. Once you are satisfied with your widget, save your progress. You can continue doing this for as many widgets as you would like.

Below is an example of dashboards that you can make with just the sensors on your IoT device.

You may play around with the dashboard to explore more functionalities, it is really fun.


This is how you can use uBeac to create a monitoring system for all of your IoT Edge devices. You can have a monitoring system for each device, or you can add all of your devices into one dashboard. However, what you want to monitor your devices is completely up to you when you use uBeac.

That’s all for this tutorial, I hope you could find something useful for your IoT projects. Enjoy !

9 Replies to “Stream Data from your Edge Device to IoT Cloud Platform”

  1. Has anyone ever been to Total Vapor Vape Store located in 1080 Historic Hwy 441 North #F?

  2. I operate a vape shop website directory and we have had a listing from a vape store in the USA that likewise advertises CBD products. A Month later, PayPal has contacted use to say that our account has been limited and have requested us to take out PayPal as a payment method from our vape shop directory site. We do not sell CBD goods like CBD oil. We merely offer marketing solutions to CBD companies. I have visited Holland & Barrett– the UK’s Reputable Health Merchant and if you take a close peek, you will witness that they supply a fairly substantial range of CBD products, specifically CBD oil and they also happen to accept PayPal as a payment solution. It emerges that PayPal is applying double standards to different companies. As a result of this limitation, I can no longer take PayPal on my CBD-related site. This has constricted my payment options and now, I am greatly contingent on Cryptocurrency payments and straightforward bank transfers. I have consulted with a solicitor from a Magic Circle law practice in London and they stated that what PayPal is undertaking is altogether unlawful and inequitable as it should be applying a consistent criterion to all firms. I am still to get in touch with an additional legal representative from a US law office in The city of london to see what PayPal’s legal position is in the United States. In the meantime, I would be extremely appreciative if anyone here at targetdomain could offer me with different payment processors/merchants that work with CBD firms.

  3. Can someone recommend Chastity Belts? Cheers xxx

  4. Good Afternoon everyone , we are in the process of taking on some new reviewers who would like to try out and review our CBD range including CBD Spray. If this is of interest to you please feel free to reach out to me on

  5. how does it feel to take cbd

  6. how many mgs of cbd should i take to feel high

  7. By way of introduction, I am Mark Schaefer with Nutritional Products International ( We serve international and domestic manufacturers seeking to gain more distribution within the United States. Your brand recently caught my attention, so I am contacting you to discuss the possibility of expanding your distribution reach. We provide expertise in all areas of distribution, and our offerings include the following: * Rapid entry into the U.S. market. * Purchase Orders * FDA Regulatory Compliance * Active accounts with major U.S. distributors and retailers. * Our proven sales force has public relations, branding and marketing all under one roof. We maintain active business relationships with over 200,000 distribution outlets across the nation, and we have a direct line of contact with executive-level buyers. Our company has a proven history of initiating accounts and placing orders with major distribution outlets. Our history allows us to have intimate and unique relationships with key buyers across the United States thus giving your brand a fast track to market in a professional manner. Please contact me directly at 561-544-0719 or by replying, so we can discuss your brand further. Kind Regards, Mark Schaefer, Director Of Global Procurement, Nutritional Products International, 101 Plaza Real S, Boca Raton, FL 33432, Office: 561-544-0719

  8. how to do vape tricks

Leave a Reply