GekoCH / informational-header

Displays customizable, interactive notification items after the dashboard name.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Informational Header

This is a HABPanel widget. It displays customizable, interactive notification items after the dashboard name.

Example of a dashboard with informational-header

Installation

-or-

  • Download informational-header.widget.json
  • Import it from the HABPanel settings interface

Configuration & Usage

  • Notifications should be separate items and be member of a group you set in <Notifications Group Name>.
  • Style the notification with Bootstrap3 button classes by adding one of these classes to your item's tags: "btn-default", "btn-primary", "btn-success", "btn-info", "btn-warning", "btn-danger".
  • Give the buttons an additional glowing animation by adding "glow" to the item's tags in addition to the btn-color-classes.

See examples/notifications.items for a working example.

HABPanel configuration example

Interactivity & Rules

In the settings of the widget, you can choose a command to be sent, when you click or tap the notification. This can be used to fire rules that listen to received command OFF commands.

For example, you could stop a flood alarm, turn off your whole-house-audio system, reset energy meters or anything else that may need context-sensitive interaction.

Contributing

Feel encouraged to open up issues on GitHub, fork, improve the code and discuss in the official openHAB Community forums thread

About

Displays customizable, interactive notification items after the dashboard name.

License:MIT License