ssavva05
ssavva05

Reputation: 114

FIWARE Orion subscriptions to Node Red plugins

I am trying to create subscriptions using Orion Context Broker and Node-Red plugins. I want to create custom node red plugins to fit my use case. Is there any sample Node-Red Plugins development repository for subscriptions? Must I use ngsi-proxy or get the result directly from Orion?

My subscriptions provision look like:

  "description": "Notify Node Red on Sensor count attribute changes",
  "subject": {
    "entities": [
      {
        "idPattern": "urn:ngsi-ld:MySensor:001"
      }
    ],
    "condition": {
      "attrs": [
        "count"
      ]
    }
  },
  "notification": {
    "http": {
      "url": "http://node-red:1880"
    },
    "attrs": [
      "count"
    ],
    "metadata": ["dateCreated", "dateModified"]
  }
}

Upvotes: 1

Views: 348

Answers (1)

fgalan
fgalan

Reputation: 12312

It seems there is some Node Red stuff related with NGSIv2 out there. You can have a look to https://flows.nodered.org/node/node-red-contrib-fiware_official

Upvotes: 1

Related Questions