Design World

  • Home
  • Technologies
    • 3D CAD
    • Electronics • electrical
    • Fastening & Joining
    • Factory automation
    • Linear Motion
    • Motion Control
    • Test & Measurement
    • Sensors
    • Fluid power
  • Learn
    • Ebooks / Tech Tips
    • Engineering Week
    • Future of Design Engineering
    • MC² Motion Control Classrooms
    • Podcasts
    • Videos
    • Webinars
  • LEAP AWARDS
  • Leadership
    • 2022 Voting
    • 2021 Winners
  • Design Guide Library
  • Resources
    • 3D Cad Models
      • PARTsolutions
      • TraceParts
    • Digital Issues
      • Design World
      • EE World
    • Women in Engineering
  • Supplier Listings

New REST API Node-RED Video

By Sponsored Content | February 2, 2022

Share

New video just added to the Node-RED developer playlist covers a simple API flow using daily weather data as an example.

Node-RED is an extremely powerful tool that we’ve featured many times on this blog and our YouTube channel, and one very common use of Node-RED is to use application programming interfaces or “APIs” to move data between devices and/or services that would otherwise be totally disconnected.

To help you get started using APIs with Node-RED if you’re unfamiliar with these tools, we’ve just made a new video about how to build a simple API flow using an example web service for daily weather data.

This data is used to do some basic control on a groov RIO (although the steps are the same on any device running Node-RED, including groov EPIC). Watch the full video tutorial:

Using the OpenWeatherMap API with Node-RED

WATCH VIDEO  

While this particular walkthrough focuses on using the free OpenWeatherMap API to bring in sunrise and sunset time to control an “outdoor light” via a digital output that will be on when the sun is down, the concepts used in the video demonstrate the general start-to-finish process of building up a flow starting with an API’s documentation, examining a JSON object, bringing that data into Node-RED, and finally using it to do some basic real-world control.

Many other APIs require very similar steps; so if you’re using a different API for your application, this tutorial can be a great outline for the process you might go through to build your own unique flow.

As well as having this video tutorial, we also have an in-depth, step-by-step lesson on our Opto training site.

This includes not only the tutorial content covered in the video but also several quizzes that can help you review and confirm your knowledge on the various topics involved in getting API data into Node-RED, with the addition of how to bring that data into groov View or PAC Control, if that’s what you need for your application.

What’s awesome about Node-RED is that no matter what your output or goal is – whether you’re using groov IO, groov View, PAC Control, the Node-RED Dashboard UI, or even another API, Node-RED can bridge the gap between any and all of these data sources. If you want to push data from one place to another and don’t require high-speed, real-time control, Node-RED is often the best tool for the job.

If you haven’t already checked it out, we have a playlist full of introductory and more advanced topics to get you started with this powerful low-code option. We hope you find these resources helpful! If you do use Node-RED for any of your Opto projects, or have any questions about how to use Node-RED with Opto devices, stop by our OptoForums and let us know!


Filed Under: Opto 22
Tagged With: opto22
 

Related Articles Read More >

Monitor machine health with precise power data
Introduction to JSON for Node-RED
How to use context storage in Node-RED
Flexible, low-cost water monitoring with edge I/O

DESIGN GUIDE LIBRARY

“motion

Enews Sign Up

Motion Control Classroom

Design World Digital Edition

cover

Browse the most current issue of Design World and back issues in an easy to use high quality format. Clip, share and download with the leading design engineering magazine today.

EDABoard the Forum for Electronics

Top global problem solving EE forum covering Microcontrollers, DSP, Networking, Analog and Digital Design, RF, Power Electronics, PCB Routing and much more

EDABoard: Forum for electronics

Sponsored Content

  • Global supply needs drive increased manufacturing footprint development
  • How to Increase Rotational Capacity for a Retaining Ring
  • Cordis high resolution electronic proportional pressure controls
  • WAGO’s custom designed interface wiring system making industrial applications easier
  • 10 Reasons to Specify Valve Manifolds
  • Case study: How a 3D-printed tool saved thousands of hours and dollars

Design World Podcasts

May 17, 2022
Another view on additive and the aerospace industry
See More >
Engineering Exchange

The Engineering Exchange is a global educational networking community for engineers.

Connect, share, and learn today »

Design World
  • Advertising
  • About us
  • Contact
  • Manage your Design World Subscription
  • Subscribe
  • Design World Digital Network
  • Engineering White Papers
  • LEAP AWARDS

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Design World

  • Home
  • Technologies
    • 3D CAD
    • Electronics • electrical
    • Fastening & Joining
    • Factory automation
    • Linear Motion
    • Motion Control
    • Test & Measurement
    • Sensors
    • Fluid power
  • Learn
    • Ebooks / Tech Tips
    • Engineering Week
    • Future of Design Engineering
    • MC² Motion Control Classrooms
    • Podcasts
    • Videos
    • Webinars
  • LEAP AWARDS
  • Leadership
    • 2022 Voting
    • 2021 Winners
  • Design Guide Library
  • Resources
    • 3D Cad Models
      • PARTsolutions
      • TraceParts
    • Digital Issues
      • Design World
      • EE World
    • Women in Engineering
  • Supplier Listings