2017-08-18 17:17:24 +02:00
# Dashboard
The openHAB dashboard is a landing page for the user where all openHAB UIs can be found.
2017-12-10 16:39:55 +01:00
The Dashboard also supports links to external services.
Links can be added to the dashboard by editing the `$OPENHAB_CONF/services/dashboard.cfg` configuration file.
2017-08-18 17:17:24 +02:00
## Link Configuration
2017-12-10 16:39:55 +01:00
| Parameter Name | Type | Description |
|-------------------------------|---------|-----------------------------------------------|
| `<unique-name>.link-name` | String | Name which is shown in the openHAB dashboard. |
| `<unique-name>.link-url` | String | URL to external service. |
| `<unique-name>.link-imageurl` | String | URL to image which is shown in the dashboard. |
2017-08-18 17:17:24 +02:00
Where `<unique-name>` is link unique identifier (see examples).
2017-12-10 16:39:55 +01:00
### Image
2017-08-18 17:17:24 +02:00
2017-12-10 16:39:55 +01:00
A png image of 350px width and 200-250px height are recommended.
2017-08-18 17:17:24 +02:00
2017-12-10 16:39:55 +01:00
The `imageurl` property can either be a direct HTTP link or data URIs according to [RFC2397 ](https://tools.ietf.org/html/rfc2397 ). If data URIs are used, browser should support them as well. All five major browsers (Chrome, Firefox, IE, Opera and Safari) support data URIs. See e.g. [https://www.base64-image.de ](https://www.base64-image.de ) to convert images to base64 coded data.
## Example Configuration File
2017-08-18 17:17:24 +02:00
```
frontail.link-name=openHAB Log Viewer
frontail.link-url=http://< server-adddress > :9001
frontail.link-imageurl=../static/image.png
nodered.link-name=Node-RED
nodered.link-url=http://< server-adddress > :1880
nodered.link-imageurl=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXwAAACfCAIAAA...QmCC
```
Note: **nodered** image data URL is not valid (it's shorten for the sake of clarity).