{"id":16883399,"url":"https://github.com/hardillb/ff-device-balena","last_synced_at":"2025-06-17T05:02:21.576Z","repository":{"id":207550921,"uuid":"719525009","full_name":"hardillb/ff-device-balena","owner":"hardillb","description":"Deploy FlowFuse Device Agent with Balena","archived":false,"fork":false,"pushed_at":"2023-11-19T21:11:39.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-17T05:01:55.245Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hardillb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-16T11:00:19.000Z","updated_at":"2024-01-25T18:23:38.000Z","dependencies_parsed_at":"2024-10-13T16:11:38.698Z","dependency_job_id":"bf86b1f2-f91b-4cc4-a31b-026dcb09a160","html_url":"https://github.com/hardillb/ff-device-balena","commit_stats":null,"previous_names":["hardillb/ff-device-balena"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hardillb/ff-device-balena","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fff-device-balena","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fff-device-balena/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fff-device-balena/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fff-device-balena/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hardillb","download_url":"https://codeload.github.com/hardillb/ff-device-balena/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardillb%2Fff-device-balena/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260294442,"owners_count":22987620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T16:11:34.360Z","updated_at":"2025-06-17T05:02:21.354Z","avatar_url":"https://github.com/hardillb.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deploy Flowfuse Device Agent with Balena\n\n[![balena deploy button](https://www.balena.io/deploy.svg)](https://dashboard.balena-cloud.com/deploy?repoUrl=https://github.com/hardillb/ff-device-balena)\n\nThe documentation for the FlowFuse Device Agent can be found [here](https://flowfuse.com/docs/device-agent/introduction/)\n\n## Configure\n\nThe FlowFuse Device Agent can be configured in 3 ways:\n\n 1. If started with no configuration file the Device Agent will start a Web Server that will allow a `device.yml` file to be uploaded locally to the Device. The `device.yml` is provided by the FlowFuse platform when the device is created.\n 2. A `device.yml` file provided when the Device is created in the FlowFuse platform. This file can be injected into the Belena devcie using the `FF_DEVICE_YML` environment variable (see below)\n 3. A group of Devices can be give a `device.yml` that contains a Provisionig Token. This will cause the Device to connect to the FlowFuse platform and register a new device, it will then download it's own unique `device.yml` file. The Provisioning token can be passed to the Belena device using the `FF_DEVICE_YML` environment variable (see below). Provisioning tokens are created on the Team -\u003e Settings page, under the Device's tab.\n    When using a Provisioning Token the Belena Device name will match the FlowFuse Device name.\n\n### Passing configuration via Environment variable\n\nDownload either a Device configuration file or a Provisioning token and then Base64 encode this (with no line breaks) using the following command:\n\n```\nbase64 -w 0 device.yml\n```\n\nIn the Balena Fleet config set a Variable called `FF_DEVICE_YML` to the output of the base64 command.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardillb%2Fff-device-balena","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhardillb%2Fff-device-balena","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardillb%2Fff-device-balena/lists"}