openhab-docs/_bindings/configadmin1
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
configadmin ConfigAdmin ConfigAdmin - Bindings binding With this binding it is possible to dynamically change settings that are defined in the Configuration Admin Manager of OSGi, where all configuration data are kept for openHAB. The various `.cfg` files are as such used to define the initial configuration, while you can use this binding to change values during runtime, simply by sending a command to an item. https://github.com/openhab/openhab1-addons/blob/master/bundles/binding/org.openhab.binding.configadmin/README.md 1x manual

{% include base.html %}

ConfigAdmin Binding

With this binding it is possible to dynamically change settings that are defined in the Configuration Admin Manager of OSGi, where all configuration data are kept for openHAB. The various .cfg files are as such used to define the initial configuration, while you can use this binding to change values during runtime, simply by sending a command to an item.

Binding Configuration

This binding does not itself have a configuration.

Item Configuration

The syntax for the ConfigAdmin binding configuration string is:

configadmin="<pid>:<command>"

where <pid> can be configured either fully qualified with preceding org.openhab or without it as a shortcut. In case no '.' is found within the pid it is prefixed with org.openhab.

Here are some examples of valid binding configuration strings:

configadmin="dropbox:syncmode"
configadmin="org.openhab.gcal:refresh"

Examples

Switch    Dropbox_OnOff      "Activate Sync"   (State)   { configadmin="dropbox:activate" }
String    Dropbox_SyncMode   "Syncmode"        (State)   { configadmin="dropbox:syncmode" }