element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Industrial Automation
  • Technologies
  • More
Industrial Automation
Blog Connect to AVNET iotconnect.io with Node-RED - part 3: set up the thing and its interface in the cloud
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Industrial Automation to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 7 Mar 2021 8:25 PM Date Created
  • Views 814 views
  • Likes 1 like
  • Comments 1 comment
  • iotconnect
  • avnet
  • node_red
  • raspberry_pi
  • smartedge iiot gateway
  • iotconnect.io
Related
Recommended

Connect to AVNET iotconnect.io with Node-RED - part 3: set up the thing and its interface in the cloud

Jan Cumps
Jan Cumps
7 Mar 2021

AVNET's iotconnect.io cloud platform is an online service that you can use to send data to, and then show it on a dashboard*. In this blog series I'm learning how to talk to it with Node-RED.

In this post: set up the device, rules, capabilities and security.

image

 

Before you can connect a device, you have to register it.

It can be done in a few ways: in the portal, using a (mass) upload file or with an API.

I'm registering my thing via the portal.

 

There are 2 steps:

  • create a template. This is a description of the data that can be exchanged, the commands that can be sent, and the security options
  • register the device and assign the template to it.

That's it.

 

Create a Template and define what can be exchanged between the device and cloud

 

In the portal, select the Device menu.

image

 

Then prepare to creat a straightforward device (there are several other types, such as edge and gateway, that I'll review later).

Do that by clicking on the Device hyperlink marked with the arrow in the capture above.

 

Then select the Templates menu, and create a template.

image

 

The template will be used for the Node-RED series, so I name it for that.

image

 

You can define

  • the attributes that the device will be able to send to you (data, telemetry)
  • the commands you can send to the device (notifications, enable/disable, set a parameter, firmware upgrade, ...)
  • the security model.

 

Security:

In this part of the blog, I'm using Key security. Later I'll review certificate based access.

I've set it in the screen capture above.

 

Attributes:

Attributes define the data that the cloud will accept from the device. Only the ones listed in the template are allowed.

I'm using an attribute that's easy to get or to fake: Temperature.

Additional advantage is that it's a numerical value. A template must have at least one numerical attribute (for a reason not known to me).

 

image

 

If you set more than one attribute, it does not mean you have to exchange them all at the same time.

You can send them as single combinations, or in any combination that fits the flow.

 

Commands:

Commands define the interface between cloud and your device.

When working in the portal later, you can only select and send commands that you define here.

I'm going to create two functions that both do the same: tell the device what the desired temperature is.

But one command will "send and forget". The second one will ask a confirmation (receipt).

 

Here is the one that does not request a receipt.

image

And here is a version that expects a receipt. You can report on the missing confirmations.

image

That's it for now. The template is now good as a starter.

 

Create your Device

 

Now let's register the device.

image

 

Enter name and description.

The entitiy is the company you created when you signed on to iotconnect.io.

Select the template that we just created.

image

 

Notice that creating a device is way faster than creating a template. That's good.

Because you typically have a few templates in the real world, but many things. If your business is successful.

 

image

The device is now acquired. All is ready for the next post, where we'll create a Node-RED flow and connect.

Until that happened, the device will show a red dot next to it (see the image at the top of this post). Let's work to get it green...

 

 

The Python SDK with On Semiconductor RSL10 BLE article seriesIndustry
part 1: overview and goal
part 2: WiFi Provisioning
part 3: Adding a Module (RSL10)
part 4: Talk BLE to the On Semi RSL10 Sensor Kit
part 5: A Cloud User Experience Example
part 6: Register as a Gateway Device
part 7: Register a Gateway and Client Devices
The NODE-Red SDK article seriesIndustry
part 1: overview and goal
register a Thing and connect to IoTConnect.io cloud
part 2: create an account and log on to the portal
part 3: set up the thing and its interface in the cloud
part 4: set up Node-RED and first exchange
interact with IoTConnect.io cloud
part 5: online dashboard
part 6: rules and alerts
part 7: messages and commands from the cloud
safer connections with certificates
part 8a: safer connect with Self Signed Certificates
part 8b: safer connect with CA certificatesY
commercial and industrial scale: outsource certificate generation and programming to subcontractors and suppliers
part 9a: Outsource Certificate Signing in IIoT Supply ChainY
part 9b: IIoT supply chain and Certificates - Create Ca Root certificate, Load to IoTConnect Cloud and ValidateY
part 9c: IIoT supply chain and Certificates - Create an Intermediate CA Certificate for your SubcontractorY
part 9d: IIoT supply chain and Certificates - Subcontractor Generates a Thing Certificate for Your DeviceY
part 9e: IIoT supply chain and Certificates - Test!Y
commercial and industrial scale: Trusted Platform Module (TPM) Authentication
part 10: Trusted Platform Module (TPM) SecurityY
Infineon SLx9670 Trusted Platform Module (TPM) for IoT SecurityY
The Automate Device Provisioning and Cloud Configuration article seriesIndustry
Automatic Provisioning with REST APIY
  • Sign in to reply
  • Jan Cumps
    Jan Cumps over 4 years ago

    I've temporarily put this series on hold . The doc and software is off-line. Checking with the cloud team ...

    fixed: Connect to AVNET iotconnect.io with Node-RED - part 4: set up Node-RED and first exchange

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube