ããã®ã¨ãããã£ã¨ Node-RED ã®ãµã³ãã«ãè¦ãªããåãã¼ãã®ä½¿ãæ¹ã確èªãã¦ãã¾ãã é åºãã®è¨äºã¯ãã¡ã ãã確èªãã ãããä»åã¯Execãã¼ãã§ããExecãã¼ãã使ãã¨å¤é¨ã®ã³ãã³ããå®è¡ãããã¨ãã§ãã¾ããã³ãã³ããåºåãããæ¨æºåºåãæ¨æºã¨ã©ã¼åºåãªã©ããã¼ãããåºåã§ãã¾ãã æ¨æºåºåã®å 容ãåºåãã æåã«ç¢ºèªãããµã³ãã«ã¯ã flows > node-red > function > exec > 01 - Get standard output from external command ãã§ãã Execãã¼ãã®ããããã£ãè¦ãã¨ä»¥ä¸ã®éãã«ãªã£ã¦ãã¾ãã å®è¡ã³ãã³ãã¯ã echo ã msg.payload ã§åãåã£ãå¤ãå¼æ°ã¨ãã¦å©ç¨ åºåã¢ã¼ãã¯ã ã³ãã³ãçµäºæ - execã¢ã¼ã ã ã³ãã³ãçµäºæã«çµæãåºåãã¾ã Execãã¼ãã«ã¯åºåãã¼ãã
{{#tags}}- {{label}}
{{/tags}}