Design World

  • Home
  • Technologies
    • 3D CAD
    • Electronics • electrical
    • Fastening & Joining
    • Factory automation
    • Linear Motion
    • Motion Control
    • Test & Measurement
    • Sensors
    • 流体动力
  • Learn
    • Ebooks / Tech Tips
    • 工程周
    • Future of Design Engineering
    • MC² Motion Control Classrooms
    • Podcasts
    • Videos
    • Webinars
  • LEAP AWARDS
  • 领导
    • 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

BySponsored 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是一个极其强大tool that we’ve featured many times on this blog and ourYouTube 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 agroovRIO(although the steps are the same on any device running Node-RED, includinggroovEPIC). Watch the full video tutorial:

Using the OpenWeatherMap API with Node-RED

WATCH VIDEO

While this particular walkthrough focuses on using the freeOpenWeatherMap APIto 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 lessonon 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 intogroovView 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 usinggroovIO,groovView, 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 aplaylistfull 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 ourOptoForumsand let us know!


Filed Under:Opto 22
Tagged With:opto22

Related ArticlesRead 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 issueof 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

April 11, 2022
Going small with 3D printing
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
    • 流体动力
  • Learn
    • Ebooks / Tech Tips
    • 工程周
    • Future of Design Engineering
    • MC² Motion Control Classrooms
    • Podcasts
    • Videos
    • Webinars
  • LEAP AWARDS
  • 领导
    • 2022 Voting
    • 2021 Winners
  • Design Guide Library
  • Resources
    • 3D Cad Models
      • PARTsolutions
      • TraceParts
    • Digital Issues
      • Design World
      • EE World
    • Women in Engineering
  • Supplier Listings
We use cookies to personalize content and ads, to provide social media features and to analyze our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services. You consent to our cookies if you continue to use this website. OkNoRead more