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.
-
-
Save koustabhdolui/6563ca047870873341e03345e6befdb4 to your computer and use it in GitHub Desktop.
Xively flow for AGILE gateway
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"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":[ | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment