oooh you are right. I’m sorry for that.
On order to add legacy 1.x bindings through configuration files, this is how your /etc/openhab2/services/addons.cfg
could look like (with examples):
# The base installation package of this openHAB instance
# Valid options:
# - minimal : Installation only with dashboard, but no UIs or other addons
# - standard : Typical installation with all standards UIs
# - demo : A demo setup which includes UIs, a few bindings, config files etc.
package = standard
# Access Remote Add-on Repositories
# Defines whether the remote openHAB add-on repository should be used for browsing and installing add-ons.
# This not only makes latest snapshots of add-ons available, it is also required for the installation of
# any legacy 1.x add-on and all experimental features. (default is false for offline distro, true for online distro)
#
remote = true
# Include legacy 1.x bindings. If set to true, it also allows the installation of 1.x bindings for which there is
# already a 2.x version available (requires remote repo access, see above). (default is false)
#
legacy = true
# Include experimental add-ons. If set to true, it also allows the installation of extensions that are not (yet) part
# of the official distribution and need further testing (requires remote repo access, see above). (default is false)
#
#experimental = true
# A comma-separated list of bindings to install (e.g. "sonos,knx,zwave")
binding = astro,homematic,sonos,xbmc,exec,mqtt,network,ntp,samsungtv
# A comma-separated list of UIs to install (e.g. "basic,paper")
ui =
# A comma-separated list of persistence services to install (e.g. "rrd4j,jpa")
persistence = influxdb
# A comma-separated list of actions to install (e.g. "mail,pushover")
action = pushover,xbmc
# A comma-separated list of transformation services to install (e.g. "map,jsonpath")
transformation = map
# A comma-separated list of text-to-speech engines to install (e.g. "marytts,freetts")
tts =
# A comma-separated list of miscellaneous services to install (e.g. "myopenhab")
misc =
Please be aware, that your configuration might lack parts of the shown options. In this case, please just add them from here!
Which addons are there, how are they called? In the offline installation you can check the content of /usr/share/openhab2/runtime/system/org/openhab/binding
(replace “binding” by ui or whatever you need):
[17:28:37] pi@openHABianPiW66a:~$ ll /usr/share/openhab2/runtime/system/org/openhab/binding
total 412K
drwxrwxr-x 103 openhab openhab 4.0K Oct 29 15:47 ./
drwxrwxr-x 12 openhab openhab 4.0K Oct 29 15:47 ../
drwxrwxr-x 3 openhab openhab 4.0K Oct 29 15:47 org.openhab.binding.alarmdecoder/
drwxrwxr-x 3 openhab openhab 4.0K Oct 29 15:47 org.openhab.binding.amazondashbutton/
drwxrwxr-x 3 openhab openhab 4.0K Oct 29 15:47 org.openhab.binding.anel/
drwxrwxr-x 3 openhab openhab 4.0K Oct 29 15:47 org.openhab.binding.astro/
drwxrwxr-x 3 openhab openhab 4.0K Oct 29 15:47 org.openhab.binding.autelis/
drwxrwxr-x 3 openhab openhab 4.0K Oct 29 15:47 org.openhab.binding.avmfritz/
...
...