Image Widget

The widget allows you to build and/or modify.

How it works

Image Image

Once the widget is configured, an image will be displayed with the configured data.

Icon Menu

Data can be viewed as icons positioned over the image, which we can interact with to view information about them:

  • Stream status: “Last Value” widget displaying datastream information, such as the last value and trends.
  • Historical data: “Data Points” widget in table format, showing the data stream’s historical data.
  • View Chart: “Data Stream history” widget displaying the data stream’s evolution in chart form.
  • View tracking data: “Tracking” widget showing the entity’s location on a map (only applicable if it’s a location-type data stream).

Widget Menu

Image menu action Image menu action

The following actions can be performed:

  • Capture screen: Takes a screenshot of the widget.
  • Duplicate widget: Creates a duplicate of the widget on the dashboard.
  • Copy widget: Copies the widget to another dashboard.
  • Change widget location: Moves the widget to another dashboard.

Configuration

Configuration Configuration

Image Upload

General General

From here, we can upload the image to display and its format.

Icon Configuration

Icon Icon

Using the + button, we can add icons to the image.

Existing icons can also be edited by clicking on them.

We can configure:

  • General:

    Icon general Icon general

    • Entity key: Device from which we will obtain the data
    • DatastreamId: Data stream whose value will be displayed on the icon
  • View:

    Icon view Icon view

    • Name: Alias for the selected field to display
    • Test Value: If this data is filled in, a preview of how the widget will look with the value given to the datastream will be displayed in the configuration.
    • Symbol: Unit for the value
    • View mode: Type of data visualization

    View mode View mode

    • Value: Value in text format (default mode).

    • Icon: Display an icon (Symbol field) along with the value in text mode.

    • Battery (Percent): Display the value within a battery. Reference values will be configured in the “Chart colors” panel.

    • Bar (Percent/Range): Display the value in a bar. Reference values will be configured in the “Chart colors” panel.

    • Gauge (Percent/Range): Display the value in a gauge-type graph. Reference values will be configured in the “Chart colors” panel.

    • Choose an icon: Icon to display (for Icon mode).

    • Choose color: Icon color.

    • Alignment: Alignment of the value (Value and Icon modes) in the widget.

    • Size: Value size.

    • Extra information: Extra information to display in the widget along with the value.

    • FORMATTER: Opens a panel where you can format the value. Formatter Formatter

  • Advanced: View mode View mode

    • Prevent override entity identifier in templates

Advanced

General General

  • Historical data graph: Display a graph showing the value’s evolution over time
  • Statistical data graph: Display statistical data
  • Choose a period: Period for sampling statistical data and its visualization in the value evolution graph.
  • Trend: Assign a color based on the value’s trend

Visualization

Visualization Visualization

Certain elements of the graphs displayed in the widget can be configured:

  • Background color
  • Hide details header panel: Removes the menu that allows modifying the type of visualization as well as the type of value to display.