Xively flow for AGILE gateway

This workflow is for getting data from a device connected to the AGILE gateway and pushing the data to a Xively account. By default, the user can push the data to the Xively account associated with the user account using the credentials acquired from the IDM attribute node. The user can also enter the Feed ID and API Key of a personal account in the Xively node to push data to a separate account.

[  
   {  
      "id":"8f7febe5.6dc578",
      "type":"tab",
      "label":"Xively Demo Flow"
   },
   {  
      "id":"e0a33b13.95cae8",
      "type":"agile-device-subscribe",
      "z":"8f7febe5.6dc578",
      "server":"",
      "name":"",
      "x":380,
      "y":290,
      "wires":[  
         [  
            "bab42320.a995d"
         ]
      ]
   },
   {  
      "id":"bab42320.a995d",
      "type":"idm-token",
      "z":"8f7febe5.6dc578",
      "name":"get-idm-token",
      "tokensource":"session",
      "idm":"http://agile-security:3000",
      "userinfo":true,
      "x":491,
      "y":364,
      "wires":[  
         [  
            "5ae17306.8a6acc"
         ]
      ]
   },
   {  
      "id":"5ae17306.8a6acc",
      "type":"idm-attribute",
      "z":"8f7febe5.6dc578",
      "name":"idm-attribute",
      "idm":"http://agile-security:3000",
      "property":"",
      "entity_id":"",
      "entity_type":"user",
      "attribute":"credentials.xively",
      "destination_property":"credentials.xively",
      "x":552,
      "y":441,
      "wires":[  
         [  
            "71d1c6cf.b15398"
         ]
      ]
   },
   {  
      "id":"71d1c6cf.b15398",
      "type":"xively-send-data",
      "z":"8f7febe5.6dc578",
      "name":"",
      "server":"",
      "variable":"",
      "serial":"",
      "x":608,
      "y":525,
      "wires":[  
         [  
            "f6ed4436.ffc9c8"
         ]
      ]
   },
   {  
      "id":"f6ed4436.ffc9c8",
      "type":"debug",
      "z":"8f7febe5.6dc578",
      "name":"",
      "active":true,
      "console":"false",
      "complete":"false",
      "x":685,
      "y":597,
      "wires":[  

      ]
   }
]
koustabhdolui

Flow Info

created 1 month, 1 week ago

Node Types

Core
  • debug (x1)
Other
  • agile-device-subscribe (x1)
  • idm-attribute (x1)
  • idm-token (x1)
  • tab (x1)
  • xively-send-data (x1)

Tags

  • SensorTag
  • Temperature
  • Humidity
  • Optical
  • Cloud
  • Agile
  • Workflow
  • Integration
  • Gateway
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option