Agile Resource test

node red flow to test resource consumtpion of agile components

[{"id":"dd673a0.5cc3ec8","type":"sensorTag","z":"b9b3b7ef.198fa8","name":"","topic":"sensorTag","uuid":"","temperature":false,"humidity":false,"pressure":false,"magnetometer":false,"accelerometer":false,"gyroscope":false,"keys":false,"luxometer":false,"x":128,"y":240,"wires":[["84a0cc1e.482f7"]]},{"id":"645f07a6.e870e8","type":"debug","z":"b9b3b7ef.198fa8","name":"Logger","active":true,"console":"false","complete":"payload.myData.myInnerData.x","x":640,"y":151,"wires":[]},{"id":"84a0cc1e.482f7","type":"delay","z":"b9b3b7ef.198fa8","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"12","rateUnits":"minute","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":303,"y":314,"wires":[["2010d603.6514aa"]]},{"id":"2010d603.6514aa","type":"function","z":"b9b3b7ef.198fa8","name":"","func":"var d = new Date();\nvar n = d.getTime();\n\nvar json = msg.payload;\n\nvar temperature = msg.payload.ambient\n\nmsg.payload = {\n  myData: {\n   myTimestamp: n,\n   myInnerData: {\n   x: temperature\n   }\n  }\n}\nreturn msg;","outputs":1,"noerr":0,"x":481,"y":238,"wires":[["645f07a6.e870e8","d720f889.bbe798"]]},{"id":"d720f889.bbe798","type":"iot-datasource","z":"b9b3b7ef.198fa8","name":"Dashboard","tstampField":"myData.myTimestamp","dataField":"myData.myInnerData.x","disableDiscover":true,"x":643,"y":301,"wires":[[]]}]

Flow Info

Created 8 years, 3 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • debug (x1)
  • delay (x1)
  • function (x1)
Other

Tags

Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option