openhab-docs/_actions/openwebif
John Cocula aa2ab2cac1 [Add-ons] Generate as Jekyll Collections instead of Jekyll Pages (#355)
* Generate addon docs as Jekyll Collections instead of Jekyll Pages

Simplifies a lot of Jekyll, makes custom addon layout possible.

Signed-off-by: John Cocula <john@cocula.com>

* Adds-on (all but bindings) in user menu

Signed-off-by: John Cocula <john@cocula.com>

* Added openhab-distro submodule

Signed-off-by: John Cocula <john@cocula.com>
2017-03-02 01:08:44 +01:00
..
readme.md [Add-ons] Generate as Jekyll Collections instead of Jekyll Pages (#355) 2017-03-02 01:08:44 +01:00

readme.md

id label title type description source since install
openwebif OpenWebIf OpenWebIf - Actions action The OpenWebIf action allows you to send a message to enigma2-based Linux satellite receivers (Dreambox, VU+, Clarke-Tech, ...) with the installed OpenWebIf plugin. https://github.com/openhab/openhab1-addons/blob/master/bundles/action/org.openhab.action.openwebif/README.md 1x manual

{% include base.html %}

OpenWebIf Action

The OpenWebIf action allows you to send a message to enigma2-based Linux satellite receivers (Dreambox, VU+, Clarke-Tech, ...) with the installed OpenWebIf plugin.

Configuration

Configure your satellite receivers in services/openwebif.cfg.

Property Default Required Description
receiver.<name>.host For example, vusolo2
receiver.<name>.port For example, 81
receiver.<name>.user For example, root
receiver.<name>.password
receiver.<name>.https For example, false

Configuration Example

receiver.main.host=vusolo2
receiver.main.port=81
receiver.main.user=root
receiver.main.password=xxxxx
receiver.main.https=false

Action

Now you can send a message to the configured receiver:

  • sendOpenWebIfNotification(NAME, MESSAGE, TYPE, TIMEOUT)
Parameter Meaning
NAME The configured name of the satellite receiver
MESSAGE The message to send to the receiver
TYPE The message type (INFO, WARNING, ERROR)
TIMEOUT How long the text will stay on the screen in seconds

Examples

sendOpenWebIfNotification("main", "Hello World!\n\nThis is a message sent from openHab!", "WARNING", 10)