dsadasadas

dsad

[{"id":"95631968.3038e8","type":"mqtt-broker","broker":"localhost","port":"1883","clientid":""},{"id":"cb624aec.67a068","type":"watson-question-answer","name":"Query","output":"all","corpus":"travel","x":1608,"y":623,"z":"4dbb6212.d957bc","wires":[["802eed75.63c8e8"]]},{"id":"9e36b519.59baa8","type":"watson-translate","name":"ai1","language":"mt-frfr-enus","x":1607,"y":531,"z":"4dbb6212.d957bc","wires":[["802eed75.63c8e8"]]},{"id":"69c8061e.064af","type":"watson-language-identification","name":"","x":1618.9999389648438,"y":565,"z":"4dbb6212.d957bc","wires":[["802eed75.63c8e8"]]},{"id":"f7d6341b.2e673","type":"sentiment","name":"","x":1418.9999694824219,"y":243,"z":"4dbb6212.d957bc","wires":[[]]},{"id":"3118972e.a47178","type":"cloudant out","service":"","name":"","database":"","payonly":false,"operation":"insert","x":1762,"y":293,"z":"4dbb6212.d957bc","wires":[]},{"id":"127ce604.bb7d2a","type":"ibmiot in","authentication":"quickstart","apiKey":"","inputType":"devsts","deviceId":"0071CC237CFE","applicationId":"","deviceType":"+","eventType":"+","commandType":"","format":"json","name":"IBM IoT App In","service":"quickstart","allDevices":false,"allApplications":false,"allDeviceTypes":true,"allEvents":true,"allCommands":false,"allFormats":false,"x":389.70001220703125,"y":244.683349609375,"z":"4dbb6212.d957bc","wires":[["8a1f33fe.ebcf","51e61203.b9917c"]]},{"id":"8a1f33fe.ebcf","type":"function","name":"temp","func":"return {payload:msg.payload.d.temp};","outputs":1,"valid":true,"x":605.2000122070312,"y":315.683349609375,"z":"4dbb6212.d957bc","wires":[["4f490e91.4f2bf8"]]},{"id":"4f490e91.4f2bf8","type":"switch","name":"temp thresh","property":"payload","rules":[{"t":"lte","v":40,"v2":null},{"t":"gt","v":40,"v2":null}],"checkall":"true","outputs":2,"x":771.2000122070312,"y":315.683349609375,"z":"4dbb6212.d957bc","wires":[["5bc7175b.79b16"],["448e0921.9423f"]]},{"id":"9d30c756.d83a6","type":"debug","name":"cpu status","active":true,"complete":"false","x":1082.2000122070312,"y":312.683349609375,"z":"4dbb6212.d957bc","wires":[]},{"id":"51e61203.b9917c","type":"debug","name":"device data","active":true,"console":"false","complete":"true","x":622.2000122070312,"y":225.683349609375,"z":"4dbb6212.d957bc","wires":[]},{"id":"5bc7175b.79b16","type":"template","name":"safe","template":"Temperature ({{payload}}) within safe limits","x":935.2000122070312,"y":266.683349609375,"z":"4dbb6212.d957bc","wires":[["9d30c756.d83a6"]]},{"id":"448e0921.9423f","type":"template","name":"danger","template":"Temperature ({{payload}}) critical","x":934.2000122070312,"y":360.683349609375,"z":"4dbb6212.d957bc","wires":[["9d30c756.d83a6"]]},{"id":"cce26953.2c681","type":"ibmiot in","authentication":"apiKey","inputType":"evt","deviceId":"","applicationId":"","deviceType":"","eventType":"","commandType":"","format":"","name":"IBM IoT App In","service":"","allDevices":"","allApplications":"","allDeviceTypes":"","allEvents":"","allCommands":"","allFormats":"","x":1209.849853515625,"y":385.8499755859375,"z":"4dbb6212.d957bc","wires":[["802eed75.63c8e8","cb624aec.67a068","69c8061e.064af","9e36b519.59baa8","9953eb7c.ab8a08"]]},{"id":"a18e4163.d21d08","type":"mqtt in","name":"log","topic":"LOGIN","broker":"95631968.3038e8","x":1119.8497924804688,"y":139.85000610351562,"z":"4dbb6212.d957bc","wires":[["62306937.bd6ca8"]]},{"id":"62306937.bd6ca8","type":"debug","name":"Login info.","active":true,"console":"true","complete":"payload","x":1675.8500061035156,"y":135.85000610351562,"z":"4dbb6212.d957bc","wires":[]},{"id":"802eed75.63c8e8","type":"function","name":"","func":"\nreturn msg;","outputs":1,"valid":true,"x":1586.8499755859375,"y":378.8499755859375,"z":"4dbb6212.d957bc","wires":[["3118972e.a47178","7532e5b1.512c84"]]},{"id":"9d8a6567.e4f2a","type":"inject","name":"LOCKER","topic":"CENTRAL LOCKING SYSTEM","payload":"","payloadType":"date","repeat":"300","crontab":"","once":true,"x":1222.8499755859375,"y":447.8500061035156,"z":"4dbb6212.d957bc","wires":[["802eed75.63c8e8"]]},{"id":"86dfee83.8ad45","type":"inject","name":"UNLOCKER","topic":"OPEN CAR","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":1226.8500061035156,"y":500.8500061035156,"z":"4dbb6212.d957bc","wires":[["802eed75.63c8e8"]]},{"id":"7f9b15f0.e84864","type":"inject","name":"SIREN","topic":"HORN","payload":"","payloadType":"date","repeat":"","crontab":"0 0 * * *","once":false,"x":1228.8500061035156,"y":564.8500061035156,"z":"4dbb6212.d957bc","wires":[["802eed75.63c8e8"]]},{"id":"190a4ff7.7b42f","type":"catch","name":"ERROR","x":1283.8499755859375,"y":218.85000610351562,"z":"4dbb6212.d957bc","wires":[["802eed75.63c8e8"]]},{"id":"979c0362.136b5","type":"ibmiot out","authentication":"apiKey","outputType":"","deviceId":"","deviceType":"","eventCommandType":"","format":"","data":"","name":"IBM IoT App Out","service":"","x":1878.8499755859375,"y":381.8500061035156,"z":"4dbb6212.d957bc","wires":[]},{"id":"68bb60c7.cae6d8","type":"catch","name":"","x":1463.75,"y":171.75,"z":"4dbb6212.d957bc","wires":[["802eed75.63c8e8"]]},{"id":"77c3e5f2.5b3044","type":"catch","name":"","x":1193.75,"y":256.75,"z":"4dbb6212.d957bc","wires":[["802eed75.63c8e8"]]},{"id":"9953eb7c.ab8a08","type":"watson-visual-recognition","name":"CAMERA","x":1424.566665649414,"y":778.5666656494141,"z":"4dbb6212.d957bc","wires":[["802eed75.63c8e8"]]},{"id":"7532e5b1.512c84","type":"mqtt out","name":"WARNING","topic":"DOOR","qos":"","retain":"","broker":"95631968.3038e8","x":1797.566650390625,"y":481.566650390625,"z":"4dbb6212.d957bc","wires":[]},{"id":"19a803bf.fda884","type":"inject","name":"","topic":"SELF DIAGNOSIS","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":1854.566650390625,"y":695.566650390625,"z":"4dbb6212.d957bc","wires":[[]]},{"id":"88beb95.602efc8","type":"inject","name":"","topic":"OBD CONTROL","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":1781.566665649414,"y":763.5666656494141,"z":"4dbb6212.d957bc","wires":[[]]},{"id":"e1631912.d8fe5","type":"inject","name":"","topic":"VIBRATION DETECTOR","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":1993.566665649414,"y":596.5666656494141,"z":"4dbb6212.d957bc","wires":[[]]},{"id":"d1bc280b.23c17","type":"inject","name":"","topic":"GPS","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":2025.566650390625,"y":485.566650390625,"z":"4dbb6212.d957bc","wires":[[]]}]
AlexVishwa

Flow Info

created 2 years, 8 months ago

Node Types

Core
  • catch (x3)
  • debug (x3)
  • function (x2)
  • inject (x7)
  • mqtt in (x1)
  • mqtt out (x1)
  • mqtt-broker (x1)
  • sentiment (x1)
  • switch (x1)
  • template (x2)
Other
  • cloudant out (x1)
  • ibmiot in (x2)
  • ibmiot out (x1)
  • watson-language-identification (x1)
  • watson-question-answer (x1)
  • watson-translate (x1)
  • watson-visual-recognition (x1)

Tags

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