Please check in our documentation the guides to setup Lumeo Gateways for the configuration you desire - cloud, on-prem servers, or edge devices.
This repository is now read-only.
Currently only supports Jetson Xavier NX
First, setup the following Fleet-wide or Device variables in Balena cloud:
LUMEO_APP_ID=<your Lumeo workspace app id>
LUMEO_API_KEY=<api key for your Lumeo workspace>
This will enable containers that you push to your fleet to automatically register in this workspace.
Include this snippet in your docker-compose.yml file:
volumes:
lumeo-data:
services:
lumeo:
image: bh.cr/lumeo/lumeo-gateway-block
network_mode: 'host'
privileged: true
volumes:
- 'lumeo-data:/var/lib/lumeo'
labels:
io.balena.features.balena-socket: '1'
To pin to a specific version of this block use:
volumes:
lumeo-data:
lumeo:
image: bh.cr/lumeo/lumeo-gateway-block/<version>
network_mode: 'host'
privileged: true
volumes:
- 'lumeo-data:/var/lib/lumeo'
labels:
io.balena.features.balena-socket: '1'
When you use this block in your application, be sure to log into your hardware device and set max perf mode :
$ balena ssh <device-uuid>
# NVP Mode 8 sets Jetson NX to 20W, 6 core (max perf).
$ nvpmodel -m 8