- docs
- FlowFuse User Manuals
- Using FlowFuse
- Getting Started
- Static asset service
- Bill of Materials
- FlowFuse Concepts
- Changing the Stack
- Custom Hostnames
- Device Groups
- DevOps Pipelines
- Environment Variables
- FlowFuse Assistant
- FlowFuse File Nodes
- FlowFuse Persistent Context
- FlowFuse Project Nodes
- High Availability mode
- HTTP Access Tokens
- Instance Settings
- Logging
- Shared Team Library
- Snapshots
- Team Broker
- Teams
- User Settings
- FlowFuse API
- Migrating a Node-RED project to FlowFuse
- Device Agent
- Device Agent
- FlowFuse Device Agent Introduction
- Quick Start
- Installation
- Quick Start with Web UI
- Register your Device
- Running the Agent
- Deploying your Flows
- Hardware Guides
- FlowFuse Cloud
- FlowFuse Cloud
- FlowFuse Self-Hosted
- Quick Start
- Installing FlowFuse
- Overview
- Configuring FlowFuse
- DNS Setup
- Docker install
- Docker from AWS Market Place
- Docker on Digital Ocean
- Add Project Stacks on Docker
- Docker Engine on Windows
- Email configuration
- First Run Setup
- FlowFuse File Storage
- Install FlowFuse on Kubernetes
- Upgrading FlowFuse
- Administering FlowFuse
- Administering FlowFuse
- Configuring Single Sign-On (SSO)
- Licensing
- Monitoring
- Telemetry
- User Management
- Support
- Community Support
- Premium Support
- Debugging Node-RED issues
- Contributing
- Contributing to FlowFuse
- Introduction
- Adding Template Settings
- API Design
- Creating debug stack containers
- Database migrations
- FlowFuse Architecture
- Local Install
- State Flows
- Device Editor
- Invite External Users
- User Login Flows
- Reset Password Flow
- Project Creation
- Instance states
- User Sign up Flow
- Team creation Flow
- Working with Feature Flags
# Device Groups
Navigation: Team > Application > Device Groups
When managing many devices that are intended to run the same snapshot, Device Groups allow you to organise your devices into logical groups. These groups can then be set as the target of a DevOps Pipelines.
Furthermore:
- Devices added to an active Device Group will automatically be updated to the active pipeline snapshot
- Devices removed from an active Device Group will have their active pipeline snapshot cleared More details are provided below in Adding a Device to a group and Removing a Device from a group
- Device Groups can have Environment Variables set at the group level. These are merged with the Environment Variables set in each member device. The following rules apply:
- Values set in the Device take precedence over values set in the Device Group.
- Removing a device from the group will remove these variables from the device.
- The devices environment variables are never modified, they are only merged at runtime.
- Updating these environment variables will cause devices in the group to be restarted when a change is detected
This greatly simplifies deployments of the same configuration to one or even hundreds of devices with a single click.
The following requirements apply:
- FlowFuse 1.15+ Enterprise Tier
- FlowFuse Cloud teams on the Enterprise tier
- FlowFuse 2.10+ is require for Group Environment Variables
# Creating a Device Group
- Select the Application you want to configure a Device Group for.
- Select the "Device Groups" tab
- Click "Add Device Group"
- Name your Device Group appropriately (this can be changed later)
- Click "Create"
Note: Adding a description can help you better distinguish device groups.
# Updating Device Group Membership
- In the Device Groups table, click the Device Group you want to modify
- Click "Edit"
- On the left, you will be shown available devices (ones that are assigned to your application and are available to be added to a device group)
- On the right, you will be shown devices that are already in the device group
- Place a checkmark next to the devices in the Available Devices list that you want to add to the Device Group then click "Add Devices"
- Place a checkmark next to the devices in the Device Group list that you want to remove then click "Remove Devices"
- Click "Save"
- You will be prompted to confirm your changes
- Refer to the below information for more details about what happens when you add or remove devices from a device group
- Click "Confirm" to continue or "Cancel" to abort
Note: If you make a mistake, you can cancel your changes at any time by clicking "Cancel" Note: When a device you want to add to a group doesn't appear in the list, it's likely already assigned to another group.
# Adding a Device to a group which has an active pipeline snapshot
When a pipeline stage is operated and it deploys to a device group, that device group remembers the snapshot that was deployed.
Subsequently, if you add a device to a group, it will be instructed to update to the active snapshot.
# Removing a Device from a group which has an active pipeline snapshot
When a pipeline stage is operated and it deploys to a device group, that device group remembers the snapshot that was deployed.
Subsequently, if you remove a device from a group and the device is running the active pipeline snapshot, the device snapshot will be cleared, effectively resetting the device to a blank state.
# Removing the snapshot from a device group
Under the settings of a device group, you can remove the target snapshot. This will also clear the snapshot of all devices in the group.