Create an Event Rule to display Icon and Text notifiers
This guide will show you how to create a customized Vehicle panel with a Text and Icon notifiers in it.
Text notifiers are useful to display device input data straight into the Vehicle panel.
In the same way, Icon notifiers are very handy, for example, to quickly understand the status of a signal at a glimpse.
Text and Icon notifiers are linked to Event Rules. Inputs from your devices are captured and generate events that display the values. So we need to create an Event Rule using both Text and Icon as Notifications.
1. Follow the Event Rule step by step guide until step 4.
2. In 4. Expressions, use the following settings:
In our example we want to display the Charging status icon, so we will use the variable Charging.
Select the variable according to the Device Mapper configuration for your devices.
3. On 5. Notifications you need to select the Icon option and add a second choice for Text.
In Icon you will select the icons you want to use when the expression is active/inactive.
4. In Text you can type any text you want and/or combine it with existent variables if needed.
5. In 6. Presentation, we won't select any value. We click on Next.
6. Click on Save to finally save your Event Rule.
Add the columns to the Vehicle Panel
To finally have the changes on the interface, follow these steps:
1. Refresh the browser after the creation of your Event Rule.
2. Add the columns with the names created in step 5. You can read more about adding columns to your workspace here.
3. Save your Workspace.
Usage with Marker Attributes
You can also use both Icon and Text notifiers with Marker Attributes.
1. Open your Marker Attributes in Workspace > Marker Attributes
2. Select the two notifiers created previously
3. Click in Close.
Now you'll be able to see your vehicles with both Notifiers on the map.