Skip to content

Conversation

ppawlowski
Copy link
Contributor

Description

This pull request extends the Device Agent Installer by adding a possibility to configure the port on which the Device Agent installed via the Installer will listen once started.

Related Issue(s)

Closes #405

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

  • Includes a DB migration? -> add the area:migration label

…CreateWorkingDirectory functions; set directory permissions windows
…' of github.com:FlowFuse/device-agent into feat-dai-custom-workdir
…oth installer and device config files in `validate` package
@ppawlowski ppawlowski requested a review from hardillb September 1, 2025 08:36
@ppawlowski ppawlowski requested a review from Steve-Mcl September 1, 2025 08:36
Base automatically changed from feat-dai-custom-workdir to main September 1, 2025 08:39
@Steve-Mcl
Copy link
Contributor

@ppawlowski is it worth me reviewing this while there are unresolved conflicts?

@ppawlowski
Copy link
Contributor Author

@ppawlowski is it worth me reviewing this while there are unresolved conflicts?

Conflicts have been resolved.

Copy link
Contributor

@Steve-Mcl Steve-Mcl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well for windows - even supports multiple installations on Windows (labels as "Service Name (port-no)")

A quick test on a WSL instance (arm64 linux). Service file was created with port number e.g. flowfuse-device-agent-1881.service

Nice.

@ppawlowski ppawlowski merged commit ba3b627 into main Sep 5, 2025
7 checks passed
@ppawlowski ppawlowski deleted the feat-dai-custom-port branch September 5, 2025 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Installer: add possibility to run device agent on custom port

3 participants