Tutorial 1: Sell JV ADSB data

What You'll Learn

By the end of this tutorial, you'll have:

  • ✅ Connected to a real IoT data source (Jetvision AirSquitter)

  • ✅ Built a seller that streams live aviation data

  • ✅ Created your own local aircraft tracking map

  • ✅ Sold structured JSON data to remote buyers

Before You Start

Make sure you have:

  • ✅ Access to a Jetvision AirSquitter device

  • ✅ NodeBuilder running at http://localhost:1880

  • ✅ Discord account with Beta OG status

  • ✅ About 30 minutes of time

🛑 Important: These tutorials are for Neuron Beta OGs. If you don't have Beta OG status in Discord, you won't be able to complete this tutorial.

What We're Building

In this tutorial we will be connecting to a local data source, a Jetvision AirSquitter, and sell aviation data to data buyers. You don't need to worry about finding buyers as we have one setup for you who lives as a bot in discord and is willing to consume your data.

To speed things up, we have a ready made solution (flow) that you can load into your builder.

Action 1: Get a ready made template

You will need to know how to configure Seller nodes and link them up with Neuron P2P nodes. If you haven't done so already, complete the installation tutorial first and then complete the hello world tutorial

  • Exit any previous NodeBuilder instances and start with a clean canvas. Check if any process is lingering from previous runs and kill it.

  • Click on templates

  • Select "jetvision-seller-tcp"

  • Highlight the newly generated tab

Alternatively you can import code directly from Github or code that is shared from other users:

  • paste your clipboard into the resulting screen

You have now a ready made flow imported and are ready to start handling ADSB data.

If you read the flow from left to right, you will find that the data is coming from a tcp connection at port 30002. The address of that connection is your local-jv-address, the one that you'll find displayed on your red box. That data is chucked JSON data as it comes out of you AirSquitter and travels down two paths: one is a local map and the other one is any potential buyer

Action 2: Setup the "Jetvision seller config" and "Neuron P2P out"

Setup the Jetvision seller config and link it with the Neuron P2P out. If you don't know how to do this, refer to Action 1 and Action 2 from the hello world tutorial. Remember to hit deploy and wait for connection to become active.

You are now ready to send data into your seller via a peer to peer connection.

Action 3: Double click the "tcp" node to set the correct AirSquitter address

  • Get your local-jv-address from the red box

  • Enter it in the address in the tcp node

  • Click Done

Action 4: Visit http://localhost:1880/worldmap in a new tab

You should be seeing the planes that your own sensor is seeing on your very own map!

However, let's check if our buyers are getting the JSON data too so that they can display it too on their own solutions.

Action 5: Get the buyer bot to consume your data

This part is identical to Action 5 and Action 6 from the hello world tutorial where you:

  1. Communicate the EVM address to the bot

  2. Check with the bot if you are setup

  3. Instruct the bot to test your seller

If you need help refreshing your knowledge on how to do so then follow Action 5 and Action 6 from the hello world tutorial.

However, this time you should be getting structured ADSB data in JSON format from the remote bot!

You are now prepared to send a wide range of IoT data to remote peers.

What You Just Accomplished

🎉 Congratulations! You've successfully:

  • Connected to a real IoT data source (AirSquitter)

  • Built a live aviation data streaming system

  • Created your own aircraft tracking map

  • Sold structured JSON data to remote buyers

  • Learned how to work with TCP data sources

Common Problems & Solutions

Problem: No planes showing on the map

  • Solution: Check your AirSquitter is powered on and the TCP address is correct

Problem: Bot gets no data or old data

  • Solution: Verify the TCP connection is working and you clicked "Deploy"

Problem: Can't find the local-jv-address

  • Solution: Look for the red box in your flow - it displays your AirSquitter's IP address

Next Steps

Ready for more advanced tutorials? Continue to:

Last updated