Skip to content

User Guide: Manager UI

Pierre Kil edited this page May 20, 2021 · 140 revisions

The Manager UI is the dashboard which gives you access to OpenRemote, and allows you to configure, monitor, and control your IoT platform. We'll explain the main features of the Manager UI, sometimes referring to examples from the online Demo, for which you only have access in 'read' mode. To have full 'admin' access to all functionality you will first need to install OpenRemote. If you prefer watching a video, rather than reading, check out the Introduction Videos.

OpenRemote Manager

To access the Manager you will first need to login with the correct credentials (admin/secret for your local installation). Note that our account management and identity service includes features like a 'forgot password' flow. See Keycloak documentation for more details.

If you open the application you will get four main views: Map (Figure 1), Assets (Figure 2), Rules (Figure 6-8), and Insights (Figure 9). We'll discuss all views as well as the additional settings and account pages.

Map

The Map view will show your map (see the custom deployment wiki to change your map). You can move, zoom, tilt, and pan the map. On the map all your assets are shown which have a location as well as the configuration item 'show on dashboard' selected. Assets can both have static or dynamic locations (eg. a car, boat or plane). Once you select an asset a panel will appear, summarising the attributes of the asset and their current values. The 'Asset details' button in this panel will bring you to the respective Asset page.

Figure 1. The Map view, here with the Demo Smart City, showing the map with different attributes across the City

Assets

The Asset view gives you access to the respective Assets and related attributes. You will see the assets and the tree structure on the left. On the right you will see the Asset page, which contains a panel with all Attributes, a Location panel (if any) and a History panel (if any data is stored).

The Attribute panel will give an overview of all attributes and their units. For those attributes which can be changed via the UI, and for which you have the 'write' role as a user, you can type a value and press 'enter' or press the 'send' arrow on the right (e.g. in below example the Carbon dioxide value is assumed to be a manual input)). Other attribute values could be coming from sensors or are automatically controlled by rules.

Figure 2. An asset of the type 'environment'

Creating an asset

have a look at the video Integrating with OpenRemote.

With the correct permissions, you can create a new asset on the Assets page by clicking the + in the header of the asset tree. This will open a modal that shows the available asset types. When you select one you will see the attributes and optional attributes. The latter ones can be added by selecting them. Also decide whether it needs a parent, before you click Add. With the asset added, you will see the asset (and asset page) appear in the asset tree on the left.

Figure 3. Creating an asset of the type 'environment'

Often you will want to add or modify the attributes to define how they are used in the system, e.g. get values through agent link, make the attribute available in rules, or format its value. We'll explain that next.

Adding an attribute

On the Assets page enable 'Edit mode' and click + Add attribute at the bottom of the list of attributes. In the modal you can choose attributes already associated with the asset type of the asset, or you can create a custom attribute. The custom attributes should have a camelCase name, which will automatically be translated to Sentence case with spaces. You can create attributes of prepared attribute types that are known by the system.

Figure 4. The Asset view in 'Edit mode' (left) and adding an attribute (right)

Configure attributes

Link to Assets, Agents and Attributes

Creating an agent

Figure 5. Creating an Agent, using the HTTP Agent (left) creates the Agent asset page (right)

Linking agents and assets

Rules

The Rules view (only visible in the desktop version, see figure 3) allows you to build three types of rules:

  • WHEN-THEN: allows you to set Left Hand Side conditions of available attributes, and trigger a Right Hand Side action for another attribute.
  • FLOW: allows for processing attributes and converting them into new attributes.
  • GROOVY: programming any advanced logic, using attributes in the system. All rules have the option to use a time scheduler, which allows for have rules activated on a time schedule with a recurrence.

WHEN-THEN Rules

Figure 6. A WHEN-THEN Rules example, which shows how, on the lefthand-side an asset attribute condition can be selected, while on the righthand-side the action is selected.

Manager Rules Scheduler Figure 7. The Rules trigger frequency (left) as well as time scheduler (right) allows for defining when rules are triggered and active

Flow Rules

Manager Rules Scheduler Figure 8. Flow rules to process data (left) and Groovy rules for programming more advanced logic (right)

Groovy Rules

Global versus Realm Rules

Insights

The Insights view (only visible in the desktop version, see figure 4) allows you to create a single page report:

  • Chart: allows you to select multiple attributes in the system and compare them (vertical comparison). By adding a second period you can also compare attributes for different time periods
  • Attribute panel: allows for picking individual attributes, eg. KPIs and see there current performance over a period, as well as their relative or absolute change.

Figure 9. The Insights view of the Demo Smart City, showing the soil temperature at Leuven Haven and a few random attribute panels.

Settings and accounts

Interconnect Manager instances

Figure 10. Several OpenRemote instances can be interconnected, e.g. connecting multiple instances on edge gateways to one central cloud hosted instance. The Manager Interconnect page, used at the edge instances creates the keys (left) which are used on the central instance by adding Edge gateway Assets (right).

Languages

Logs

Figure 11. The Logs page to evaluate system behaviour.

Account, Users, and Roles

Figure 12. The account page which allows setting e.g. contact details (left) and reset passwords (right).

Figure 13. Creating users for a selected Realm and assigning roles (left). Also service users are created here (right)

Figure 14. Roles can be defined which can be linked to individual users

Realms

Figure 15. Realms can be created to manage multiple independent projects within one OpenRemote instance

Manager APIs

Service users

MQTT, Websocket and HTTP

See Also

Clone this wiki locally