As an example, this guide assumes you are pushing temperature data to Bytebeam.
Create a stream on the cloud
First, let us create a stream calledtemperature on the Bytebeam cloud. First, go to Bytebeam Cloud. Now, click on your username in the top right corner and navigate to the “Settings” section.
Next, select Streams and Click on “Create Stream”.
Now, enter the stream name and column name. In this example, we have chosen the data type of temperature as Float64. Click on the “Submit” button.
The temperature stream should be visible under the “Streams” section.
Configuration on the device side
You can now write to uplink from your application. Below you can see samples for some popular languages. :::codeblocktabs- Create a TCP socket and connect to
localhostand port 5050 - Periodically write data in the below JSON format to the port (NOTE: newline delimited)
sequence for each packet and the timestamp needs to be in milliseconds
The temperature data should now be visible on the cloud. Head over to Bytebeam Cloud and go to Device Management -> Device tab. Now click on the device and Select “Show Streams”.
Select “temperature” stream.
The temperature data should be visible on the cloud now.
