openhab-core/bundles/org.openhab.ui.dashboard
Markus Rathgeb e57044e13c Rework / formatted manifest (#211)
* reworked and formatted manifest
* added missing jdt.annotation

Related to: https://github.com/eclipse/smarthome/pull/4308

Signed-off-by: Markus Rathgeb <maggu2810@gmail.com>
2017-09-21 08:16:38 +02:00
..
.settings code cleanup to match expectations of static analysis tool (#151) 2017-06-02 16:40:55 +02:00
META-INF Rework / formatted manifest (#211) 2017-09-21 08:16:38 +02:00
OSGI-INF Use new NetworkAddressService for Dashboard (#191) 2017-08-15 12:14:54 +02:00
src/main/java/org/openhab/ui/dashboard Updated outdated copyrights (#197) 2017-08-20 09:56:41 +02:00
templates Dashboard cosmetic fixes: non-relative REST url + css folder created (#186) 2017-08-15 13:13:24 +02:00
web Dashboard cosmetic fixes: non-relative REST url + css folder created (#186) 2017-08-15 13:13:24 +02:00
.classpath code cleanup to match expectations of static analysis tool (#151) 2017-06-02 16:40:55 +02:00
.project initial commit of openhab core components 2015-12-26 23:22:23 +01:00
about.html added about files 2017-04-07 16:26:59 +02:00
build.properties Dashboard: Add DS annotations as optional dependency (#192) 2017-08-15 13:51:31 +02:00
pom.xml Version bump to version 2.2.0-SNAPSHOT (#160) 2017-06-29 08:45:25 +02:00
README.md Added support for dashboard links to external services. (#185) 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. Dashboard support also links to external services. Links can be added to the dashboard by editing the conf/services/dashboard.cfg configuration file.

Parameter name Type Description
.link-name String Name which is shown in the openHAB dashboard.
.link-url String URL to external service.
.link-imageurl String URL to image which is shown in the dashboard.

Where <unique-name> is link unique identifier (see examples).

Image URL

Browser fetch image from image URL. URL can be direct http link or data URIs according to 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 to convert images to base64 coded data.

Example configuration file

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).