Node-RED: Connect an API to a PAC Controller

Summary

Summary

Beginner Node-RED tutorial shows how to use an API to turn on and off lights based on sunrise and sunset times.

This video explains how to use Node-RED to make a RESTful API call to the Weather Underground cloud service and use the return data to drive a real-world industrial I/O control system. This is just one example to show you how you can link API's to your physical I/O.

You will learn about:

  • Wunderground API
  • http Request node
  • Function node

Learn more at:

  • http://developer.opto22.com
  • http://workshops.opto22.com
  • http://www.opto22.com
  • http://www.groov.com
  • https://nodered.org
  • https://www.wunderground.com/weather/api