Device Variables

Understanding the MobiusFlow® balenaCloud Device Variables

balenaCloud devices are configured using Device Variables. When deploying MobiusFlow® to a balenaCloud fleet a number of Device Variables are created with default values. These are defined at the fleet level but can be overridden at the device level. More information about working with balenaCloud Device Variables can be found herearrow-up-right.

circle-info

For most devices the only Device Variables that require changing are listed below. The rest can be left at their default values.

  • MOBIUS_LICENCE

  • MOBIUS_HUB_ID

triangle-exclamation

MobiusFlow Device Variables

The image below shows the Device Variables created when MobiusFlow® is deployed to balenaCloud.

Expand the items below for detailed information on each Device Variable

chevron-rightMOBIUS_ENABLE_CONFIG_UIhashtag

Enable or disable the MobiusFlow® configuration user interface

Possible Values: (default shown in bold)

  • true - Enable the configuration user interface

  • false - Disable the configuration user interface

chevron-rightMOBIUS_ENGINE_API_AUTH_PROVIDERhashtag

Select which authentication provider to use for the Engine Rest API.

Possible Values: (default shown in bold)

  • local - Use the local user database

chevron-rightMOBIUS_ENGINE_API_PORThashtag

The Engine Rest API port

Possible Values: (default shown in bold)

  • 8443

chevron-rightMOBIUS_HUB_IDhashtag

The HUB ID used by this MobiusFlow® instance

Possible Values: (default shown in bold)

  • 000001 - Can be any six digit hex number

chevron-rightMOBIUS_HUB_RESET_PSKShashtag

Reset all MobiusFlow® Service pre-shared keys on startup

Possible Values: (default shown in bold)

  • true - reset the pre-shared keys on startup

  • false - do not reset the pre-shared keys on startup

chevron-rightMOBIUS_LICENCEhashtag

The MobiusFlow® licence code for this device

Possible Values: a valid licence code

chevron-rightMOBIUS_LICENCE_RENEWhashtag

Change the MobiusFlow® licence code. Set this to true when replacing an licence code

Possible Values: (default shown in bold)

  • true - Change the licence code

  • false - Use existing licence code

chevron-rightMOBIUS_LOCAL_TIMEOUThashtag

The maximum time in milliseconds that any MobiusFlow® Service will wait for a response to a MobiusFlow® message

Possible Values: (default shown in bold)

  • 10000 - any number greater than 1000

chevron-rightMOBIUS_LOG_SERVICE_STATUShashtag

Log changes of MobiusFlow® Services status to the standard logs

Possible Values: (default shown in bold)

  • true - log the service status changes to the standard logs

  • false - do not log the service statis changes to the standard logs

Last updated

Was this helpful?