[SOLVED] Initial Setup Package Selection using addons.cfg

yes - and that’s well within /etc/openhab2/* isn’t it? :wink:

then you have even confused me even more.
What are you complaining about?

not complaining at all - just trying to help. I figured from your answers, that you’re confused mainly by two Things:

  1. how to edit config-files
  2. which config-files to use in the first place

That’s it - and I hope, I answered those two in a clear way…

I don’t use addons.cfg, i install via PaperU. I just posted my addons.config for the relevant names, which were in question. (But i also didn’t notice cfg vs. config :wink: )
Sorry for confusing.

1 Like

" place for editing files is /etc/openhab2/* - nowhere else!"
I have no idea why you made this remark.
I was talking about a file that was in this location.
This remark distracts from the discussion.

  1. which config-files to use in the first place
    As far as I know, I never had that issue. Now sure why you think that. What am I writing that shows that I’m using the wrong files?

your answer helped me to show me the way the configurations were written / read.
Even if it’s a different file, the general way is similar.

To bring this to an end: no, it is not the way the config parameters have to be written! That screenshot shows doublequotes and in your addons.cfg you must not use doublequotes.

Example for addons.cfg in /etc/openhab2/services/:

# The installation package of this openHAB instance
# Note: This is only regarded at the VERY FIRST START of openHAB
# Note: If you want to specify your add-ons yourself through entries below, set the package to "minimal"
# as otherwise your definition might be in conflict with what the installation package defines.
#
# Optional. If not set, the dashboard (https://<yourserver>:8080/) will ask you to choose a package.
#
# Valid options:
#   - minimal  : Installation only with dashboard, but no UIs or other add-ons. Use this for custom setups.
#   - simple   : Setup for using openHAB purely through UIs - you need to expect MANY constraints in functionality!
#   - standard : Default setup for normal users, best for textual setup
#   - expert   : Setup for expert users, especially for people migrating from openHAB 1.x
#   - demo     : A demo setup which includes UIs, a few bindings, config files etc.
#
# See http://docs.openhab.org/configuration/packages.html for a detailed explanation of these packages.
#
package = minimal

# Access Remote Add-on Repository
# 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. (default is true)
#
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

# A comma-separated list of bindings to install (e.g. "sonos,knx,zwave")
binding = astro,caldav-command1,expire1,harmonyhub,http1,amazondashbutton,mqtt1,network,tinkerforge1,mihome,hue

# A comma-separated list of UIs to install (e.g. "basic,paper")
ui = classic,basic,paper,habpanel,habmin

# A comma-separated list of persistence services to install (e.g. "rrd4j,jpa")
persistence = influxdb,mapdb

# A comma-separated list of actions to install (e.g. "mail,pushover")
action = mail

# A comma-separated list of transformation services to install (e.g. "map,jsonpath")
transformation = map,regex,xslt,exec,javascript,scale,xpath,jsonpath

# A comma-separated list of voice services to install (e.g. "marytts,freetts")
#voice = 

# A comma-separated list of miscellaneous services to install (e.g. "myopenhab")
misc = restdocs,market,openhabcloud
2 Likes

I’m not sure, if @Yves wants our help in the first place, to be honest. #ranting

I think it was just a language hickup … Belgians and Germans talking English makes it complicated :grinning:

if it’s lost in translation, then I apologize, but my impression from someone posting three ranting answers in a row of 5mins is another, though.

(I do hope, it’s only language incompatibility :beers:)

I asked specific help and you keep talking about things I did not ask.
If you insist on resqueing on other stuff, please make sure it’s clear that you talk about other things.

I never mix different answers to different problems into one answer. For other users that is very confusing. Unfortunatly the discussion forum does not clearly show to what question what answer is replying to.

to show me the way the configurations were written

to bring this to an end: no, it is not the way the config parameters have to be written! That >screenshot shows doublequotes and in your addons.cfg you must not use doublequotes.
My confusion of the double quotes comes from
(e.g. “basic,paper”) in the “Example for addons.cfg in /etc/openhab2/services/:”

WHat I was asking for right from the start was the exact names for the items.
The example file that @job posted gave me exactly that.
Once I know that I have the right names, I can look at what other sytax is wrong.

As long as I don’t know what these exact names are, I kepe changing the names.
So yes Joachim was helping me as he answered the original question I specificly asked.

Your first reply helped me to see I did not needed to use double quotes and from that moment my problem was solved.

I did not need any help anymore, I pointed out that the documentation was unclear and my goal was to fetch the documentation on another machine next weekend and fix the thing that is unclear.

For your information, the addons.cfg inline documentation is updated so it’s much clearer what is there to write.

2 Likes

Thx.

Old (excerpt):

# A comma-separated list of bindings to install (e.g. "sonos,knx,zwave")
#binding =

New:

# A comma-separated list of bindings to install (e.g. "binding = sonos,knx,zwave")
#binding = 
feature:install openhab-httpclient

Is it possible to add this feature in the addons.cfg file? Is it a binding or a feature?

Synology OH2.3 version is not keeping openhab-httpclient feature installed (after cleaning up /cache and /tmp) even though I have http1 in the addon’s already which I thought it would be the same thing but it seems like it’s not.

openhab-httpclient is needed for the new Amazon Echo BETA binding.

Please advise . . .

Best, Jay

Question: if you use PaperUI for installing bindings, your addons.cfg is completely commented out?

thanks
Andrea

I don’t use http, yet I would assume it’s the same as every other binding

next line in addons.cfg
binding = http

I think it’s always commented out. The idea of the file is you write it yourself.