[{"data":1,"prerenderedAt":232},["ShallowReactive",2],{"node-red-\u002Fnode-red\u002Fhardware\u002Fopto-22-groove-rio-7-mm2001-10":3},{"id":4,"title":5,"body":6,"description":224,"extension":225,"meta":226,"navigation":227,"path":228,"seo":229,"stem":230,"__hash__":231},"nodeRed\u002Fnode-red\u002Fhardware\u002Fopto-22-groove-rio-7-mm2001-10.md","Setting up Node-RED on Opto-22 Groov Rio R7",{"type":7,"value":8,"toc":216},"minimark",[9,13,18,21,52,56,59,64,73,81,85,88,96,102,111,115,118,166,175,178,206,212],[10,11,12],"p",{},"The Opto-22 Groov Rio R7 is a rugged edge I\u002FO module designed for industrial applications. Equipped with a powerful ARM Cortex-A8 processor, versatile I\u002FO channels, and various connectivity options, it’s an ideal solution for edge computing and industrial IoT.",[14,15,17],"h2",{"id":16},"prerequisites","Prerequisites",[10,19,20],{},"Before proceeding with the installation, ensure you have the following:",[22,23,24,32,46],"ul",{},[25,26,27,31],"li",{},[28,29,30],"strong",{},"Opto-22 Groov Rio R7"," – A functioning device with internet access.",[25,33,34,37,38,45],{},[28,35,36],{},"FlowFuse Account"," - You need an active FlowFuse account to access the platform and configure your instance. If you do not have one, please visit the FlowFuse website and ",[39,40,44],"a",{"href":41,"rel":42},"https:\u002F\u002Fapp.flowfuse.com\u002Faccount\u002Fcreate",[43],"nofollow","sign up"," for a new account before proceeding.",[25,47,48,51],{},[28,49,50],{},"Sudo Privileges"," – Administrator access to install required packages.",[14,53,55],{"id":54},"getting-started","Getting Started",[10,57,58],{},"This guide will walk you through setting up Node-RED on the Groov Rio R7 using the FlowFuse Device Agent, allowing you to manage, scale, and secure your remote instances effectively.",[60,61,63],"h3",{"id":62},"installing-flowfuse-device-agent","Installing FlowFuse Device Agent",[10,65,66,67,72],{},"Before starting the installation, it is recommended to update your system to\nensure that all your packages are up to date. You can use groov manage, which\nacts as the command central for your groov RIO devices. For detailed\ninstructions on how to update the system, ",[39,68,71],{"href":69,"rel":70},"https:\u002F\u002Fwww.opto22.com\u002Fsupport\u002Fresources-tools\u002Fvideos\u002Fplaylist-what-is-groov-epic?wchannelid=61lkudfc8c&wmediaid=mxzzp2kudx",[43],"watch this video",".",[10,74,75,76,80],{},"This guide is written for the firmware version of: ",[77,78,79],"code",{},"4.0.2-b.194",". Node.JS 20 is\navailable on the device, and you should be good to go to register the edge device\non FlowFuse.",[60,82,84],{"id":83},"registering-the-device-to-connect-to-flowfuse","Registering the Device to Connect to FlowFuse",[10,86,87],{},"Once you have installed the FlowFuse Device Agent, you need to register the hardware to connect it to your FlowFuse team.",[10,89,90,91,72],{},"For instructions on how to register the hardware with your FlowFuse team, follow the documentation: ",[39,92,95],{"href":93,"rel":94},"https:\u002F\u002Fflowfuse.com\u002Fdocs\u002Fdevice-agent\u002Fregister\u002F",[43],"Register your Remote Instance",[10,97,98,99],{},"When registering your hardware, you will be presented with a dialog containing a one-time passcode command that the Device Agent uses to retrieve its configuration. ",[28,100,101],{},"Make sure to copy it.",[10,103,104],{},[105,106],"img",{"alt":107,"dataZoomable":108,"src":109,"title":110},"\"Dialog containing a one-time passcode command that the Device Agent can use to retrieve its configuration\"","","\u002Fnode-red-media\u002Fhardware\u002Fimages\u002Fconfiguration-dailog-with-one-time-code.png","Dialog containing a one-time passcode command that the Device Agent can use to retrieve its configuration",[60,112,114],{"id":113},"connecting-device","Connecting Device",[10,116,117],{},"Execute the command you have copied with sudo as shown below",[119,120,124],"pre",{"className":121,"code":122,"language":123,"meta":108,"style":108},"language-bash shiki shiki-themes github-light github-dark","sudo flowfuse-device-agent -o \u003Cinsert-your-three-word-token> https:\u002F\u002Fapp.flowfuse.com --port 1881\n","bash",[77,125,126],{"__ignoreMap":108},[127,128,131,135,139,143,147,150,154,157,160,163],"span",{"class":129,"line":130},"line",1,[127,132,134],{"class":133},"sScJk","sudo",[127,136,138],{"class":137},"sZZnC"," flowfuse-device-agent",[127,140,142],{"class":141},"sj4cs"," -o",[127,144,146],{"class":145},"szBVR"," \u003C",[127,148,149],{"class":137},"insert-your-three-word-toke",[127,151,153],{"class":152},"sVt8B","n",[127,155,156],{"class":145},">",[127,158,159],{"class":137}," https:\u002F\u002Fapp.flowfuse.com",[127,161,162],{"class":141}," --port",[127,164,165],{"class":141}," 1881\n",[167,168,169],"blockquote",{},[10,170,171,174],{},[28,172,173],{},"Important:"," Be sure to include the --port 1881 flag when running the command. By default, the Opto-22 firewall only allows access to port 1880 (default Node-RED port) by a very restricted list of users, so the Groov Rio R7 requires specifying port 1881 for the Device Agent to start correctly.",[10,176,177],{},"Once executed, you should see an output similar to the one below, indicating that the FlowFuse Device Agent has been successfully configured:",[119,179,181],{"className":121,"code":180,"language":123,"meta":108,"style":108},"[AGENT] 3\u002F21\u002F2025 7:09:25 PM [info] Entering Device setup...\n[AGENT] 3\u002F21\u002F2025 7:09:27 PM [info] Device setup was successful\n[AGENT] 3\u002F21\u002F2025 7:09:27 PM [info] To start the Device Agent with the new configuration, run the following command:\n[AGENT] 3\u002F21\u002F2025 7:09:27 PM [info] flowfuse-device-agent\n",[77,182,183,188,194,200],{"__ignoreMap":108},[127,184,185],{"class":129,"line":130},[127,186,187],{"class":152},"[AGENT] 3\u002F21\u002F2025 7:09:25 PM [info] Entering Device setup...\n",[127,189,191],{"class":129,"line":190},2,[127,192,193],{"class":152},"[AGENT] 3\u002F21\u002F2025 7:09:27 PM [info] Device setup was successful\n",[127,195,197],{"class":129,"line":196},3,[127,198,199],{"class":152},"[AGENT] 3\u002F21\u002F2025 7:09:27 PM [info] To start the Device Agent with the new configuration, run the following command:\n",[127,201,203],{"class":129,"line":202},4,[127,204,205],{"class":152},"[AGENT] 3\u002F21\u002F2025 7:09:27 PM [info] flowfuse-device-agent\n",[10,207,208,209,72],{},"Now, you can check the remote instance in the FlowFuse platform, where its status should be displayed as ",[28,210,211],{},"\"running.\"",[213,214,215],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":108,"searchDepth":190,"depth":190,"links":217},[218,219],{"id":16,"depth":190,"text":17},{"id":54,"depth":190,"text":55,"children":220},[221,222,223],{"id":62,"depth":196,"text":63},{"id":83,"depth":196,"text":84},{"id":113,"depth":196,"text":114},"Learn how to install and configure Node-RED on the Opto-22 Groov Rio R7, a rugged edge I\u002FO module for industrial applications.","md",{},true,"\u002Fnode-red\u002Fhardware\u002Fopto-22-groove-rio-7-mm2001-10",{"title":5,"description":224},"node-red\u002Fhardware\u002Fopto-22-groove-rio-7-mm2001-10","uFrBR8SjISfDgILmV7z8DBt-j6Tyf3zkHsW8Dxxhebc",1780070557364]