All Projects → FIWARE → node-red-contrib-FIWARE_official

FIWARE / node-red-contrib-FIWARE_official

Licence: Apache-2.0 license
FIWARE-Node-Red integration supporting NGSI-LD

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to node-red-contrib-FIWARE official

iotagent-opcua
IoT Agent for OPC UA protocol
Stars: ✭ 28 (+100%)
Mutual labels:  fiware, ngsi, industry
tutorials.Step-by-Step
📚 Complete collection of tutorials for the FIWARE ecosystem for developers wishing to learn how to use NGSI and design context-based Smart Systems powered-by-FIWARE.
Stars: ✭ 64 (+357.14%)
Mutual labels:  fiware, ngsi, ngsi-ld
stellio-context-broker
Stellio is an NGSI-LD compatible context broker
Stars: ✭ 17 (+21.43%)
Mutual labels:  fiware, etsi, ngsi-ld
top-software-engineering-articles
Collection of top articles about great software engineering practices.
Stars: ✭ 45 (+221.43%)
Mutual labels:  engineering, programming
cs-sakaryauniversity
Sakarya Üniversitesi'nde okuduğum süre boyunca karşıma çıkan tüm ödevler, ders notları ve çıkmış sınav soruları (All the assignments, lecture notes and exams)
Stars: ✭ 133 (+850%)
Mutual labels:  engineering, programming
Certification
Certificates of Qualification in Software Engineering
Stars: ✭ 41 (+192.86%)
Mutual labels:  engineering, programming
VubbiScript
Programming with blocks in Unity3D...
Stars: ✭ 41 (+192.86%)
Mutual labels:  programming, visual
Abstractionlayers
Abstraction Layers
Stars: ✭ 16 (+14.29%)
Mutual labels:  engineering, programming
Awesome Falsehood
😱 Falsehoods Programmers Believe in
Stars: ✭ 16,614 (+118571.43%)
Mutual labels:  engineering, programming
fiware-cepheus
FIWARE Cepheus - CEP for NGSI IoT gateways
Stars: ✭ 17 (+21.43%)
Mutual labels:  fiware, ngsi
Index
Metarhia educational program index 📖
Stars: ✭ 2,045 (+14507.14%)
Mutual labels:  engineering, programming
Vworkflows
Flow Visualization Library for JavaFX and VRL-Studio
Stars: ✭ 226 (+1514.29%)
Mutual labels:  programming, visual
Xible
Visualize your workflow
Stars: ✭ 49 (+250%)
Mutual labels:  programming, visual
landscape-of-programming
This repo aim to show you what to learn on the way to excellence.
Stars: ✭ 67 (+378.57%)
Mutual labels:  engineering, programming
Webhook
webhook is a lightweight incoming webhook server to run shell commands
Stars: ✭ 7,201 (+51335.71%)
Mutual labels:  programming, integration
Quadpy
Numerical integration (quadrature, cubature) in Python
Stars: ✭ 471 (+3264.29%)
Mutual labels:  engineering, integration
Letters
Письма к студентам курса
Stars: ✭ 107 (+664.29%)
Mutual labels:  engineering, programming
Reverse Engineering Tutorials
Some Reverse Engineering Tutorials for Beginners
Stars: ✭ 217 (+1450%)
Mutual labels:  engineering, programming
Material-Smart-Rating
😍⭐⭐Material Smart Rating App - An Android library that encourages users to rate the app on Google Play.⭐⭐😘
Stars: ✭ 30 (+114.29%)
Mutual labels:  context, smart
Documents
Documentation for Phase 4 Ground
Stars: ✭ 31 (+121.43%)
Mutual labels:  engineering, visual

node-red-contrib-FIWARE_official

Official Node-RED FIWARE integration

License badge NGSI v2 NGSI LD
CI

Supported Nodes:

  • NGSI(v2,LD) Entity
  • NGSI(v2,LD) Dataset
  • NGSI(v2,LD) Update
  • NGSI(v2,LD) Subscription
  • NGSI(v2) v2ToLD

How to install

You can install this module into an environment running Node-RED by running one of the following commands:

npm install node-red-contrib-fiware_official

or

npm install https://github.com/FIWARE/node-red-contrib-FIWARE_official.git#master

How to run Node-RED and Orion Context Broker with Docker

Please clone the repository. Create the necessary images and start up a series of containers by running the commands as shown below:

git clone https://github.com/FIWARE/node-red-contrib-FIWARE_official.git
cd node-red-contrib-FIWARE_official/docker
docker-compose up -d

Once the containers have started, Open the portal page of Node-READ on http://{ip address of your machine}:1880/.

ℹ️ Note: Everything you do with Node-RED and Orion Context Broker when dockerized is non-persistent. You will lose all your data if you turn off the containers.

Securing Node-RED with Keyrock

You can protect the Node-RED editor and admin API with Keyrock and Passport-FIWARE-OAuth. Register node-red as an application in Keyrock and get clientID and clientSecret. Then, Add the following config to setting.js. You should change serverURL, clientID, clientSecret and callbackURL to suit your system environment. Please See http://nodered.org/docs/security.html for details about setting.js.

adminAuth: {
    type:"strategy",
    strategy: {
        name: "fiware",
        label: 'Sign in with Keyrock',
        strategy: require("passport-fiware-oauth").OAuth2Strategy,
        options: {
            serverURL: "https://keyrock",
            clientID: "00000000-0000-0000-0000-000000000000",
            clientSecret: "00000000-0000-0000-0000-000000000000",
            callbackURL: "https://node-red/auth/strategy/callback",
            isLegacy: false,
            verify: function(accessToken, refreshToken, profile, done) {
              // console.log(profile);
              done(null, profile._json);
            },
            state: true
        }
    },
    users: [
       { username: "admin",permissions: ["*"]}
    ]
},

ℹ️ Note: This configuration was verified in a environment installed Node-RED 1.2.9, Keyrock 7.8 and Passport-FIWARE-OAuth 0.3.0.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].