[{"data":1,"prerenderedAt":615},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fhardware\u002Fraspbian\u002F":3,"docs-nav":159},{"id":4,"title":5,"body":6,"description":16,"extension":147,"layout":148,"meta":149,"navGroup":148,"navGroupOrder":148,"navOrder":145,"navTitle":150,"navigation":151,"originalPath":152,"path":153,"redirect":148,"seo":154,"stem":155,"updated":156,"version":157,"__hash__":158},"docs\u002Fdocs\u002Fhardware\u002Fraspbian.md","Raspberry Pi",{"type":7,"value":8,"toc":137},"minimark",[9,13,17,22,25,58,64,77,81,84,89,92,97,100,105,109,112,117,120,125,128,133],[10,11,5],"h1",{"id":12},"raspberry-pi",[14,15,16],"p",{},"The Raspberry Pi section provides instructions for installing and setting up the FlowFuse Device Agent on your Raspberry Pi device, enabling seamless integration for efficient device management and automation.",[18,19,21],"h2",{"id":20},"installing-the-device-agent","Installing the Device Agent",[14,23,24],{},"FlowFuse provides a script to install Node.JS, npm, and the FlowFuse Device Agent onto a Raspberry Pi.\nThis script won't work on ARMv6 builds as the standard Node.JS builds don't support it, as result Pi Zero's are not supported.",[26,27,32],"pre",{"className":28,"code":29,"language":30,"meta":31,"style":31},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","bash \u003C(curl -sL https:\u002F\u002Fraw.githubusercontent.com\u002FFlowFuse\u002Fdevice-agent\u002Fmain\u002Fservice\u002Fraspbian-install-device-agent.sh)\n","sh","",[33,34,35],"code",{"__ignoreMap":31},[36,37,40,44,48,51,55],"span",{"class":38,"line":39},"line",1,[36,41,43],{"class":42},"sBMFI","bash",[36,45,47],{"class":46},"sMK4o"," \u003C(",[36,49,50],{"class":42},"curl",[36,52,54],{"class":53},"sfazB"," -sL https:\u002F\u002Fraw.githubusercontent.com\u002FFlowFuse\u002Fdevice-agent\u002Fmain\u002Fservice\u002Fraspbian-install-device-agent.sh",[36,56,57],{"class":46},")\n",[14,59,60],{},[61,62,63],"strong",{},"This script will:",[65,66,67,71,74],"ol",{},[68,69,70],"li",{},"Detect if Node.js is already installed, it will ensure it is at least v14. If less than v14 it will stop. If nothing is found it will install the Node.js 18 LTS release",[68,72,73],{},"Install the latest version of the FlowFuse Device Agent using npm.",[68,75,76],{},"Setup the FlowFuse Device Agent to run as a service",[18,78,80],{"id":79},"running-as-a-service","Running as a service",[14,82,83],{},"You can run the device agent as a service, which means it can run in the background and be enabled to automatically start on boot. The install script will automatically set up the FlowFuse Device Agent to run as a service. The following commands can be useful for controlling the service or changing the default service settings.",[85,86,88],"h3",{"id":87},"starting-the-service-on-boot-optional","Starting the service on boot (optional)",[14,90,91],{},"If you want Node-RED to run when the device is turned on, or re-booted, you can enable the service to autostart by running the command:",[14,93,94],{},[33,95,96],{},"sudo systemctl enable flowfuse-device-agent.service",[14,98,99],{},"To disable the service, run the command:",[14,101,102],{},[33,103,104],{},"sudo systemctl disable flowfuse-device-agent.service",[85,106,108],{"id":107},"controlling-the-service","Controlling the service",[14,110,111],{},"You can start the service with the command:",[14,113,114],{},[33,115,116],{},"sudo systemctl start flowfuse-device-agent",[14,118,119],{},"You can check the current status with the command:",[14,121,122],{},[33,123,124],{},"sudo systemctl status flowfuse-device-agent",[14,126,127],{},"You can stop your with the command:",[14,129,130],{},[33,131,132],{},"sudo systemctl stop flowfuse-device-agent",[134,135,136],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}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":31,"searchDepth":138,"depth":138,"links":139},4,[140,142],{"id":20,"depth":141,"text":21},2,{"id":79,"depth":141,"text":80,"children":143},[144,146],{"id":87,"depth":145,"text":88},3,{"id":107,"depth":145,"text":108},"md",null,{},"Raspberry Pi with Raspbian",true,"hardware\u002Fraspbian.md","\u002Fdocs\u002Fhardware\u002Fraspbian",{"title":5,"description":16},"docs\u002Fhardware\u002Fraspbian","2024-07-19 20:21:52 +0530","2.33.2","CuVg0-me8SGQBy-dc9cGMQeG0MBGFLekhpTaN2kcn9s",[160,167,186,198],{"name":161,"order":39,"children":162},"FlowFuse User Manuals",[163],{"title":164,"path":165,"group":161,"groupOrder":39,"order":141,"children":166},"FlowFuse API","\u002Fdocs\u002Fapi",[],{"name":168,"order":138,"children":169},"FlowFuse Self-Hosted",[170,174],{"title":171,"path":172,"group":168,"groupOrder":138,"order":39,"children":173},"Quick Start","\u002Fdocs\u002Fquick-start",[],{"title":175,"path":176,"group":168,"groupOrder":138,"order":145,"children":177},"Upgrading FlowFuse","\u002Fdocs\u002Fupgrade",[178,182],{"title":179,"path":180,"order":148,"children":181},"Installing a license","\u002Fdocs\u002Fupgrade\u002Fopen-source-to-premium",[],{"title":183,"path":184,"order":148,"children":185},"Upgrading the Node-RED version","\u002Fdocs\u002Fupgrade\u002Fnodered-version",[],{"name":187,"order":188,"children":189},"Support",5,[190,194],{"title":191,"path":192,"group":187,"groupOrder":188,"order":145,"children":193},"Premium Support","\u002Fdocs\u002Fpremium-support",[],{"title":195,"path":196,"group":187,"groupOrder":188,"order":148,"children":197},"Debugging Node-RED issues","\u002Fdocs\u002Fdebugging",[],{"name":199,"order":148,"children":200},"Other",[201,249,261,340,389,406,480,491],{"title":202,"path":203,"order":148,"children":204},"admin","\u002Fdocs\u002Fadmin",[205,209,221,229,233,237,241,245],{"title":206,"path":207,"order":39,"children":208},"Administering FlowFuse","\u002Fdocs\u002Fadmin\u002Fintroduction",[],{"title":210,"path":211,"order":148,"children":212},"Configuring Single Sign-On (SSO)","\u002Fdocs\u002Fadmin\u002Fsso",[213,217],{"title":214,"path":215,"order":148,"children":216},"LDAP SSO","\u002Fdocs\u002Fadmin\u002Fsso\u002Fldap",[],{"title":218,"path":219,"order":148,"children":220},"SAML SSO","\u002Fdocs\u002Fadmin\u002Fsso\u002Fsaml",[],{"title":222,"path":223,"order":148,"children":224},"hardening","\u002Fdocs\u002Fadmin\u002Fhardening",[225],{"title":226,"path":227,"order":148,"children":228},"Kubernetes Hardening","\u002Fdocs\u002Fadmin\u002Fhardening\u002Fkubernetes",[],{"title":230,"path":231,"order":148,"children":232},"Monitoring","\u002Fdocs\u002Fadmin\u002Fmonitoring",[],{"title":234,"path":235,"order":148,"children":236},"Observability","\u002Fdocs\u002Fadmin\u002Fobservability",[],{"title":238,"path":239,"order":148,"children":240},"Soft Launch Enablement","\u002Fdocs\u002Fadmin\u002Ffeature-flags",[],{"title":242,"path":243,"order":148,"children":244},"Telemetry","\u002Fdocs\u002Fadmin\u002Ftelemetry",[],{"title":246,"path":247,"order":148,"children":248},"User Management","\u002Fdocs\u002Fadmin\u002Fuser-management",[],{"title":250,"path":251,"order":148,"children":252},"cloud","\u002Fdocs\u002Fcloud",[253,257],{"title":254,"path":255,"order":39,"children":256},"Introduction","\u002Fdocs\u002Fcloud\u002Fintroduction",[],{"title":258,"path":259,"order":148,"children":260},"FlowFuse Cloud Billing","\u002Fdocs\u002Fcloud\u002Fbilling",[],{"title":262,"path":263,"order":148,"children":264},"contribute","\u002Fdocs\u002Fcontribute",[265,268,272,276,280,284,288,296,332,336],{"title":254,"path":266,"order":39,"children":267},"\u002Fdocs\u002Fcontribute\u002Fintroduction",[],{"title":269,"path":270,"order":148,"children":271},"Adding Template Settings","\u002Fdocs\u002Fcontribute\u002Fadding-template-settings",[],{"title":273,"path":274,"order":148,"children":275},"API Design","\u002Fdocs\u002Fcontribute\u002Fapi-design",[],{"title":277,"path":278,"order":148,"children":279},"Creating debug stack containers","\u002Fdocs\u002Fcontribute\u002Fcreating-debug-stack-containers",[],{"title":281,"path":282,"order":148,"children":283},"Database migrations","\u002Fdocs\u002Fcontribute\u002Fdb-migrations",[],{"title":285,"path":286,"order":148,"children":287},"FlowFuse Architecture","\u002Fdocs\u002Fcontribute\u002Farchitecture",[],{"title":289,"path":290,"order":148,"children":291},"Local Install","\u002Fdocs\u002Fcontribute\u002Flocal",[292],{"title":293,"path":294,"order":148,"children":295},"Local Stacks","\u002Fdocs\u002Fcontribute\u002Flocal\u002Fstacks",[],{"title":297,"path":298,"order":148,"children":299},"State Flows","\u002Fdocs\u002Fcontribute\u002Fworkflows",[300,304,308,312,316,320,324,328],{"title":301,"path":302,"order":148,"children":303},"Device Editor","\u002Fdocs\u002Fcontribute\u002Fworkflows\u002Fdevice-editor",[],{"title":305,"path":306,"order":148,"children":307},"Instance states","\u002Fdocs\u002Fcontribute\u002Fworkflows\u002Fproject-states",[],{"title":309,"path":310,"order":148,"children":311},"Invite External Users","\u002Fdocs\u002Fcontribute\u002Fworkflows\u002Finvite-external-user",[],{"title":313,"path":314,"order":148,"children":315},"Project Creation","\u002Fdocs\u002Fcontribute\u002Fworkflows\u002Fproject-create",[],{"title":317,"path":318,"order":148,"children":319},"Reset Password Flow","\u002Fdocs\u002Fcontribute\u002Fworkflows\u002Fpassword-reset",[],{"title":321,"path":322,"order":148,"children":323},"Team creation Flow","\u002Fdocs\u002Fcontribute\u002Fworkflows\u002Fteam-create",[],{"title":325,"path":326,"order":148,"children":327},"User Login Flows","\u002Fdocs\u002Fcontribute\u002Fworkflows\u002Flogin",[],{"title":329,"path":330,"order":148,"children":331},"User Sign up Flow","\u002Fdocs\u002Fcontribute\u002Fworkflows\u002Fsignup",[],{"title":333,"path":334,"order":148,"children":335},"Team Broker","\u002Fdocs\u002Fcontribute\u002Fteam-broker",[],{"title":337,"path":338,"order":148,"children":339},"Working with Feature Flags","\u002Fdocs\u002Fcontribute\u002Ffeature-flags",[],{"title":341,"path":342,"order":148,"children":343},"device-agent","\u002Fdocs\u002Fdevice-agent",[344,348,351,355,359,364],{"title":345,"path":346,"order":39,"children":347},"FlowFuse Device Agent Introduction","\u002Fdocs\u002Fdevice-agent\u002Fintroduction",[],{"title":171,"path":349,"order":141,"children":350},"\u002Fdocs\u002Fdevice-agent\u002Fquickstart",[],{"title":352,"path":353,"order":138,"children":354},"Register your Remote Instance","\u002Fdocs\u002Fdevice-agent\u002Fregister",[],{"title":356,"path":357,"order":188,"children":358},"Running the Agent","\u002Fdocs\u002Fdevice-agent\u002Frunning",[],{"title":360,"path":361,"order":362,"children":363},"Deploying your Flows","\u002Fdocs\u002Fdevice-agent\u002Fdeploy",6,[],{"title":365,"path":366,"order":148,"children":367},"install","\u002Fdocs\u002Fdevice-agent\u002Finstall",[368,373,377,381,385],{"title":369,"path":370,"group":371,"order":39,"children":372},"Overview","\u002Fdocs\u002Fdevice-agent\u002Finstall\u002Foverview","DeviceAgentInstallation",[],{"title":374,"path":375,"group":371,"order":141,"children":376},"Device Agent Installer","\u002Fdocs\u002Fdevice-agent\u002Finstall\u002Fdevice-agent-installer",[],{"title":378,"path":379,"group":371,"order":145,"children":380},"Docker Install","\u002Fdocs\u002Fdevice-agent\u002Finstall\u002Fdocker",[],{"title":382,"path":383,"group":371,"order":138,"children":384},"Kubernetes Install","\u002Fdocs\u002Fdevice-agent\u002Finstall\u002Fkubernetes",[],{"title":386,"path":387,"group":371,"order":188,"children":388},"Manual Install with NPM","\u002Fdocs\u002Fdevice-agent\u002Finstall\u002Fmanual",[],{"title":390,"path":391,"order":148,"children":392},"hardware","\u002Fdocs\u002Fhardware",[393,396,400,404],{"title":369,"path":394,"order":39,"children":395},"\u002Fdocs\u002Fhardware\u002Fintroduction",[],{"title":397,"path":398,"order":141,"children":399},"ctrlX - Node-RED","\u002Fdocs\u002Fhardware\u002Fctrlx-node-red",[],{"title":401,"path":402,"order":145,"children":403},"ctrlX - Device Agent","\u002Fdocs\u002Fhardware\u002Fctrlx-device-agent",[],{"title":150,"path":153,"order":145,"children":405},[],{"title":365,"path":407,"order":148,"children":408},"\u002Fdocs\u002Finstall",[409,412,416,420,440,444,448,452],{"title":369,"path":410,"order":39,"children":411},"\u002Fdocs\u002Finstall\u002Fintroduction",[],{"title":413,"path":414,"order":148,"children":415},"Configuring FlowFuse","\u002Fdocs\u002Finstall\u002Fconfiguration",[],{"title":417,"path":418,"order":148,"children":419},"DNS Setup","\u002Fdocs\u002Finstall\u002Fdns-setup",[],{"title":421,"path":422,"order":148,"children":423},"Docker install","\u002Fdocs\u002Finstall\u002Fdocker",[424,428,432,436],{"title":425,"path":426,"order":148,"children":427},"Add Project Stacks on Docker","\u002Fdocs\u002Finstall\u002Fdocker\u002Fstacks",[],{"title":429,"path":430,"order":148,"children":431},"Docker Engine on Windows","\u002Fdocs\u002Finstall\u002Fdocker\u002Fwindows-docker-ce",[],{"title":433,"path":434,"order":148,"children":435},"Docker from AWS Market Place","\u002Fdocs\u002Finstall\u002Fdocker\u002Faws-marketplace",[],{"title":437,"path":438,"order":148,"children":439},"Docker on Digital Ocean","\u002Fdocs\u002Finstall\u002Fdocker\u002Fdigital-ocean",[],{"title":441,"path":442,"order":148,"children":443},"Email configuration","\u002Fdocs\u002Finstall\u002Femail-providers",[],{"title":445,"path":446,"order":148,"children":447},"First Run Setup","\u002Fdocs\u002Finstall\u002Ffirst-run",[],{"title":449,"path":450,"order":148,"children":451},"FlowFuse File Storage","\u002Fdocs\u002Finstall\u002Ffile-storage",[],{"title":453,"path":454,"order":148,"children":455},"Install FlowFuse on Kubernetes","\u002Fdocs\u002Finstall\u002Fkubernetes",[456,460,464,468,472,476],{"title":457,"path":458,"order":148,"children":459},"AWS EKS Installation","\u002Fdocs\u002Finstall\u002Fkubernetes\u002Faws",[],{"title":461,"path":462,"order":148,"children":463},"AWS EKS Installation with Terraform and Helm","\u002Fdocs\u002Finstall\u002Fkubernetes\u002Faws-terraform",[],{"title":465,"path":466,"order":148,"children":467},"Digital Ocean Kubernetes Installation","\u002Fdocs\u002Finstall\u002Fkubernetes\u002Fdigital-ocean",[],{"title":469,"path":470,"order":148,"children":471},"Ingress Controller Migration","\u002Fdocs\u002Finstall\u002Fkubernetes\u002Fingress-controller-migration",[],{"title":473,"path":474,"order":148,"children":475},"Kubernetes Project Stacks","\u002Fdocs\u002Finstall\u002Fkubernetes\u002Fstacks",[],{"title":477,"path":478,"order":148,"children":479},"OpenShift Installation","\u002Fdocs\u002Finstall\u002Fkubernetes\u002Fopenshift",[],{"title":481,"path":482,"order":148,"children":483},"migration","\u002Fdocs\u002Fmigration",[484,487],{"title":254,"path":485,"order":39,"children":486},"\u002Fdocs\u002Fmigration\u002Fintroduction",[],{"title":488,"path":489,"order":148,"children":490},"Node-RED Tools plugin","\u002Fdocs\u002Fmigration\u002Fnode-red-tools",[],{"title":492,"path":493,"order":148,"children":494},"user","\u002Fdocs\u002Fuser",[495,499,503,507,511,516,520,524,528,532,536,540,552,556,560,564,568,572,576,580,584,588,592,596,600,604,607,611],{"title":496,"path":497,"order":39,"children":498},"Getting Started","\u002Fdocs\u002Fuser\u002Fintroduction",[],{"title":500,"path":501,"order":39,"children":502},"Static asset service","\u002Fdocs\u002Fuser\u002Fstatic-asset-service",[],{"title":504,"path":505,"order":141,"children":506},"Bill of Materials","\u002Fdocs\u002Fuser\u002Fbill-of-materials",[],{"title":508,"path":509,"order":141,"children":510},"FlowFuse Concepts","\u002Fdocs\u002Fuser\u002Fconcepts",[],{"title":512,"path":513,"order":514,"children":515},"Instance States","\u002Fdocs\u002Fuser\u002Finstance-states",10,[],{"title":517,"path":518,"order":148,"children":519},"Changing the Stack","\u002Fdocs\u002Fuser\u002Fchangestack",[],{"title":521,"path":522,"order":148,"children":523},"Custom Hostnames","\u002Fdocs\u002Fuser\u002Fcustom-hostnames",[],{"title":525,"path":526,"order":148,"children":527},"Custom Node Packages","\u002Fdocs\u002Fuser\u002Fcustom-npm-packages",[],{"title":529,"path":530,"order":148,"children":531},"Dashboards","\u002Fdocs\u002Fuser\u002Fdashboards",[],{"title":533,"path":534,"order":148,"children":535},"DevOps Pipelines","\u002Fdocs\u002Fuser\u002Fdevops-pipelines",[],{"title":537,"path":538,"order":148,"children":539},"Environment Variables","\u002Fdocs\u002Fuser\u002Fenvvar",[],{"title":541,"path":542,"order":148,"children":543},"FlowFuse Expert","\u002Fdocs\u002Fuser\u002Fexpert",[544,548],{"title":545,"path":546,"order":148,"children":547},"AI in Node-RED","\u002Fdocs\u002Fuser\u002Fexpert\u002Fnode-red-embedded-ai",[],{"title":549,"path":550,"order":148,"children":551},"Chat Interface","\u002Fdocs\u002Fuser\u002Fexpert\u002Fchat",[],{"title":553,"path":554,"order":148,"children":555},"FlowFuse File Nodes","\u002Fdocs\u002Fuser\u002Ffilenodes",[],{"title":557,"path":558,"order":148,"children":559},"FlowFuse MQTT Nodes","\u002Fdocs\u002Fuser\u002Fmqtt-nodes",[],{"title":561,"path":562,"order":148,"children":563},"FlowFuse Persistent Context","\u002Fdocs\u002Fuser\u002Fpersistent-context",[],{"title":565,"path":566,"order":148,"children":567},"FlowFuse Project Nodes","\u002Fdocs\u002Fuser\u002Fprojectnodes",[],{"title":569,"path":570,"order":148,"children":571},"FlowFuse Tables","\u002Fdocs\u002Fuser\u002Fff-tables",[],{"title":573,"path":574,"order":148,"children":575},"Groups","\u002Fdocs\u002Fuser\u002Fdevice-groups",[],{"title":577,"path":578,"order":148,"children":579},"High Availability mode","\u002Fdocs\u002Fuser\u002Fhigh-availability",[],{"title":581,"path":582,"order":148,"children":583},"HTTP Access Tokens","\u002Fdocs\u002Fuser\u002Fhttp-access-tokens",[],{"title":585,"path":586,"order":148,"children":587},"Instance Settings","\u002Fdocs\u002Fuser\u002Finstance-settings",[],{"title":589,"path":590,"order":148,"children":591},"Logging","\u002Fdocs\u002Fuser\u002Flogs",[],{"title":593,"path":594,"order":148,"children":595},"Role-Based Access Control","\u002Fdocs\u002Fuser\u002Frole-based-access-control",[],{"title":597,"path":598,"order":148,"children":599},"Shared Team Library","\u002Fdocs\u002Fuser\u002Fshared-library",[],{"title":601,"path":602,"order":148,"children":603},"Snapshots","\u002Fdocs\u002Fuser\u002Fsnapshots",[],{"title":333,"path":605,"order":148,"children":606},"\u002Fdocs\u002Fuser\u002Fteambroker",[],{"title":608,"path":609,"order":148,"children":610},"Teams","\u002Fdocs\u002Fuser\u002Fteam",[],{"title":612,"path":613,"order":148,"children":614},"User Settings","\u002Fdocs\u002Fuser\u002Fuser-settings",[],1786546040720]