MobiusFlow® connects, controls and communicates with 1000s of sensors and control devices to provide actionable insights and automated responses. Developed and successfully deployed with many projects over the past 17 years by engineers with first-hand experience in project management and installation such as CBRE, Ingram Micro, TD Synnex and IBM.
Whether you are looking for a full walkthrough or just dipping in to get more information about a single topic, our documentation site is the perfect companion to the training courses on our main site.
3️⃣
We have rebuilt MobiusFlow from the ground up. MobiusFlow V3 has a bunch of new features and enhancements improving both performance and adding improvements to data handling, searching and customisation.
This section is dedicated to guides and technical knowhow related to version 3.
To help you become a MobiusFlow Ninja, look out for our 💥 Interactive Demos in the MobiusFlow 3 articles.
📖 User Guides
The user guides are instructional walkthroughs. Follow these guides from start to finish or jump to a section to learn how to perform specific tasks.
⚙️ Technical Docs
Looking for more detailed technical information? These articles dive deeper into the more technical aspects of MobiusFlow®, from Architecture to API details, ports, protocols, configuring services creating flows, and more.
Our documentation is always improving and we are adding new articles each week, so come back often to see whats new.
We need your help to improve. Please rate the articles and raise support tickets to tell us where we can improve, what articles are missing, and point out any errors.
MobiusFlow® connects, controls and communicates with 1000s of sensors and control devices to provide actionable insights and automated responses. Developed and successfully deployed with many projects over the past 17 years by engineers with first-hand experience in project management and installation such as CBRE, Ingram Micro, TD Synnex and IBM.
MobiusFlow Engine Agent
This feature is coming soon.
Adding Objects to a Service
What's New?
Welcome to MobiusFlow re-imagined...
MobiusFlow V3 has been built from the ground up. We have listened to your feedback and added a host of new features to make MobiusFlow even more powerful and easier to use.
Tagging, we added it, custom object profiles, there too, and to make you even more productive we have added the ability for you to write your own data pre-processors and codecs. We are excite about these new features and are sure you will be too!
Engine and
Both the MobiusFlow Engine (the heart of MobiusFlow) and MobiusFlow Toolbox have been completely rewritten to be more efficient and easier to use.
Object profiles define the shape and properties of MobiusFlow objects. Before version 3 object profiles were built into each release and could not be easily created or modified by users.
Version 3 has redefined how object profiles work. Object profiles can now be freely created by users in a simple editor. In fact each new instance of MobiusFlow has no object profiles defined. Instead we have taken all of the object profiles from version 2 (and a bunch of new ones) and created object profile templates.
Object profiles can be created from scratch, from templates, or from any profile that you have already created and then customised to your application. This gives users full flexibility without adding complexity as new objects can also be added directly from templates and MobiusFlow will automatically create the profile for you.
Object profiles (along with their preprocessors, codecs and UI layouts) can be exported and imported allowing you to create your own library of profiles to be used on other projects.
Have you ever needed to modify data before it is written to a resource? Have you wanted to change from °C to °F on the fly as new data arrives? Was totalising energy readings from meters difficult?
Not any more as preprocessor functions will do that for you!
Each object profile can have a preprocessor function written in Typescript or Javascript which allow you to do just that, you can even write it directly in a built in IDE in MobiusFlow Toolbox.
Codecs make adding new decoders for raw sensor data a breeze. Instead of waiting for us to add new decoders for sensors like EnOcean, LoRaWAN, or Ingy, you can create an object profile and define the codec to decode the raw sensor telegram. As with preprocessors, these codecs can be written in Typescript or Javascript using the built in IDE.
Capturing default values such as sensor IDs when configuring objects is simplified by adding your own configuration UI in a simple JSON format.
The data stored in MobiusFlow objects can now be persisted between restarts of a service. No longer will temperate values drop to zero, people counts be lost, and energy readings disappear when services are restarted! Persistence can be configured on a service by service basis and values are included in backups
Powerful tagging features have been added to both objects and resources. Tags can be defined on object profiles so that they are automatically added to each instance of an object, and added to individual object instances.
You can use simple tags or add values to tags. Tags are included as metadata when reading values or receiving change-of-value events via the new API.
What can I do with Preprocessors and how do you create them?
Preprocessors are run every time a new value is written to a resource. They are used to modify the value before it is written e.g. change from °C to °F, or update another resource e.g. update a message counter
Object Profiles
Creating and using object profiles
Object Profiles describe the shape of Objects i.e. what properties (resources) an objects has, the data type of each property (resource), and metadata describing the object and it properties.
MobiusFlow object properties are called resources. A resource holds a single value associated with an object.
E.g. an air quality sensor object may have separate resources for temperature, humidity, and CO2 level.
Before creating objects you must first define an object profile. Profiles can be created from scratch, or based on a predefined template or existing object profile.
It is possible to directly from a template. The object profile will be created for you.
Profile IDs (PIDs)
All object profiles must have a unique profile ID or PID. This is a four digit hexadecimal number and can be any value from 0200 to FFFF as long as a profile with that PID does not already exist. The PID will form part of an object's URI identifying the object's type, and can be used when subscribing to object or resource COVs to filter by object type.
Once an object profile has been created its PID cannot be changed.
Resources
All live data in MobiusFlow is stored in object resources. Each resource stores a single simple value of a specific type. These types include
When writing a value to a resource it should always be of the correct type although values will be coerced to the correct type if possible.
In addition to setting the data type for a resource you can also define some settings for each resource. These settings will depend on the type e.g. a string resource will have a setting for the maximum length and a number resource will have settings for the maximum and minimum value that can be stored.
For each object profile you can also define a , , and .
enum
An enumerated value e.g. LARGE | MEDIUM | SMALL
bool
Boolean value (true or false)
string
Text string value
number
Numeric floating point or integer value
datetime
A date and time value in ISO format e.g. 2025-11-23T18:56:08.175Z
These values are always in the UTC time zone as indicated by the Z
See 'Zulu Time'
Codec
Codecs are used to encode and decode raw telegrams from sensors and data sources
Preprocessor
Preprocessors are run every time a new value is written to a resource. They are used to modify the value before it is written e.g. change from °C to °F, or update another resource e.g. update a message counter
UI Layout
Define additional inputs on an object's settings page and map these inputs to resources to set default values. UI Layouts are often used to capture things like sensor ID when configuring objects
Value persistence ensures that objects keep their values between restarts.
In MobiusFlow versions before v3 any restart would cause all resources to be reset to their default values. This would often cause anomalies or loss of data such as all temperature values dropping to zero, meter readings being lost or people counts resetting.
MobiusFlow 3 has solved this problem by adding optional value persistence. This can be configured on a service by service basis in the service settings. To access a service's settings follow the instructions here.
When a service starts it first creates all objects with their default values and then applies any persisted values before running.
Enabling / Disabling Persistence
You can enable or disable persistence on each service. Changing the persistence enabled state will affect all objects belonging to that service.
If you wish to have persistence enabled only for some objects consider adding another service and splitting your objects between services, one with persistence and one without
You can enable or disable persistence by clicking on the Enable Persistence switch in the service's settings.
Disabling persistence will also delete any persisted values. If you need to reset the persisted values you can disable and then re-enable persistence.
In order to lower CPU load values are only persisted at regular intervals and not on every value change. You can set this interval (in minutes) in the service's settings. Try to find a reasonable balance between saving the current values and load on the system. The more objects a service has, the greater the CPU load required to persist the values.
Services have persistence enabled with an interval of 5 minutes by default.
If persistence is not required consider switching it off as it will add some CPU load.
Setting the Persistence Interval
In addition to persisting values at a regular interval, values are also persisted when you manually stop a service.
Default Settings
💥 Interactive Demo
System Services
System Services are required my MobiusFlow to function correctly. Examples include the Engine API and Historian services.
MobiusFlow Engine API
The MobiusFlow Engine API service is a RESTful API used by MobiusFlow Toolbox, Flows, and user applications to both configure an instance of MobiusFlow and read and write data to MobiusFlow objects.
It is not possible to configure or stop this service from MobiusFlow Toolbox as this would prevent Toolbox from communicating with the MobiusFlow Engine.
MobiusFlow Historian is a time-series database for storing data generated and collected by MobiusFlow. This time-series data can then be used my MobiusFlow View to create dashboards or by external applications for data analytics and artificial intelligence.
The MobiusFlow Historian service pushes data whenever it changes to a MobiusFlow Historian database. More information can be found here.
MobiusFlow Uniform Resource Identifiers (URIs)
Within a MobiusFlow system all hubs, services, objects and resources are identified by a unique address known as a Uniform Resource Identifier or URI. These URIs are hierarchical so given the URI for a Mobius resource it is possible to identify which object the resource belongs to, what the object type is, which service the object belongs to and which Mobius node the service is running on.
Mobius URI Definition
An object’s URI (or name) is defined in 4 parts, namely the hub ID (HID), service ID (SID), object profile ID (PID) and instance number (INS). A fifth part is added when accessing a specific resource, the resource ID (RID).
Each part of an object’s URI is a uppercase string of a defined length (as shown in the table below). The URI’s parts are separated with a forward slash (/).
A full URI is typically defined as HID/SID/PID/INS/RID.
It is possible to address any part of the system by only using the required parts of the URI. e.g. to address a service only the first two parts of the URI are used HID/SID and to address an object only the first four parts are used HID/SID/PID/INS.
An example of an object URI for an object of instance 1, profile 3A, created by service 1F connected to hub 1 is:
000001/01F/003A/0001
and if addressing resource 40 on that object the full URI would be:
000001/01F/003A/0001/40
Under certain conditions, such as subscribing to a resource’s change of value event, it is possible to use wildcards in the URI. These wildcards are described in the table below and follow the MQTT standard.
SID
3
01F
The microservice ID. This must be unique for all services on a single node.
PID
4
003A
The object's profile ID. This describes the objects type. Object profiles determine what resources an object has available.
INS
4
0001
The object's instance number. This is unique for each object of a specific type belonging to a service.
RID
2
40
The resource ID
000001/01F/#
URI Section
Length
Example
Description
HID
6
000001
The Mobius Hub or node ID. This should be unique within a MobiusFlow system.
Any value in this location and all subsequent locations
Flows
Deploying MobiusFlow in MobiusFlow Cloud
For most use cases, Deploying MobiusFlow in the MobiusFlow Cloud is simplest and most cost effective hosting option.
Customers can create new MobiusFlow instances themselves using the MobiusFlow manager platform. A full guide on how to use this platform can be found here.
MobiusFlow a hosting fee for hosting instances in the MobiusFlow cloud. As such, purchaser permissions are required.
When creating a new MobiusFlow instance using manager ensure the Host instance on MobiusFlow Cloud option is checked:
MobiusFlow manager Instance creation wizard
If this option is not available, this is because you do not have purchaser permissions within this fleet.
On creation, there are several options that must be populated:
Hostname
This is the URL the new MobiusFlow cloud instance will be hosted on. In the above example, Manager has automatically suggested average-pug-2488. As such, new Cloud instance will be accessible at the URL average-pug-2488.mobiusflow.io.
Build Type
This selects the version of MobiusFlow to use. If use for the MobiusFlow LoRaWAN LNS is required, ensure the MobiusFlow V2 with LoRaWAN Stack option is selected.
This specifies the region of the world the new Cloud instance is to be hosted on. It is recommended to host the instance as near to where it will be used as possible.\
Once a MobiusFlow Cloud hosted instance as online, an Environment is created, in-turn controlling how the instance can communicate with the outside world. A full article on this environment can be found .
MCP Server
Details of the Historian MCP Server for use with AI LLMs / Agents
The historian MCP is hosted as part of the Historian Data API on the following endpoint:
Please note that the server does not support connection via the deprecated STDIO standard.
Authentication works in the same way as all calls in the Historian Data API. You must include x-api-key as a header:
Keys can be managed via the MobiusFlow View application.
All tools are exposed when connecting to the MCP server. Currently available tools include:
Repository of Technical Training walkthrough guides
get-closest-matching-object-by-name
get-telemetry-for-mulitple-series
get-profiles
Input formats for all tools can be obtained by connecting to the MCP server.
Documentation for output formats is coming soon, however is not normally required for agentic application.
/api/historian/v3/mcp
Authentication
Tools
x-api-key: YOUR_KEY
MobiusFlow Overview
The MobiusFlow software has been developed as an MQTT object bus which normalises all device data into standardised MobiusFlow objects which allow interoperability between all devices either real or virtual in the field or Cloud.
MobiusFlow enables actuators, sensors & controllers to connect, control and communicate with each other and to the Cloud so that IoT solutions using scalable monitoring, visualisation and predictive analytics can provide valuable insights into your business and act upon them automatically.
A complete control and communications platform
Microservice based architecture
Secure, open protocol based on MQTT
Scalable to 1000s of devices
Platform and language independent
Does not depend on a network connection for local control
Provides full discovery of nodes, objects and resources in all directions
Pub / Sub change of value notifications
All sensor and actuator data is normalised from any source such as / / / / LoRaWAN / Analog / Digital etc.
MobiusFlow has been designed from the ground up as a micro service based design with a simple but common set of API commands. All communication between micro services is performed using the MQTT protocol, ensuring that micro services can be written in any programming language and will run on any device capable of TCP/IP network communications. The only requirement for any MobiusFlow system is that it contains at least one Node. This Node consists of a MobiusFlow Hub which initiates and facilitates communication between micro services in a secure way. Micro services can run on the same device as the Hub, or on another device such as a temperature sensor, connected to the Hub via a connection capable of transmitting via TCP/IP (provision has been made for future expansion, by adding translation services, to allow micro services to communicate with the Hub over any transmission medium capable to transmitting binary data).
Each Node is typically a stand-alone island which does not require any connection to any other device in order to perform local control. Nodes can be connected together via secure MobiusFlow Routers allowing the creation of a network of interconnected Nodes. When used in this configuration, Nodes can share data with each other and influence the control algorithms running on any connected Node.
Vanilla MQTT has some limitations in its usefulness as a peer to peer messaging and control protocol. It is based around the Publish / Subscribe pattern which is ideal where multiple devices are sending data to a single end point for logging etc. MQTT can be used where devices or services need to have a two way peer to peer flow of communication but the different services need to be aware of each other at design time. MobiusFlow defines a protocol layer above MQTT which enables discovery of devices and services at runtime and then allows two way peer to peer communication to take place, ensuring that new devices and services can be added at any time without having any design time knowledge of the other devices and services in a system.
Getting Started with Toolbox
MobiusFlow Toolbox supports the latest versions of most modern web browsers. We recommend the following:
Google Chrome
Firefox
Safari
Via Engine API (REST)
This demo uses to exemplify use of this API.
To follow this ensure you download the relevant Postman Collection .
Open your web browser and navigate to your MobiusFlow Toolbox instance. This is typically a fully qualified domain name followed by /toolbox
The first time you login you must use the initial administrator credentials supplied to you. You can change the default admin password and create new users once you are logged in.
Supported Browsers
MobiusFlow Toolbox requires Javascript to be enabled on your browser
Logging In
The exact URL will depend our your installation, but for instances hosted in the cloud by MobiusFlow the URL will have been provided or you will have chosen it when creating a hosted instance in MobiusFlow Manager
Make sure to change your default admin user password or create a new account and delete the default admin account as soon as possible!
To delete a service, first click on Services in the main menu and then find the correct service card.
In the service card toolbar click on the Delete button. A confirmation dialog will appear. Enter the text shown (you can click on the copy icon to save typing) and click Confirm.
Via Historian WebSocket
This demo uses to exemplify use of this WebSocket.
Page
Overview
Deleting a service also deletes all of its objects. This action cannot be undone!
This demo uses Postman to exemplify use of this API.
To follow this ensure you download the relevant Postman Collection here.
💥 Interactive Demo
Adding Services
Adding services to a MobiusFlow instance
Overview
As each application differs you will need to chose which services are required for your application.
To add a service, first click on Services in the main menu and then click on the Show Library button to show the list of available services, find the service you want to add, and click on the Add button for that service.
The service will get added to the configuration with the next available Service ID (SID)
You can click on the Hide Library button to hide the service library when you are done.
💥 Interactive Demo
Service and Object Configuration
For MobiusFlow 1.x.x only
The configuration page is used to create and configure the MobiusFlow configuration for a Mobius node (see ). The page is split into five main sections:
The main menu
The services palette
MobiusFlow Manager
MobiusFlow Manager is the management platform MobiusFlow customers can use to the self-manage their MobiusFlow instances.
The full MobiusFlow Manager training course can be .
Cloning Services
Learn how to clone a service and all of it objects
To create a copy of a service along with all of its settings and objects you can click on the Clone button on the service card of the service you want to copy. The new service will be given the next available . You can change the SID in the service's settings if required.
Configuring MobiusFlow for use with Connectors
Configure a MobiusFlow instance for connectors
Configuring MobiusFlow for use with Connectors uses the MobiusFlow Connectors service. A full guide on how to use this service can be found .
The main menu is displayed on all pages. It allows switching between Configuration, Diagnostics, Node-RED Flows and Administration. The Administration option is only shown for users who have admin privileges.
The services palette shows the list of Mobius services that can be added to the configuration. To add a service to your configuration drag it from the services palette and drop it on to the configuration tree.
The objects palette shows the list of Mobius objects that can be added to the configuration. To add an object to your configuration drag it from the objects palette and drop it on to a service in the configuration tree.
The configuration tree shows the services and objects currently added to the configuration. Clicking on the triangles on the left of the tree either expands or contracts a branch of the tree. The currently selected item is shown as highlighted in orange.
To delete a service or object, hover over the item and click on the dustbin icon which appears to the right of the item.
Deleting a service deletes all associated objects
This section is dynamic and updates depending on which item has been selected in the configuration tree. If a service has been selected the service's configuration properties are displayed. Similarly, selecting an object or object resource shows the relevant configuration options.
Always click the Save Changes button to persist changes to a service, object or resource configuration. Any changes to a service, object or resource only become active after the service has been restarted on the diagnostics page.
After signing up to balenaCloud follow their instructions to create a fleet and add your first device. We have simplified the process so you will only need to perform some of the actions they list. The steps below outline the process but for more information see the balena.io documentation.
What You Will Need?
This guide assumes you will be using a Raspberry Pi 4. The instructions are the same for the UP and Intel NUC devices with the exception of loading the initial balenaOS onto your device.
A balenaCloud account with Microservices access (this requires a paid account)
Creating a New Fleet
A fleet is a collection of devices with the same device type (or architecture). Fleets allow simple management of a group of devices
To create a new profile open the Object Profiles page, make sure that the sidebar is closed, and click on the Create button. This will open the Create Object Profile wizard.
To close a sidebar click on the X button in the sidebar toolbar
The wizard will have three starting point options. Selecting one of the options will change the steps required to complete the wizard.
A Blank Profile
Start from scratch
If you choose to start with a blank profile and click Next, you will jump to the last step which is Finalise Settings
Choosing to start from a template or existing profile and clicking Next will require you to select either a template or existing profile. These are shown in a table, which can be filtered. Select one of the rows before clicking on Next to view the last Finalise Settings step.
Depending on your starting point, the Finalise Settings form will be blank or have some fields pre-populated by the template or existing profile.
Fill in all required fields and optionally add a description and before clicking on Create Profile.
A unique profile ID as a four digit hexadecimal number from 0200 to FFFF.
The group is used by MobiusFlow toolbox to aid in filtering the object profiles. You can select from an existing group or type in a new group name.
The profile name is used to help identify this profile. It normally starts with a lower case letter and does not contain spaces, but can containg underscores and dashes.
The user interface name is a human readable name normally used by MobiusFlow View to make selecting profiles easier for non-technical users.
Deploying MobiusFlow to approved Hardware (Using BalenaCloud)
Deploy MobiusFlow or MobiusFlow RPI Connector software to a new balenaCloud device or update existing devices
BalenaCloud is a small device fleet management platform which simplifies the process of managing and maintaining 1000s of edge devices. It allows secure remote access and monitoring of each device and installing and updating product firmware of an entire fleet with a few simple clicks. See for more information.
We currently have software images for thee different device types for balenaCloud. These are:
The MobiusFlow RPI Connector works with the following Raspberry Pi types:
Postman Collection
Here is a downloadable Postman Collection for this API:
If you are ready to get started, jump into the Creating a Fleet section to begin creating your first fully managed MobiusFlow® device on balenaCloud.
You must be signed up to balena.io and have a paid plan as these MobiusFlow® images use the Microservices fleet type which is only available on a paid plan
We reccomend at least 1Gb of RAM and 8Gb of storage for all devices
If you have a requirement for a different device type on balenaCloud contact us at via the or submit a support ticket by clicking on the support link above
Profile Template
Use an existing profile template as the starting point
Existing Profile
Use an existing profile as the starting point
Start From a Blank Profile
Start From Profile Template or Existing Profile
The Codec, preprocessor, UI layout, and all resources defined in the template or existing profile, along with their settings will also be added to the profile when it is created
All MobiusFlow® instances require a valid licence to run. Licences define the maximum number of MobiusFlow® objects that you can add to an instance. For more information about MobiusFlow® licences refer to the page.
A valid MobiusFlow® licence (licences can only be used on one device)
Licences are added to balenaCloud devices by setting a device variable. All required device variables are created automatically when you deploy MobiusFlow® to a fleet. For more information see .
Navigate to your
Diagnostics and Service Control
For MobiusFlow 1.x.x only
The service diagnostics and control page shows all of the configured services, their current status and controls to start and stop services.
The Run State column (2) shows the current run state of the services in a traffic light. The colours are defined as follows:
Grey - Not running, never started
Red - Not running, manually stopped
About Page
Get connector details and update firmware
The about page shows you information about the connector. You can also update the connector's firmware by clicking on the Update Firmware button
Click on the Update Firmware button on the About page
Click on Choose File and select the firmware file you want to upload
Click on the Update button
After a few minutes the connector will reboot and start running the new firmware
MobiusFlow Toolbox
Please see main MobiusFlow toolbox section . There are many Interactive Demos in these articles breaking down the fundamentals of MobiusFlow toolbox into bitesize chunks. Look out for the tag 💥 Interactive Demo to follow these.
Make sure that you choose firmware with the same model number as your connector!
About page
Update firmware page
MobiusFlow Toolbox is a browser-based engineering tool enabling users to easily configure and monitor an instance of MobiusFlow
Amber - Starting or attempting to start
Green - Running
The Actions column (3) has start / stop buttons for each service. Services can be manually started or stopped by clicking on the action buttons.
These action buttons do not modify the value of the Run on Start checkbox on the services configuration page.
The service status column (4) shows the current status of all running services. In addition to a text message, the statuses are colour coded as follows:
Amber - starting or status unknown
Red - service is running but in fault (see text message for details)
Green - service is running and not in fault
The values shown in the Service Status column are tied to the service status object associated with the service. These status objects are automatically created and updated by the services as object profile ID 0001 with instance 0001. You can read the status of these objects but should not write to them.
The View Objects column (5) are hot-links to the Objects Diagnostics page, but filtered to only show objects belonging the the relevant service.
The Objects diagnostics page can be shown by clicking on the Objects button on the left of the screen (section 1 in image below) or by clicking on the View Objects hot-link described above. To view all objects belonging to all services use the Objects button (section 1 in image below).
Clicking on the plus sign (3) next to an object expands it to show all of its resources and their current values (2).
It is possible to manually modify a resource's value by writing to, or clearing a value in its priority array (see MobiusFlow Architecture). Click on a resource to display its full priority array. Click on a priority to modify its value or clear it.
Resource value modifications are temporary and could be overwritten by a service or Node-RED flow, and do not persist between service restarts or node reboots.
Service diagnostics and control
Run state column
Actions column
Service status column
View objects column
Object and resource diagnostics
Modifying a resource value
MobiusFlow Raspberry Pi Connector
and login in
Navigate to the correct fleet and device
Select the Device Variables page. You will see a list of all of the device's variables with override buttons next to each variable
Device Variables for a device
Click the override button next to the MOBIUS_LICENCE variable
In the popup delete the text <replace with your licence code> andenter your licence code
Leave all other settings as their default values and click the Add button
Add a licence code
Your licence code will be shown in the Device Variables list (see Device Variables for more information on all of the device variables shown in this list)
MobiusFlow® will restart to install the licence
Licence entered
Under some circumstances it may be necessary to enter a new licence code. In order to make the new licence code work follow the procedure above to enter a new code
You will also need to tell MobiusFlow® to renew its licence by setting the Device Variable MOBIUS_LICENCE_RENEW to true
Click the override button next to the MOBIUS_LICENCE_RENEW variable
In the popup change the value from false to true
Leave all other settings as their default values and click the Add button
Wait for MobiusFlow® to restart, confirm that the new licence is working and reset the Device Variable MOBIUS_LICENCE_RENEW to false
Click the override button next to the MOBIUS_LICENCE_RENEW variable
In the popup change the value from true to false
Leave all other settings as their default values and click the Add button
What You Will Need?
Adding Your Licence to a BalenaCloud Device
Licences must be added by overriding a device's licence variable and NOT changing the fleet's variables.
If you extend an expired licence or you purchase a larger licence you do not need to update the licence code
Congratulations, you have deployed your first MobiusFlow® device on balenaCloud.
Basic Navigation
Navigation
Navigating around the Toolbox UI is very simple. The key areas are as follows:
The current user is shown in the top right of the window. You can click on this button to change your password or log out
The collapsable menu on the left side of the window is a quick way to access your configured Services, Flows, Historian settings, Object Profiles and instance Settings. Clicking on the menu icon in the the top left corner will either collapse or expand the menu. As you add new services to your configuration they will shown in the menu under the Services heading
With the exception of Flows, clicking on an item in the left menu will show the view for that selection in the main view. Clicking on Flows will open the Flows window in a separate browser tab, or navigate to that tab if it is already open
Configuration of specific items such as services, objects and profiles will be shown in a pane to the right of the main view. This pane is only visible when a configurable item is selected
Via MQTT
💥 Interactive Demo
Commands
Starting, Stopping, and Hot Reloading a Service
Learn how to control services
Services can be started and stopped individually and if enabled, and set to run at start, will start automatically whenever the MobiusFlow instance is started.
Some services have which affect how they operate e.g. the ports used by the MQTT broker service. These settings are typically only loaded on service start so changes to these settings may require a service to be stopped and started before they take effect. If a service is running and any critical settings are changed MobiusFlow Toolbox will notify you that a restart is required.
In addition to service settings changes requiring a restart, changes to object settings will only take affect if a service is restarted or if a hot reload takes place. Any objects that have changes requiring a restart or hot reload are highlighted in the service's page.
The controls used to start, stop, and hot reload services are located on the service's card on the Services page and on the service's objects page. The buttons have the following icons (Start, Stop, Hot Reload).
Objects
What are MobiusFlow objects and how are they used?
MobiusFlow Objects represent real or virtual devices such as sensors, rooms, pieces of equipment, and machinery. All objects are based on an which describes the shape of the object i.e. what properties (resources) an objects has, the data type of each property (resource), and metadata describing the object and it properties.
For more information on objects and resources read the article.
Objects must belong to a . To add new objects or configure existing objects on a service open the Service's Objects page by clicking on the service in the main menu or clicking on the main body of a service's card on the Services page.
MobiusFlow Connectors
Overview of MobiusFlow Connectors
The Connector collects data from sensors and sends data to actuators via standard wireless sensor protocols such as EnOcean and Workplace Occupancy, and sends this data securely to a MobiusFlow using an MQTT based Protocol.
Once the data has been received by a MobiusFlow instance, it is decoded and the associated MobiusFlow object is updated with the latest sensor readings which can then be processed by the gateway.
A full guide on configuring MobiusFlow for use with Connectors can be found .
There are several hardware options for the MobiusFlow Connector software:
Configure MQTT Page
Configure the MQTT connection to MobiusFlow®
MobiusFlow® connectors send and receive data via MQTT. You need to configure the MQTT settings to match the configuration you set in the section of this guide.
You can choose any MQTT client ID but this must be unique for your MQTT broker. The default is the connector's serial number
Enter the IP Address or URL of the MQTT broker. You do not need to specify MQTT:// or MQTTS:// before the URL
Enter the MQTT Port number. This is normally 1883 or 8883 for TLS enabled connections
If required enter the MQTT broker authorisation Username
Set Config Mode Password Page
Set the configuration mode password
The Config Mode Password is used to login to the configuration pages of the connector. The default password is mobiusflow
You can change the password on this page
Click the Save button
Click the Home button on the settings saved confirmation page to return to the Home page
Profile
Profiles
MobiusFlow object properties are called resources. A resource holds a single value associated with an object.
E.g. an air quality sensor object may have separate resources for temperature, humidity, and CO2 level.
If you forget your password you will have to factory reset the connector
Save Settings
Set the config mode password
Deploying MobiusFlow On-Prem
These subsections explain deploy MobiusFlow On-Prem.
and
Password
. These can be left blank if no authentication is required
Enter the same pre-shared key (PSK) as you entered in the Configuring MobiusFlow® section of this guide
If you are using TLS make sure you check the TLS using CA Certificate option. You must also set the correct CA Server Certificate on the Manage Certificates page
You may also choose to use a Client Certificate and Key. Check this option if required and ensure that you have setup your client certificate and key on the Manage Certificates page
Once you have configured all MQTT settings click the Save button
Click the Home button on the settings saved confirmation page to return to the Home page
MobiusFlow has been containerised and is run via docker.
Mobius v1.X.X
Below is an example docker-compose.yml file you could use when running MobiusFlow. In this example, an online version of MobiusFlow 1.19.1 is used. Note that, as well as the MobiusFlow service (labelled simply 'mobius'), the file also containers a reference to an nginx and mongodb containers.
The nginx container is used for port mapping, and mongodb container used as a database. Neither of these are required to run MobiusFlow.
When a service starts it first creates all of its objects, loads in any persisted data (if enabled) and then runs any logic such as raw sensor data decoding. You can only access objects on running services.
Services are stopped by clicking on the Stop button.
If a service has persistence enabled the current resource values will be persisted before the service stops.
When a service is stopped all of its objects will be destroyed and will no longer be available for reading or writing.
Adding objects or configuration changes to objects on running services will only take affect if a service is restarted or if the service is hot reloaded.
Hot reloading a service does not stop it. Instead all objects that have configuration changes are refreshed and new objects are created without affecting any other objects.
Click on the Hot Reload button to hot reload its objects.
For more information on enabling services and setting them to run at start refer to the Service Settings article.
A hot reload only applies changes to objects and does not apply any service settings changes
Tags are a powerful way to organise your objects and resources making it easier to find and group similar pieces of data.
Tags can be a simple key word or phrase (much like a hashtag in social media apps) or a keyword or phrase with an associated value.
Tags can be added to object profiles and individual object instances. Any tags added to an object profile will be automatically added to all objects created from that profile.
The process of managing tags on object profiles, objects, and their resources is the same. To view the tag editor select an object profile, object, or resource and the relevant sidebar will open showing the tag editor. Once the sidebar is open follow the steps below.
Remember to click Save after making any changes
Adding tags
Tag names are case sensitive can have spaces so air_quality, air quality and Air Quality are all valid tag names but are deemed different tags
Adding a simple tag
In the Add a tag textbox type in the tag name and press Enter
The new tag will appear in the tag list
In the Add a tag textbox type in the tag name followed by = and then the value e.g floor = 1
Press Enter and the tag will appear in the tag list
Tags with values will show the first five characters of the value but you can hover over the tag to see the full value
To modify the value of a tag or add a value to a simple tag just re-enter the tag name and value
To convert a value tag into a simple tag re-enter the tag name with no value
To delete a tag click on the X to the right of the tag in the tags list
User Management
Manage users and roles
All access to MobiusFlow Toolbox and the MobiusFlow Engine API requires a valid username and password. Adding, deleting, and modifying users is done on the User Management tab on the Settings page.
Make sure to change your default admin user password or create a new account and delete the default admin account as soon as possible!
The User Management page shows a list of all users with their roles, whether they are active or not, and an Actions button for additional user management.
As MobiusFlow is designed to run both online and offline it is not currently possible to retrieve a forgotten password. Make sure you keep your administrator password in a safe location!
User Roles
There are three user roles, Viewer, Editor, and Administrator.
Viewers
View services, objects and live data
View flows
Add, edit, and delete services, objects and live data
Start and stop services
Add, edit and delete flows
Add edit and delete object profiles
Add, edit, and delete services, objects and live data
Start and stop services
Add, edit and delete flows
Add edit and delete object profiles
Click on the Add User button to view the Add User dialog
Enter a Username, select a role, and enter the user's initial password. Users can change their own password later
The new user will appear in the users list
Click on the Action button (three vertical dots) next to a user to open the user management menu
Change the password of an existing user. This is useful if a user forgets their password or you want to change the password of a
Change the role of an existing user
Users are active by default but can be activated or deactivated. Deactivated users will no longer be able to log in.
Permanently delete an existing user. You will need to confirm your action before the user is deleted.
Access to the requires a valid user with the correct role.
We recommend creating service account users with the Editor or Viewer role for API access. You should consider a separate account for each service that requires access as revoking access to a specific service can be as simple as deactivating that service account.
MobiusFlow Data Agent
This page explains the MobiusFlow Data Agent found in MobiusFlow View
Overview
The Data Agent introduces an agentic / chat style interface to interact with your MobiusFlow data. The enables tasks such as:
Reporting what data exists
Summarising data, both present and historical
Making data comparisons between multiple data sets
Drawing conclusions about the nature of data
Making suggestions about changes which could be made to improve real-world systems
In the near future it will also allow:
Generation of alerts
Generation of graphs / cards to supplement data reports
The Data Agent can accessed via MobiusFlow View. The agent invokes the tools provided by the , whilst being powered by an OpenAI LLM.
The Data Agent only knows about the data within MobiusFlow Historian. It does not know anything about the underlying MobiusFlow Engine or its configuration (i.e. the plumbing behind the data). As such, it cannot do the following:
Reporting of current MobiusFlow Engine configuration
Reporting of service statuses
Reporting / advising why a specific device / service is not connecting / not functioning as expected
Making engine configuration changes such as populating a service or updating an object
Most of the above tasks can achieved via using the instead.
The agent uses an OpenAI LLM backend. MobiusFlow does not currently manage token usage of this LLM and as such, it is left to customers to manage this themselves.
This means an account on the is required. Once created, ensure some credit is added to the account so tokens can be consumed by the agent.
The MobiusFlow Data Agent is linked to your OpenAI Platform account via and OpenAI API token. This token can be created on the OpenAI Platform website . Once created, this key must be copied and pasted into the Data Agent when prompted:
If a key is already set but needs to be updated, the key button next to the chat bar should be used:
Home Page
Home page
The Home page has the following buttons
Configure Network
Configure the wired or wireless Ethernet network settings
Manage Certificates
Manage all certificates for TLS connections. The default certificates are for MobiusFlow® cloud hosted instances but you can add your own if required
See information about the connector such as the software version, serial number, andwhich modules are installed
You can also update the firmware on this page
Reboot the device to exit configuration mode and use the new settings
Adding Your First Device
Add your device to a balenaCloud fleet
A balenaCloud account with Microservices access (this requires a paid account)
A balenaCloud Raspberry Pi 4 Fleet (see )
A
Editing and Deleting Profiles
Learn how to edit existing object profiles
Open the Object Profiles page and click on the profile you want to modify. The Object Profiles sidebar will open on the left of the window.
At the top of the sidebar is the object profiles settings toolbar. You can use this toolbar to switch between the four sidebar modes and to delete the profile if it is not being used. Use the X to the right of the toolbar to close the sidebar.
Below the toolbar are the Undo and Save buttons. Clicking on the Undo button will revert any changes and clicking on Save will save the changes.
The four sidebar modes are shown in the table below. Click on the links for more information.
Configure Network Page
Configure the wired or wireless Ethernet connection
You can choose to use a wired or wireless (2.4GHz WiFi) connection to connect a connector to your MobiusFlow® instance
Select your network type using the Connect Via dropdown. The page layout will change depending on the option selected
When using a wireless connection you need to enter the WiFi network's SSID (name) and password. You can click on the Scan WiFi Networks button to get a list of available WiFi networks
You can set a connection timeout in minutes. If the connector fails to connect to a network within this time it will reboot and try again
Administration
The Administration page covers user management, backup and restore, licence settings, security as well as setting the node's Hub ID. The page is divided into corresponding tabs accordingly.
Users can be added, modified and deleted from within the User Management Tab on the Administration page.
Backup and restore functionality is accessed via the settings tab on the Administration page. A full article covering backup and restore can be found .
All Mobius nodes are identified by their hub ID. This is a six character hexadecimal number and should be unique within any group of Mobius nodes. See and for more information about Hub IDs.
Leave all of the default settings. You can add a WiFi network (client or AP) later.
Select the Download balenaOS option in the drop down button. The balenaOS will start to download
Add new device details
Place your microSD card into your SD card adaptor and connect it to your laptop or PC
Open balenaEtcher
Select Flash from file and choose the balenaOS image you downloaded above
Select your SD card as the target
Click on the Flash button
balenaEtcher will burn the balenaOS to your SD card and make it a bootable image. Wait for this to complete and for the image to be verified
Remove the SD card from the SD card adaptor and insert it into your Raspberry Pi 4's SD card slot
Plug the Ethernet cable into your Raspberry Pi 4's Ethernet port and your network
Power up your Raspberry Pi 4
After a few minutes your new device will appear in the balenaCloud dashboard. Navigate to your balenaCloud dashboard, select your fleet and view the fleet's Summary page.
You device will be added to the list at the bottom of the page. It will be given a random name which you can change on the device's summary page
Viewing the fleet's device list
You have successfully added a new device to your balenaCloud fleet. To deploy MobiusFlow® to this device go to Deploy MobiusFlow® to Your Fleet
What You Will Need?
This guide assumes you will be using a Raspberry Pi 4. The instructions are the same for the UP and Intel NUC devices with the exception of loading the initial balenaOS onto your device.
More information and instructions for adding other device types can be found here.
Confirming Your Device is Connected to balenaCloud
If your device does not appear in the list, check that it is powered up and that the network port you have it plugged into has an internet connection.
ProfileSettings
General profile settings. The fields are the same as the fields on the Finalise Settings page shown when .
Add, delete, or edit the profile's codec
Add, delete, or edit the profile's preprocessor
Add, delete, or edit the profile's UI layout
Click on the profile you wish to delete. When the sidebar is open click on the Delete button, enter the confirmation text and click Confirm.
The Save button is only enabled if their are changes AND all fields are valid
Sidebar Modes
Deleting Profiles
You can only delete profiles that have not been used. Unused profiles have a greyed out PID and icon in the profile list.
This action is permanent and cannot be undone!
💥 Interactive Demo
You can choose to use a DHCP server to allocate the connector an IP Address or set a static IP Address. If you choose to use a static IP Address a few more options will be shown. Set these according to your network
DHCP address
Static address
Once you have configured all network settings click the Save button
Click the Home button on the settings saved confirmation page to return to the Home page
Select Network Type
Select TCP/IP Mode
Wired connection
Wireless connection
Save Settings
Adding a tag with value
You do not need to add a space either side of the equals sign. All white space will be stripped away
Modifying a tag value
Deleting a tag
💥 Interactive Demo
MobiusFlow Official Connector
Configure your MobiusFlow Connector and connect it to a MobiusFlow instance
MobiusFlow Offical Connector
Part Numbers
It is possible to have up to two radios for wireless sensors in a single connector. This is useful when you have combination of sensors using different protocols.
The current options are EnOcean and Workplace Occupancy using either 868MHz for the EMEA region of 915MHz for the USA and Canada.
Part Number
Region
EnOcean
Workplace Occupancy
Auth
Factory Resetting a Connector
Return all settings to factory default
If you forget your connector's Config Mode Password or want to fully reset all settings to the factory default follow the procedure below
A SIM card removal tool, large paper clip or pin to push the configuration mode button
Using a pin hold in the configuration mode button (inside the small hole to the right of the USB connector) on the front panel for 10 seconds
While you are holding the button in the green LED will start to flash rapidly and after 10 seconds the connector will reboot. Once you see the power on LED sequence release the configuration mode button
Reference material for the environment in which MobiusFlow Cloud Instances exist
MobiusFlow with LoRaWAN Stack
It is optional to include the LoRaWAN Stack when specifying the hosting type on instance creation. This Stack will grant the ability to use the MobiusFlow LoRaWAN LNS.
If included, an instance of Chirpstack and it associated infrastructure will be hosted in the background. Accessing this is not necessary to use the LNS, however it is accessible if required. Full details can be found within the LNS Service documentation.
Port Mappings (Simple)
The table below shows a simple overview illustrating how the ports are mapped. This is a simple overview suitable for most users.
Exposed Port
Internal
Usage
Version
Different parts of the MobiusFlow solution run in different docker containers. These communicate via docker routing. Docker routing allows container names to be resolved in the Host OS, for example, to refer to the Mobius Engine API from the Host OS or a container that is not the mobius container, one could use mobius:8442 (container name followed by Host OS Port).
This means that, if communication between containers is required, the Host OS port and container is required. As such, these are included in the advanced port mappings table below.
The table below gives a full description of the port mappings a MobiusFlow Cloud hosted environment is subject to.
Exposed Port
Host OS Port
Container Name
Internal
Usage
Version
Configuring a Connector
Configure a connector to connect to a MobiusFlow® instance
What You Will Need?
A device with a web browser such as a laptop, tablet or smart phone, capable of connecting to a 2.4GHz WiFi access point
A SIM card removal tool, large paper clip or pin to push the configuration mode button
A powered MobiusFlow® connector
The connector's Serial Number
The connector's configuration mode can be enabled in two ways:
Using a pin hold in the configuration mode button (inside the small hole to the right of the USB connector) on the front panel for 2 seconds
Release the button and the green LED will flash rapidly
Using your laptop / tablet / smartphone look for a WiFi network with the same name as the connectors serial number
Connect to this network and enter the connector's Config Mode Password. The default is mobiusflow
Open a web browser on your laptop / tablet / smartphone and enter http://192.168.4.1 into the browsers address bar and hit enter
The web browser will show the connector's configuration Home page
Make sure that the connector and your laptop / tablet / smart phone are connected to the same Ethernet network
Open a web browser and browse to <your connector IP address>:8080 e.g. 192.168.1.20:8080
You will need to enter a user name and password. The user name is admin and the password is the same as the connector's Config Mode Password. The default is mobiusflow
After a short delay the web browser will redirect to the connector's configuration Home page
Installed Services
What are the mobius, manage, and mongodb microservices?
balenaCloud devices can run multiple microservices in separate Docker containers. Deploying MobiusFlow® to your device will create three microservices. You can start, stop and view logs for each service on the balenaCloud device summary page.
MobiusFlow® Microservices
mobius
This microservice runs the MobiusFlow® application.
A full version of MongoDB which you can use to store / retrieve data in flows.
The default settings are
Setting
Default Value
Object Profiles Page
Object Profiles Page
To open the Object Profiles page click on Object Profiles in the main menu.
You must have Administrator or Editor roles to see the Object Profiles option in the main menu
The object profiles table shows a list of all of the profiles that exist on this instance of MobiusFlow. Any profiles that have not been used to create objects, and therefore can be deleted are shown with a greyed out PID and icon.
Above the table is a toolbar with options to
Create a new profile
Filter the list by profile group
Search for a profile - this filters by PID and profile name
Import and export profiles
Set the density of the grid
Clicking on a profile in the table opens the Profile Settings Sidebar. The width of the sidebar can be changed by dragging on the vertical splitter.
Object
Converting Raspberry Pi to a MobiusFlow Connector
How to convert a Raspberry Pi into a MobiusFlow Connector
A Raspberry Pi is required. Currently supported Raspberry Pi models include:
Raspberry Pi 4
Raspberry Pi 5
An SD card for each Raspberry Pi is required to store the connector image. We recommend a minimum storage of 8GB.
Most protocol types require specific hardware to translate that protocol to the Raspberry Pi.
Telemetry
Objects
Users
Enabling Configuration Mode
If you leave the connector in configuration mode for more than 5 minutes it will automatically reboot and leave configuration mode
Using the Configuration button
Using a Web Browser
This method is only available if you already know the IP address of the connector
All
8883
1883
Suggested use for MQTT Broker. If the port is set to 1883 within the service, it will be accessible in the outside via 8883.
All
30815
30815
Free
All
30817
30817
Free
All
8081
8082
Chirpstack UI
MobiusFlow with LoRaWAN Stack
1700
1700
EU868 Chirpstack LoRaWAN Gateway Bridge
MobiusFlow with LoRaWAN Stack
1701
1700
US915_0 Chirpstack LoRaWAN Gateway Bridge
MobiusFlow with LoRaWAN Stack
1702
1700
US915_1 Chirpstack LoRaWAN Gateway Bridge
MobiusFlow with LoRaWAN Stack
All
8080
8080
toolbox
8080
MobiusFlow UI (Toolbox)
All
1880
1879
mobius
1880
Flows access
All
8883
1883
mobius
1883
Free - Normally MF MQTT Broker
All
30815
30814
mobius
30815
Free
All
30817
30816
mobius
30817
Free
All
8081
8082
chirpstack
8082
Chirpstack UI
MobiusFlow with LoRaWAN Stack Only
/
1884
mosquitto
1884
Chirpstack MQTT broker
MobiusFlow with LoRaWAN Stack Only
/
8090
chirpstack-rest-api
8090
Chripstack Rest API
MobiusFlow with LoRaWAN Stack Only
1700
1700
chirpstack-gateway-bridge-eu868
1700
EU868 Chirpstack LoRaWAN Gateway Bridge
MobiusFlow with LoRaWAN Stack Only
1701
1701
chirpstack-gateway-bridge-us915_0
1700
US915_0 Chirpstack LoRaWAN Gateway Bridge
MobiusFlow with LoRaWAN Stack Only
1702
1702
chirpstack-gateway-bridge-us915_1
1700
US915_1 Chirpstack LoRaWAN Gateway Bridge
MobiusFlow with LoRaWAN Stack Only
8443
8443
Mobius Engine API
All
8080
8080
MobiusFlow UI (Toolbox)
All
1880
1880
8443
8442
mobius
8443
Port Mappings (Advance)
Docker & Docker Routing
Full Mappings
Flows access
Mobius Engine API
Database
mobius
Username
mobius
Password
RmzsXQYReLHaCS5wWGjAPjtJ7VnTw4qL
The following transceiver types are supported. Only 1 is required per Pi:
Transceiver
Notes
TCM310 (Pi Hat)
868MHz (Europe) EnOcean transceiver to plug into Raspberry Pi header
TCM310U (Pi Hat)
902MHz (North America) EnOcean transceiver to plug into Raspberry Pi header
USB 300 (USB Stick)
868MHz (Europe) EnOcean transceiver to plug into Raspberry Pi USB Port
MobiusFlow Raspberry Pi connectors run Balena OS. Athlough not required, if your organisation registers with BalenaCloud, Balena OS grants a direct VPN link to the connector, allowing configuration changes to be made over the internet.
When using more than 5 devices, BalenaCloud becomes a piad service. As such, we offer versions of the Balena images which do not support remote access and therefore do not require a subscription to BalneaCloud.
The following, no remote access images can be downloaded:
The following is an overview of the steps involved to use BalenaCloud with MobiusFlow RPI connectors:
Create BalenaCloud Account
Create BalenaCloud Fleet
Attach BalenaCloud Fleet to the corresponding MobiusFlow Connector Balena Application
Add a new device to the fleet and download the subsequent Balena image
Etch the image
We have a full guide on how to use the BalenaCloud with MobiusFlow itself here. Please note
We recommend using the Balena Etcher tool to etch the images onto an SD Card. The tool is self-explanatory, but full full documentation of how to use the tool can be found here.
BalenaCloud charges hosting fees when more than 5 devices are associated to the account. If remote access to the Connector confiruation is not required, the device can be deleted from the BalenCloud fleet. The Connector software running on the device will remain, and the device will operate as normal.
Hardware Requirements
Raspberry Pi
Transceiver Hardware
EnOcean
Etching SD Image
BalenaCloud
Without Remote Access
With Remote Acccess
The above guide differs in the context of MobiusFlow Connectors because the BalenaCloud Fleets should be linked to the MobiusFlow Connector BalenaCloud applications, instead of the standard MobiusFlow BalenaCloud applications.
Etching
Service Settings
Configuring services
To update a service's settings, first click on Services in the main menu and then find the correct service card.
On the service card toolbar click on the Settings button to open the service settings dialog.
The service settings dialog is shown above. All services have these default settings, but some services may have additional service specific settings. It is beyond the scope of this article to describe any service specific settings, please see the article for that specific service type for more information.
Some service settings changes may require a service restart to take effect. If a service is running you will be notified if you need to restart the service
When a service is added it is given the next available SID, but this can be changed if required. SIDs must be unique within a MobiusFlow instance so you cannot assign a service an existing SID.
Name
The service name can be freely assigned. It has no relevance within a MobiusFlow instance and is just used in MobiusFlow Toolbox to make it easier for you to distinguish between your services.
Services can be Enabled or Disabled. Disabled services do not run at startup and cannot be manually started.
If a service is enabled and it is set to Run at Start the service will be automatically started when the MobiusFlow instance starts. If Run at Start is switched off for a service it will not start automatically but can be started manually by clicking on the service's start button.
Value persistence ensures that objects keep their values between restarts. Please see the article for more information.
A service and its underlying connection to the rest of the instance (the spoke) each have their own logging levels. Currently these logs are only visible in the terminal on the computer running the MobiusFlow instance and are not visible in Toolbox. We aim to make this available in a future version for developers.
The default logging levels are set to Info. Please do NOT change these unless instructed by a MobiusFlow engineer during a support incident as excessive logging could cause significant additional CPU load.
Some services have their own service specific settings. The exact settings will depend on the service type. These are shown at the bottom of the service settings dialog. An example for the MQTT Broker service is shown below.
Services
Managing MobiusFlow Services
MobiusFlow Services are the starting point for any configuration. They are typically device drivers for a specific protocol or provide protocol interfaces such as an MQTT broker.
The main services page shows an overview and status of each service that has been added to the configuration. You can interact with services in a number of ways, including configuring a service, starting and stopping a service, or adding and configuring objects belonging to a service.
The main services page shows an overview of all services that have been added to an instance. Each service is represented by a card which provides status information and allows you to interact with the service.
As new services are added cards will appear on this this page. The service list is also visible in the main menu below the Services menu item.
The service library is a list of all possible services that can be added to MobiusFlow. You can show and hide the library by clicking on the button in the top left of the page.
MobiusFlow Overview
The MobiusFlow software has been developed as an MQTT object bus which normalises all device data into standardised MobiusFlow objects which allow interoperability between all devices either real or virtual in the field or Cloud.
MobiusFlow enables actuators, sensors & controllers to connect, control and communicate with each other and to the Cloud so that IoT solutions using scalable monitoring, visualisation and predictive analytics can provide valuable insights into your business and act upon them automatically.
A complete control and communications platform
USB 500U (USB Stick)
902MHz (North America) EnOcean transceiver to plug into Raspberry Pi USB Port
Does not depend on a network connection for local control
Provides full discovery of nodes, objects and resources in all directions
Pub / Sub change of value notifications
All sensor and actuator data is normalised from any source such as OPC UA/ BACnet/ DALI/ EnOcean/ LoRaWAN / Analog / Digital etc.
MobiusFlow has been designed from the ground up as a micro service based design with a simple but common set of API commands. All communication between micro services is performed using the MQTT protocol, ensuring that micro services can be written in any programming language and will run on any device capable of TCP/IP network communications. The only requirement for any MobiusFlow system is that it contains at least one Node. This Node consists of a MobiusFlow Hub which initiates and facilitates communication between micro services in a secure way. Micro services can run on the same device as the Hub, or on another device such as a temperature sensor, connected to the Hub via a connection capable of transmitting via TCP/IP (provision has been made for future expansion, by adding translation services, to allow micro services to communicate with the Hub over any transmission medium capable to transmitting binary data).
Each Node is typically a stand-alone island which does not require any connection to any other device in order to perform local control. Nodes can be connected together via secure MobiusFlow Routers allowing the creation of a network of interconnected Nodes. When used in this configuration, Nodes can share data with each other and influence the control algorithms running on any connected Node.
Vanilla MQTT has some limitations in its usefulness as a peer to peer messaging and control protocol. It is based around the Publish / Subscribe pattern which is ideal where multiple devices are sending data to a single end point for logging etc. MQTT can be used where devices or services need to have a two way peer to peer flow of communication but the different services need to be aware of each other at design time. MobiusFlow defines a protocol layer above MQTT which enables discovery of devices and services at runtime and then allows two way peer to peer communication to take place, ensuring that new devices and services can be added at any time without having any design time knowledge of the other devices and services in a system.
For more information on adding services please read the Adding Services article.
Service cards show a lot of information about a service and allow you to interact with a service.
The service ID is a three digit hexadecimal number and is shown in the middle of the coloured service status circle in the top left corner of the card.
The service name is shown at the top of the main body of the card. The name can be set in the service settings and defaults to the service type.
The service status is shown in two places on the card.
The coloured circle in the top left corner gives a quick indication of the health of a service. The indicator colours are as follows:
Colour
Meaning
Grey
Service is disabled and cannot be started
Red
Service is enabled but not started
Amber
Service is running but has an error
In addition to the quick status indicator, detailed status information is shown in the main body of the card beneath the service name. If a service is in error, the error is shown here.
At the bottom left of the main body of the card is a timestamp showing the last time a service interacted with the MobiusFlow instance.
The service type is shown in the top right corner of the main body of the card.
In addition the internal Service Profile ID (SPID) which also indicates the service type is shown in the bottom right of the main body of the card
With the exception of system services, each service card has a toolbar in the top right. Hovering over the card will highlight the toolbar. The six buttons from left to right are:
Button
Action
Start a service that is enabled but stopped
Stop a service that is running
Update a service's objects after a change without stopping the service
Accessing the Objects belonging to a service can be done in two ways. You can click on the main body of a service card or click on the service in the main menu.
MobiusFlow includes a number of pre-configured System Services that you may or may not be able to interact with in the normal way. These include the Engine API and Historian services
Navigate to balenaHub to select which version of MobiusFlow® to deploy
Navigate to the Apps page
Search for MobiusFlow
Select the correct device type
Click on the Deploy button
Balena will switch to your balenaCloud dashboard
You can create a new fleet here or deploy to an existing fleet. If creating a new fleet refer to the section for details on what settings are required
If you already have a new fleet or want to upgrade the MobiusFlow® version on existing devices, select Use an existing fleet instead
Select the fleet from the drop down and click on the Deploy to fleet button
After a few seconds you will see the new release being built for your fleet
This will take a minute or two. Once the build is complete you will see the release on the dashboard. All devices, which have not been pinned to a specific release, in your fleet will automatically start to update to the new release.
You can also view the release history in the Releases page of your fleet.
Click on a device Summary to see which release it is running. You can also pin device to specific releases on this screen
Getting Data out from MobiusFlow
This section covers different methods on moving your data from MobiusFlow to somewhere else. These methods include via MQTT, via REST and via WebScocket. Pick whichever method best suits your application / integration.
Engine vs Historian
If using REST or WebSockets for data extraction, both Engine and Historian are suitable. Here is a comparison so you know which one to use in any given situation.
Engine API / Engine WebSocket
Contains telemetry as well as detailed information about MobiusFlow objects relating to MobiusFlow Engine.
Historical data not available, only current data / live updates.
Deeper granular control of which updates to subscribe to when using WebSocket
Data is telemetry / MobiusFlow resource value updates only. No extra engine data.
Full historical data available.
WebSocket allows subscription to all updates only, no granular control
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 .
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
Note: The Engine API is used for an overall much wider set of applications than just data extraction. It can be used to control everything within the MobiusFlow Engine (backend) including its configuration. See the main article on this for a full deep dive on this.
Historian API / Historian WebSocket
If this guide is being followed in the context of deploying MobiusFlow Connector software to as Raspberry Pi, ensure MobiusFlow Connector apps are used instead of the standard MobiusFlow App.
Configure the network interfaces for a balenaCloud device
The configuration of the network interfaces of a MobiusFlow® balenaCloud device is handled by the manage microservice. All configuration is stored in a JSON file which can be updated by plugging in a properly configured USB memory stick or through the balenaCloud device terminal.
Navigate to your and login in
Navigate to the Device Summary page of the device you want to configure
Open a terminal in the manage microservice
Configuring Raspberry Pi Connector
Page covers how to configure a Raspberry Pi Connector
If the Connector is hosted via BalenaCloud and has an internet connection, the configuration can be accessed anywhere via the BalenaCloud Public Device URL.
If the connector is hosted by MobiusFlow, please contact support to receive the Public Device URL.
The BalenaCloud Public Device URL can be found by Navigating to the connector device on the BalenaCloud fleet.
By default, the MobiusFlow connector will broadcast a WiFi access point, the name of which matches the connector's serial number (in the form of MF_XXXXX). Connect to this access point on a computer or mobile device. Then the configuration window is accessible by browsing to 10.42.0.1.
If the connector is connected to a local network via Ethernet or WiFi (with a known IP address) and you're able to also connect to this network using a computer or mobile device, then simple browse to the local IP of the connector.
Connection Details and LED Indicators
You have three options to power the connector
Power Option
Details
balenaCloud device manage terminal
Change to the /data/.mobius/manage directory and edit the networks.json file by running the following commands:
This will open the network configuration file for editing using the vi editor
Edit networks.json file
Make any required changes and save the file
Exit the terminal and restart the manage microservice by clicking on the restart icon next to the manage service
Restart the manage microservice
Using a USB memory stick to update the network interfaces is useful when none of the network interfaces is configured to connect to the internet so it is not possible to use the balenaCloud device terminal. You will obviously need physical access to the device to use this method.
Format the USB memory stick as FAT32
Rename the USB memory to MOBIUSCONF
Create a file on the USB memory stick called networks.json
Open the file on your laptop or PC in your favourite text editor and paste in the correct JSON configuration from the examples above
Make any required changes
Save the file and unplug the USB memory stick from your laptop or PC
Plug the USB memory stick into any of the USB ports on your device
Reboot your device
When the device reboots it will copy the networks.json onto the device and use the new configuration for its network interfaces (this will take a minute or two)
You can then remove the USB memory stick and your device will continue to use the new network configuration.
As each device type has different configurations and names for the underlying network interfaces, the structure of the network configuration may differ depending on the device type you are using
Be careful when changing the network interface you are using to connect the device to the internet as you could prevent the device from connecting to balenaCloud.
Using a USB Memory Stick
When browsed to the configuration window of the connector, a login screen is presented.
Connector configuration login Page
The default password of all new MobiusFlow connectors is:
mobiusflow
Note that, if the connector is not new, this login password may have been changed.
When on the the home page, the current status of the connector is shown. This includes:
Property
Notes
Serial Number
Required in the MobiusFlow connectors service. Note that this is copyable using the copy button displayed next to the number is itself
Ethernet Connection Status
The IP address will be displayed if connected
WiFI Connection Status
The IP address will be displayed if connected
Connector configuration home page
The main menu also allows navigation to the connectors configuration pages. These includes those for Network Configuration, MQTT Configuration, Certification Configuration, and the Change Password page (allows the connector configuration password to be changed).
It is critical that the MobiusFlow connector's network situation is such that it can access the target MobiusFlow instance over the network. This may be over the internet or simply over a local network.
In either situation, the connector must be connected to the network and the configure network page allows for this.
The connection type allows choosing between a Wired or WiFi connection.
If using a Wired connection, ensure the Raspberry Pi is plugged in via Ethernet.
Connector configuration networks page, in wired network mode
If using WiFi mode, the WiFi SSID and corresponding password must be populated.
Connector configuration networks page, in WiFi network mode
The TCP/IP settings allow switching between DHCP and Static IP allocation. Unless there are specific reasons to set the connector on a static IP address, using DHCP is recommended.
Connector configuration networks page, using DHCP
If using the connector in Static mode, the Subnet Mask, Default Gateway and DNS 1 can be set. If it is not clear what to use here, use the default settings as shown below.
Note that, the default gateway is not required however if the connector required access to the internet, the local IP address of the internet providing gateway (Network router / modem) must be populated here. This is often in the form XXX.XXX.XXX.1 or XXX.XXX.XXX.0 .
Connector configuration networks page, using static IP
Setting the connector up to be a WiFi access point is useful for two reasons.
Firstly, it allows you to connect to it, allowing for easy wireless access to its configuration page. Secondly, if this connector has internet access via ethernet, it can act as an internet enabled hotspot to connect WiFi device to, in-turn giving them internet access.
Connector configuration networks page, with AP Enabled
If the WiFi access point is enabled, a WiFi SSID and Password must be set. It is recommended the default SSID is used (This matches the the connectors Serial Number)
To save the changes click the save button. If there are an issues with the configuration, such as an invalid input in one of the fields, the form will show this and the changes will not be saved. If the settings were saved correctly, a pop up will show this after the save button has been clicked.
Connectors use MQTT to communicate with MobiusFlow. As such, the Configure MQTT page allows the connector to be pointed at a specific MQTT broker. In almost all cases, the broker will be running the MobiusFlow instance itself.
Before setting up the connector's MQTT configuration, ensure you first set up the MobiusFlow instance ready for this connection. A guide on how to do this can be found here.
The configuration window shows the key 6 properties which must configured to allow an authorised connection to the MQTT broker.
Connector configuration MQTT page
Property
Explanation
Address
The IP location of the MQTT broker. This may be a local IP address, an internet IP address or a DNS name. Do not include any protocol prefix (such as mqtt:// or https://)
Port
The port the MQTT broker is running on. If using the MQTT broker within MobiusFlow, this port number is set and shown within the service settings within the MQTT broker service within MobiusFlow. This is often 1883. Note that, if the MobiusFlow instance is hosted in the MobiusFlow cloud, port 1883 is externally exposed on 8883 (i.e. use 8883 even if MobiusFlow shows 1883)
Username
The username of any MQTT user set up on the MQTT broker (if using the broker within MobiusFlow, this can be set up within the MQTT broker service settings within MobiusFlow)
To save the changes click the save button. If there are an issue with the configuration, such as an invalid input in one of the fields, the form will show this and the changes will not be saved. If the settings were saved correctly, a pop up will show this after the save button has been clicked.
Once the changes have been made locally, to implement the changes within the connector, click the Reconfigure and Reboot button.
Connector configuration Home page
This will cause the connector to reboot. As such, the configuration window's connection to the connector will be lost. This may automatically be restored once the connector reboots, but this may not be the case if the connector's configuration has changed such that it is no longer accessible over the network.
Accessing Configuration Page
Via Balena Fleet
MobiusFlow Hosted
Self Hosted
Via Raspberry Pi Access Point
Via Local Network
Login & Home
Login
Home Page
Configure Network
Connection Type
Note that: In WiFi mode, the Wired network interface will remain enabled in the background. This acts as a secondary fall back interface, useful for accessing the connector the WiFi has failed to connect.
Note that: If using in WiFi mode, using the Connector as WiFi access point is no longer possible. This is because the Raspberry Pi only contains a single WiFi adapter and therefore it can only be used to either connect to WiFi or as an access point.
TCP/IP Settings
WiFi Access Point
Note that: If using in WiFi mode, using the Connector as WiFi access point is no longer possible. This is because the Raspberry Pi only contains a single WiFi adapter and therefore it can only be used to either connect to WiFi or as an access point.
Saving Changes
Note that, when changes are saved here, they're only being saved to the local changes within the browser window. To realise the changes in the connector, the Reconfigure and Reboot button must be clicked on the main menu
Configure MQTT
Overview
Configuration Window
Explanation of Properties
Saving Changes
Note that, when changes are saved here, they're only being saved to the local changes within the browser window. To realise the changes in the connector, the Reconfigure and Reboot button must be clicked on the main menu
Realising Changes
USB
5V 500mA via micro USB
You can connect to your network via wired Ethernet or 2.4GHz WiFi
The image and table below describe the connections and LED indicators on the front panel of the connector.
Item
Description
Comments
1
Ethernet port and PoE Supply
2
5 to 24vdc screw terminals
The product label is on the bottom of the connector. It shows the part number, software version and serial number of the product.
PoE
Power over Ethernet (30 watts)
DC Supply via screw terminals
Power Options
5 to 24Vdc 500mA
Network Options
Front Panel
Product Label
The serial number is required when configuring both the connector and your MobiusFlow® instance. Make sure you take a note of the serial number before starting
MobiusFlow Architecture
Mobius system
A typical MobiusFlow system consists of a single or multiple MobiusFlow nodes connected together via a TCP/IP network. Each node is capable of operating independently of the rest of the system, but nodes can interact with each other to form a complex system. All node interaction takes place through one or more brokers via a node’s router.In a multi-node system, the location of the broker is not important. It can reside on the same device as one of the nodes or on an independent device.
Each node is classed as, and exhibits the behavior of, an edge computing device. In this context edge devices are not only field devices but could also be on the edge of a server or cloud server providing the server with connectivity to all of the true edge or field devices.
Mobius nodes
A Mobius node consists of a central Mobius hub, one or more Mobius services and optionally one or more Mobius routers.
Services contain the service logic and an object data store. Connections to sensors, actuators and other communication interfaces such as Modbus or BACnet can be added depending on the service’s purpose and controlled through the service's logic.
The object data store models the physical or virtual connections and provides a standardised method for services and other nodes to communicate and share data with each other through Mobius objects.
All of the communications between services through the hub or nodes through routers and brokers is based on the MQTT protocol. The MobiusFlow protocol has been defined on top of this MQTT protocol providing a well-defined API enabling different physical devices and protocols to communicate with each other in a consistent way.
Mobius nodes follow the microservice architecture pattern, where each service is a stand-alone process capable of communication with other microservices creating a large application from small manageable pieces.
Routers are used to cross node boundaries. They provide a secure mechanism for nodes to share data using the MobiusFlow protocol.
The logical structure of a node is detailed below. This diagram shows the hierarchical relationship between all of the parts which make up a node and how objects contain resources, services contain objects and hubs connect to services and routers.
The Mobius URI structure allows addressing any part of a node at any depth.
A Mobius hub is the foundation of a node. At its heart, a Mobius hub is just an MQTT broker which manages and links Mobius services and Mobius routers. Hubs are responsible for ensuring that all services and routers are valid members of a node by verifying their pre-shared authentication key on connection.
Each hub within a Mobius system is given a unique ID. This is a six digit hex number which forms the first part of the Mobius URI hierarchy. When referencing a hub, for example during a discovery process, this unique ID must be used (see ).
When service or router connects to a hub, and has been validated, the hub provides it with a copy of the Mobius object profiles and pre-shared keys files, ensuring that all services and routers connected to the hub are able to communicate and understand one another.
Mobius services are the engines which drive MobiusFlow. Each service is essentially a microservice performing a specific task and possibly acting as an interface to a piece of hardware or a 3rd party service such as Microsoft's Azure platform or the IBM Cloud.
All services MUST implement the full MobiusFlow protocol to enable them to connect to hub and communicate with other services. In addition to implementing the MobiusFlow protocol, services can create Mobius objects to store and share data and can also contain service specific logic to perform the task that they are designed for. When creating services, try an keep them focused on one task and create additional services to perform other tasks. This ensures that services are reusable and Mobius systems can be configured to only contain the logic that they require.
Each service within a Mobius node is given a unique ID. This is a three digit hex number which forms the second part of the Mobius URI hierarchy. When referencing a service, for example during a discovery process, this unique ID must be used.
Mobius routers control all MobiusFlow communication into and out of a node. This ensures that nodes are secure and allows nodes to discover each other within a MobiusFlow system.
Routers are split into two parts, one side of the router communicates internally with its associated hub and all of the services within a node, while the other side of the router communicates externally through a 'no-mans' broker to other routers on other nodes. All external communication is done using MQTT over the WebSocket protocol. This could be done over a secure or non-secure connection (ws:// or wss://).
Routers are capable of routing messages between services belonging to different nodes, essentially allowing a service on one node to read, write and subscribe to change-of-value events on objects in another node.
The key to the MobiusFlow system is Mobius objects. These objects typically model real-world objects and provide a mechanism for sharing data and storing state in a consistent way. Each object has a unique identifier or which can be discovered and used by any part of the MobiusFlow system.
Mobius objects are predefined in an object profiles file which is passed to a services by the hub when a service connects.
Each object within a Mobius node is given a unique ID. This ID consists of two parts and is made up of the object profile ID (PID) which describes the object's type, and the object's instance number (INS). The PID is a four digit hex number which forms the third part of the Mobius URI hierarchy and the INS is a four digit hex number which forms the fourth part of the Mobius URI hierarchy. When referencing an object, for example during a discovery process, this unique ID must be used.
Mobius objects contain one or more resources. It is these resources which are used to define objects that mimic or represent real-world objects. An example of a single object is a room temperature sensor. This object may have resources which define the sensor’s name, location, asset reference, engineering units, set point and actual measured value.
Each resource is capable of storing a single value which can currently be of type Boolean, Number,String, DateTime or TimeSpan. Resources also store meta-data about the value. The actual meta-data depends on the value type chosen. Resources can be read only or read/write. Read only resources have their values set when they are created.
Each resource within an object is given a unique ID. This is a two digit hex number which forms the fifth and final part of the Mobius URI hierarchy. When referencing a resource, for example during a read, this unique ID must be used.
Resources store their values in a priority array. This priority array works in a similar manner to a BACnet priority array. The array has 16 possible locations with location 1 being the highest priority and location 16 being the lowest priority.
When reading the value of a resource the actual value is returned in the PV(present value) property. The PV is always equal to the value of the highest active (non null) priority in the resource's priority array.
On-Board WiFi Hotspot (Labelled WiFi AP)
Will show a green tick if the On-Board WiFi Access point is enabled
MQTT Connected
Will show a green tick to indicate the connector is has connected to MobiusFlow
Module 1 / Module 2
Will show which types of transceivers are physically connected to the Raspberry Pi
Password
The password of any MQTT user set up on the MQTT broker (if using the broker within MobiusFlow, this can be set up within the MQTT broker service settings within MobiusFlow)
PSK
The pre-shared key of the connector. This can be anything however it must match the pre-shared key set up within the target connector object within the connectors service within the MobiusFlow instance.
Use TLS
A true / false property determining if the connection will attempt to use MQTT of TLS. This depends on how MobiusFlow is hosted and where the connector is accessing it from. Most set ups which involving accessing MobiusFlow over the internet will use TLS. If using an instance of MobiusFlow hosted via the MobiusFlow cloud, always enable TLS.
3
USB power
4
Configuration button
Push and hold to enter config mode or factory reset
Training material used in conjunction or reference following a standard MobiusFlow training session 1.
Technologies Referenced
This section outlines the major technologies reference in this training. Learning about this technologies is recommended.
MQTT
MQTT (Message Queuing Telemetry Transport) is a lightweight and efficient publish-subscribe messaging protocol, commonly used in IoT (Internet of Things) applications.
MQTT Diagram
MQTT is widely used for data transport throughout the MobiusFlow software.
JSON
JSON (JavaScript Object Notation) is a lightweight data interchange format that is easy for humans to read and write, and easy for machines to parse and generate.
A basic knowledge of JSON is required when using the Flows (logic engine) within MobiusFlow.
EnOcean is a short distance wireless communication protocol used widely within the IoT space. Each EnOcean device has a unique identifier (UID) which is used to identify the sender of all EnOcean wireless telegrams.
During this training, EnOcean will be used as an exemplar IoT technology to demonstrate MobiusFlow from the device level.
A MobiusFlow instance runs a central MobiusFlow Hub. Services, each of which have a function within the overall solution, reside on the hub, and use it as a relay to communicate information.
A MobiusFlow object often represents a virtual equivalent of a real-world device, however can represent non-physical entities such as calculated data.
Some services can have MobiusFlow objects reside on them, often when the service needs to directly interact with those objects in some way. For example, objects representing EnOcean devices will always reside on an EnOcean devices service.
A MobiusFlow object contains many resources, each being its own individual data stream representing something about that object.
Below shows a screenshot from the MobiusFlow software of the list of resources associated to an EnOcean Temperature / Humidity / C02 sensor.
A point is a chargeable resource. Notice in the above screenshot, the points column is only populated for Temperature, Humidity and CO2.
Also notice how the MobiusFlow software calculates your total point usage and displays this at the bottom right hand corner.
All parts of the MobiusFlow hierarchy are assigned a unique URI with the following structure:
HID/SID/PID/INS/RID
Explanation
Format
Service
Full example URI of a service:
000001/020
Representing service 020on hub 000001.
Object
Full example URI of an object:
000001/020/0028/0001
Representing instance0001of object type (profile) 0028 on service 020 on hub 000001.
Resource
Full example URI of a resource:
000001/020/0028/0001/40
Representing resource 40 on instance0001of object type (profile) 0028 on service 020 on hub 000001.
Conclusion
Using the URI system, it is therefore possible to reference any component of a given MobiusFlow configuration.
This aims to show how data taken from EnOcean sensors at a hardware level, is brought into and through the MobiusFlow system, and then presented in the form of a dashboard.
The following shows a colorless project schematic representing lack of implementation. As the project is implemented, this diagram will be colored in so progress can easily shown.
Service
Explanation of requirement
Add and start MQTT Broker service:
Add connectors service, add a connector to the service, and finally start the service.
Add and start service:
Add a MobiusFlow connector object to the connectors service and configure:
Add EnOcean Devices service, add EnOcean device objects to the service, and finally start the service.
For full information on how to configure a MobiusFlow connector see .
The status of all service can viewed. This is a helpful insight into the current state of the solution as well as aiding with diagnostics.
The data of any live object can viewed by navigating to that object and then clicking on resources.
Connecting the flows to the MobiusFlow engine, as well as the baseline principles of pulling into the flows is covered .
In this example, the live state of the buttons on a 4-Rocker EnOcean switch is shown on a basic dashboard.
Using dashboard in the way illustrated can be as simple or as complex as required. Display widgets include graphs, charts and tables, as well input widgets such as switches, buttons, drop-downs and text inputs. Full documentation of the Flows dashboard can be found .
PID
Profile ID (A MobiusFlow profile can be thought of as an object type)
4-Digit Hex
INS
Instance ID (The ID of that object instance)
4-Digit Hex
RID
Resource ID
2-Digit Hex
HID
Hub ID
6-Digit Hex
SID
Service ID
MQTT Broker
To allow MobiusFlow connectors to connect to and send data to
Connector Service
To collect incoming messages from MobiusFlow connectors and bring the data into the MobiusFlow Hub
EnOcean Devices Service
EnOcean
MobiusFlow Overview
Structure
Points / Resources
URIs
Example URIs
Configuration Example
Example Overview
Project Schematic
Note that the EnOcean devices have been dropped from the diagram for simplicity
Explanation of Services
MobiusFlow Configuration
MQTT Broker
The MQTT Broker service has been added, configured and started.
Connector Service
The Connector service has been added, configured and started.
EnOcean Devices Service
The EnOcean devices service has been added, configured and started.
Diagram of EnOcean devices and a MobiusFlow connector (EnOcean Transceiver / MQTT Converter)
MobiusFlow Hub / Service / Object hierarchy
MobiusFlow Object / Resource hierarchy
Completed project schematic
3-Digit Hex
To decode raw EnOcean messages from the MobiusFlow hub and populate this service's child MobiusFlow objects with human-readable data.
Add a MobiusFlow service to a node
post
Path parameters
hidstring · min: 6 · max: 6Required
Hub ID (HID)
Example: 000001Pattern: \b^[0-9A-F]{6}$\b
Body
sidstring · min: 3 · max: 3Required
The SID of the service. If this SID is already used the next available one will be used
Example: 020Pattern: \b[0-9A-F]{3}$\b
spidstring · min: 4 · max: 4Required
The servive profile ID of the service
Example: 000APattern: \b[0-9A-F]{4}$\b
namestringOptional
The name of the service
enabledbooleanOptional
Is the service is enabled?
runAtStartbooleanOptional
Should the service should run at start?
Responses
201
Default Response
application/json
400
Default Response
application/json
Bad Request
tsstringRequired
Timestamp of the response
Example: 2025-01-01T00:00:00.000Z
statusCodenumberRequired
HTTP status code
Example: 400
errorCodestringRequired
Error code
messagestringRequired
Error message
detailanyOptional
Error details (optional)
401
Default Response
application/json
Unauthorized
tsstringRequired
Timestamp of the response
Example: 2025-01-01T00:00:00.000Z
statusCodenumberRequired
HTTP status code
Example: 401
errorCodestringRequired
Error code
messagestringRequired
Error message
detailanyOptional
Error details (optional)
403
Default Response
application/json
404
Default Response
application/json
408
Default Response
application/json
409
Default Response
application/json
422
Default Response
application/json
500
Default Response
application/json
Internal Server Error
tsstringRequired
Timestamp of the response
Example: 2025-01-01T00:00:00.000Z
statusCodenumberRequired
HTTP status code
Example: 500
errorCodestringRequired
Error code
messagestringRequired
Error message
detailanyOptional
Error details (optional)
post/api/engine/v3/service/{hid}
Clone a MobiusFlow service in a node
post
Clone a service one or more times. The new service SIDs will be sequential (skipping any existing service SIDs) from the start SID or 020 if not provided.
Clone an object one or more times. The new object INSs will be sequential (skipping any existing object INSs) from the start INS or 0001 if not provided.
All MobiusFlow Objects must belong to a service. To add, delete, modify, and view a service's objects you can either click on the main body of a service card on the Service's page or click on the service in the main menu.
You cannot access the objects page for .
For more information on managing objects please refer to the Objects page.
When using TLS you will need to set the correct CA / Server certificates. You can have up to three certificates set. If the connector fails to connect using one of the certificates it will cycle through all three, trying each one until it connects
The default certificates are ISRG Root X1 certificates which are used when connecting to MobiusFlow® hosted instances of MobiusFlow®
You can set the certificate by pasting the certificate text into the selected certificate slot
Setting Client Certificate and Keys
If your setup requires the use of Client certificates you can set up to four different certificates and keys. Paset these into the selected certificate and key slots
Get profiles
get
Retrieve a list of profiles for a specific hub ID optionally filtered by profile IDs
Path parameters
hidstring · min: 6 · max: 6Required
Hub ID of the profiles
Example: 000001Pattern: \b^[0-9A-F]{6}$\b
Query parameters
pidsstringOptional
JSON array of profile IDs to retrieve e.g. pids=["0001","01FF","00A0"] or all profiles if not specified