Versions: os, nodeJS, npm, Node-RED, modules

This is a collection of 3 flows retrieving the version on different systems: synology docker, windows 10 and CCU3.

versions

[{"id":"8aa72894.b59718","type":"exec","z":"2714e7ca.f79498","command":"cd /usr/local/addons/redmatic/var && npm list --depth=0","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"node-red modules","x":390,"y":519,"wires":[["6654774d.1f7368"],[],[]]},{"id":"bc17cfcb.fcc81","type":"exec","z":"2714e7ca.f79498","command":"node -v","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"node version","x":370,"y":776,"wires":[["6654774d.1f7368"],[],[]]},{"id":"a51dbf27.b5685","type":"exec","z":"2714e7ca.f79498","command":"npm -v","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"npm version","x":370,"y":690,"wires":[["6654774d.1f7368"],[],[]]},{"id":"a556b779.143fb8","type":"exec","z":"2714e7ca.f79498","command":"cd /usr/local/addons/redmatic/lib/node_modules/  && npm list node-red","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"node-red version","x":390,"y":603,"wires":[["6654774d.1f7368"],[],[]]},{"id":"23f6c248.579d5e","type":"exec","z":"2714e7ca.f79498","command":"uname -mrs","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"OS","x":350,"y":826,"wires":[["6654774d.1f7368"],[],[]]},{"id":"e3e036ca.9c2118","type":"inject","z":"2714e7ca.f79498","name":"CCU3 RedMatic","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":120,"y":645,"wires":[["4e2fbf97.e949e","81334953.0ff7f8","21520bdd.7be354","14c4716a.36033f","23f6c248.579d5e"]]},{"id":"6654774d.1f7368","type":"debug","z":"2714e7ca.f79498","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":590,"y":682,"wires":[]},{"id":"4e2fbf97.e949e","type":"delay","z":"2714e7ca.f79498","name":"","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":342,"y":645,"wires":[["a51dbf27.b5685"]]},{"id":"81334953.0ff7f8","type":"delay","z":"2714e7ca.f79498","name":"","pauseType":"delay","timeout":"4","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":340,"y":476,"wires":[["8aa72894.b59718"]]},{"id":"21520bdd.7be354","type":"delay","z":"2714e7ca.f79498","name":"","pauseType":"delay","timeout":"3","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":340,"y":560,"wires":[["a556b779.143fb8"]]},{"id":"14c4716a.36033f","type":"delay","z":"2714e7ca.f79498","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":338,"y":733,"wires":[["bc17cfcb.fcc81"]]},{"id":"d41e2b07.468518","type":"exec","z":"2714e7ca.f79498","command":"npm list node-red","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"node-red version","x":389,"y":183,"wires":[["de7f0912.d0b218"],[],[]]},{"id":"6d419c7d.eccad4","type":"exec","z":"2714e7ca.f79498","command":"node -v","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"node version","x":369,"y":351,"wires":[["de7f0912.d0b218"],[],[]]},{"id":"8b823c66.302d1","type":"exec","z":"2714e7ca.f79498","command":"npm -v","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"npm version","x":369,"y":267,"wires":[["de7f0912.d0b218"],[],[]]},{"id":"3a0113ba.4b80ac","type":"exec","z":"2714e7ca.f79498","command":"cd /data && npm list --depth=0","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"node-red modules","x":389,"y":99,"wires":[["de7f0912.d0b218"],[],[]]},{"id":"c7bc46ec.b6a7a8","type":"exec","z":"2714e7ca.f79498","command":"uname -mrs","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"OS","x":349,"y":401,"wires":[["de7f0912.d0b218"],[],[]]},{"id":"9094fcda.c319c","type":"inject","z":"2714e7ca.f79498","name":"Synology, Docker","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":120,"y":220,"wires":[["710472ac.22b40c","e9668196.03fd6","6c0fcfe9.6ed1e","c7bc46ec.b6a7a8","d0f600ab.6d22f"]]},{"id":"de7f0912.d0b218","type":"debug","z":"2714e7ca.f79498","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":549,"y":280,"wires":[]},{"id":"710472ac.22b40c","type":"delay","z":"2714e7ca.f79498","name":"","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":339,"y":227,"wires":[["8b823c66.302d1"]]},{"id":"e9668196.03fd6","type":"delay","z":"2714e7ca.f79498","name":"","pauseType":"delay","timeout":"3","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":339,"y":143,"wires":[["d41e2b07.468518"]]},{"id":"6c0fcfe9.6ed1e","type":"delay","z":"2714e7ca.f79498","name":"","pauseType":"delay","timeout":"4","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":339,"y":59,"wires":[["3a0113ba.4b80ac"]]},{"id":"d0f600ab.6d22f","type":"delay","z":"2714e7ca.f79498","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":339,"y":311,"wires":[["6d419c7d.eccad4"]]},{"id":"69e8e0c6.47986","type":"exec","z":"2714e7ca.f79498","command":"cd C:\\Users\\hekla\\.node-red && npm list --depth=0 --prod=true","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"node-red modules","x":983,"y":103,"wires":[["f2b4e8d0.a98158"],[],[]]},{"id":"80b6040d.4be9f8","type":"exec","z":"2714e7ca.f79498","command":"node -v","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"node version","x":963,"y":358,"wires":[["f2b4e8d0.a98158"],[],[]]},{"id":"1b0351e5.a07fee","type":"exec","z":"2714e7ca.f79498","command":"npm -v","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"npm version","x":963,"y":273,"wires":[["f2b4e8d0.a98158"],[],[]]},{"id":"caf0aea2.c07c7","type":"exec","z":"2714e7ca.f79498","command":"npm list node-red -g","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"node-red","x":953,"y":187,"wires":[["f2b4e8d0.a98158"],[],[]]},{"id":"cf91163c.f57248","type":"exec","z":"2714e7ca.f79498","command":"systeminfo | findstr /B /C:\"OS Name\" /C:\"OS Version\"","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"OS","x":943,"y":408,"wires":[["f2b4e8d0.a98158"],[],[]]},{"id":"556ba8a0.beb9c8","type":"inject","z":"2714e7ca.f79498","name":"Windows 10","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":745,"y":228,"wires":[["42192fcc.4a5fa","efab8abe.1c8038","ea0e4e8f.8f6be","def291b6.cfbc4","cf91163c.f57248"]]},{"id":"f2b4e8d0.a98158","type":"debug","z":"2714e7ca.f79498","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1163,"y":240,"wires":[]},{"id":"42192fcc.4a5fa","type":"delay","z":"2714e7ca.f79498","name":"","pauseType":"delay","timeout":"2","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":935,"y":228,"wires":[["1b0351e5.a07fee"]]},{"id":"efab8abe.1c8038","type":"delay","z":"2714e7ca.f79498","name":"","pauseType":"delay","timeout":"4","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":933,"y":60,"wires":[["69e8e0c6.47986"]]},{"id":"ea0e4e8f.8f6be","type":"delay","z":"2714e7ca.f79498","name":"","pauseType":"delay","timeout":"3","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":933,"y":144,"wires":[["caf0aea2.c07c7"]]},{"id":"def291b6.cfbc4","type":"delay","z":"2714e7ca.f79498","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":931,"y":315,"wires":[["80b6040d.4be9f8"]]}]

Flow Info

Created 4 years, 11 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • debug (x3)
  • delay (x12)
  • exec (x15)
  • inject (x3)

Tags

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