What is StreamIoT™

As experienced by: Emmanuel Rangel

This article is going to be told from a different perspective because this is my personal story and journey with StreamIoT™.

Hey there, my name is Emmanuel Rangel or better yet, Manny. As the Chief Marketing Officer, I drive marketing and product demonstration at Blocksafe®.

Let’s set the stage for my journey. What exactly is StreamIoT™?

StreamIoT™ is a managed Internet of Things development platform that leverages Blocksafe® blockchain technology to allow users of any skill level to take their IoT device dreams and make them real. In a nutshell, it allows you to bring your IoT dreams to life.

If that sounds like a bit much, let me better explain what it means: anyone can use our StreamIoT™ platform and secure their device data by writing it to a blockchain. StreamIoT™ allows anyone to authenticate a device, secure the data, and prove ownership. It’s pretty neat.

You may wonder why anyone would need this. I would just ask you to look up IoT-related hacks, manipulations, and data theft, like this one just this month. IoT is becoming the future we are all part of -- THE CONNECTED WORLD -- and that sounds awesome. But if you look closer it’s scary too, everything sharing data all the time and not knowing where it’s going or if it’s secure.

The idea of the world having a lot of these devices is awesome, but it’s going to be different for a person growing up. A “Connected World” is going to be a lot more than just words for my daughter. She’ll be bombarded with devices that can do this and do that. But as a father, I am concerned about her privacy.

I want to prepare my daughter for what I believe is coming: a world where devices are more ingrained into our workforce and daily lives. With that, I came up with this simple idea of showing her the basics of connecting things together and what that all means.

I created a simple project for my daughter and I: to use StreamIoT™, a Raspberry Pi and an RFID Card Reader to recreate an arcade-style game that my daughter would like. She plays these games at places like Chuck-E-Cheese or Dave N’ Busters and I wanted to bring that fun home. So she swipes her card, card data gets written to the blockchain to prove it’s her, and then she can play a game on the Raspberry Pi which is loaded with games and connected to a monitor.

I grabbed a Raspberry Pi 3 B+ Kit and an RFID Card reader off of Amazon, along with a couple minor things (a breadboard, jumper wires, and soldering iron, to name a few).

Following the instructions below I got it all set up and working.

Image: My RFID / Raspberry Pi 3 B+ Setup

I’d say I have a medium-level knowledge base. This took me less than an hour to set up before I had it reading cards.

Image: My card reader confirming its standard read/write capability.

You can see I “Write.py” new data to the card -- “MyDaughtersCard” -- then I physically wave my card over the RFID reader to load that data onto my card. This is verified as “Written.”

You can then see I “Read.py” what’s on the card, which shows the ID of the card itself “11031944707” and the data I put on it: “MyDaughtersCard.

Now that we have this basic idea and understanding of the project, let’s witness StreamIoT™ in action.

Heads up: This isn’t the final version of StreamIoT™. The platform is currently still under development and has entered an internal testing phase. Future versions of StreamIoT™ will be fully optimized for the best IoT user experience.

Let’s get our Raspberry Pi writing this sensor data shall we?

We’ll connect our devices and set up channels.

Image: Confirmation my Raspberry Pi 3 B+ was added as a new device

StreamIoT™ has “Channels,” Here you can see I am adding my “Raspberry Pi 3 B+” to “My Channel.”

Think of “Channels” as a CB radio channel, where everyone can have a radio and communicate with each other but you must all be on the same channel.

With StreamIoT™ you can set up multiple devices on the same channel and they can communicate with each other.

Image: Confirmation that I have linked Raspberry Pi 3 B+ to My Channel

Now that we’ve got our Devices and Channels set up, let’s move onto “Kits.” StreamIoT™ automates the communication steps via “Kits.” Let’s take a look.

Image: Downloading ‘Blocksafe® Device Connector’ kit from Marketplace

A “kit” is a custom automated script / process that StreamIoT™ creates to link your device and channels together.Choose your device and the channel you want to communicate on.

My “Raspberry Pi 3 B+” is going to run on “My Channel.” So let’s download the kit and run it.

Image: Raspberry Pi 3 B+ running 2 terminals. On the left we are running StreamIoT™ and listening for data. On the right we have a terminal ready for input

So here on the left we have the kit from StreamIoT™ running and ready to receive the data from the sensor, let’s run our Card Reader again on the right

Image: Raspberry Pi 3 B+ running 2 terminals. On the left we are running StreamIoT™ and data can be seen. On the right we have a terminal showing that our card reader works

We’ll need to run the proprietary script that the kit automatically creates for this model of card reader. Note: In the future StreamIoT™ plans to have kits for numerous IoT devices.

Image: Raspberry Pi 3 B+ running 2 terminals. On the left we are running StreamIoT™ and data can be seen. On the right we have a terminal showing that our card reader works

We keep the left window running to listen for data.

On the right is our Card Reader and we are about to write some data, let’s continue!

Image #1: Left is still listening data. Right is ready to write data to my RFID card
Image #2: Left is still listening data. Right is ready to write data to StreamIoT™

In the above you can see we’ve written to “MyDaughtersCard” and are about to Write to StreamIoT™ and the blockchain, this is pretty exciting.

Image: Left is showing data is received. Right is showing that we have successfully written to StreamIoT™ and the blockchain

Awesome! It’s written to the blockchain but let’s confirm it in StreamIoT™ and on the blockchain.

Image: Top is showing that my RFID card reader is seen on StreamIoT™. Bottom is confirming that the same RFID card reader was used to write to StreamIoT™

Headed back over to StreamIoT event viewer and I can see that my card reader was reading, and it read MyDaughtersCard! Very cool, but what about the blockchain?

Image: Blockchain testnet showing the transaction that was produced by the Card Reader through StreamIoT™

I have highlighted our transaction here.

Image: Detailed information about the transaction that took place

And you can see that the blockchain is showing that we indeed wrote our data!

A little more in depth look, you can see that there is indeed a delay of about 6 seconds or so.
Side note: I am central time zone so i am UTC -5 which explains the hours time difference.

As you can see with StreamIoT™ we can ensure that MyDaughtersCard is always hers, its ID is written on the blockchain and can be used in case anyone were to try to clone it.

StreamIoT™lends itself to all sorts of projects. I for one am going to continue to make small DiY projects for my family and hope that this has inspired you to start looking into the DiY IoT space.

In conclusion, StreamIoT™ is able to secure your data, prove ownership and ensure authenticity. It allows the average person like myself the ability to build small projects and secure their private data, but also gives industries a solution as well.

My Final Thoughts:

As someone with limited experience in the IoT space it really does feel quite simple to have my device data written to the blockchain. The idea that I could explain the basic idea of what we are doing here in an article lends to that and feels empowering. I’m excited to see what other projects can utilize StreamIoT™.

Thank you for reading, I hope this has given an insight into our product StreamIoT™, I appreciate your time and if you’d like to follow up on my project feel free to follow us on social media.