Configuration of openHAB

(Andrew Rowe) #90

just out of curiosity, what bindings do you use?

(Rich Koshak) #91

It’s not clear who you are replying to. I always try to tag the user or quote from their post just to make it clear.

I doubt it was me but just in case:

Actively use:

  • Bindings: zwave, astro, expire1, network, http1, mqtt1, mqtt, networkupstools1, nest, openweathermap,
  • UIs: paper, basic, habmin,
  • Persistence: mapdb, influxdb
  • Transformations: map, jsonpath, regex, javascript
  • Misc: openhabcloud, restdocs, market

Installed but not actively used, mainly legacy left overs or stuff I’m learning:

  • Bindings: zigbee
  • UI: habpanal, habot
  • Actions: mail
  • Transformations: xslt

(Andrew Rowe) #92

Sorry Rich, I was asking Yves
thanks anyhow… I believe you’ve told me your personal setup before

(YvesHanoulle) #93

binding = astro,exec,hue,mqtt1,netatmo,ntp,samsungtv,fronius,anel1,neato
hue and ntp not activly used at this moment.
anel1 is the biggest part.

ui = basic
persistence = influxdb
action = mail

all the bindings that need things are configured using .things

Why are you asking?

(Andrew Rowe) #94

Sorry… as stated… just curious
I’m new to OpenHAB, still learning. This is an amazing discussion. I’m watching the development of this platform and am in awe of the work you guys are doing. Your opinion on the configuration is important to this discussion and I wondered how you used the platform

(David Graeff) #95

An example of why .thing files are just super confusing for people:

And another one:

Doesn’t seem to be so hand-edit friendly the current .thing file syntax, is it? :wink:

(Markus Storm) #96

But that’s not because it is text as it seems you want to indicate. It is because of lack of documentation.
As .things were not part of OH1, unlike the well-known and well-working .items format, almost noone ever documented the .things syntax, at least not in a central place and generic form.

(Scott Rushworth) #97

Unmanaged zwave Things are also very troublesome, because you can’t configure them, although this applies to more than zwave. Hopefully, one day we can get this in place. But personally, I don’t mind managed Things… Items are a different story.

(Christian W) #98

worked my way through this thread - still sane i think :slight_smile:

And I still believe there is a way to make every one happy.

The new tablet guy, who wants todo everything with his UI. No idea what a backup is but wants his ‚undo‘ button.

The full control text only guy with partly distributed config over several systems - all productive versions surely resting inside a git

Hopefully respecting the work already done in the OH2 core :thinking:

Import/ Export ( aka Backup Restore) be available
through GUI and through commandline.

Now the new part.

There should be an option to configure a custom command after an backup. And a configuration when a backup should happen (on regular base/ on change of…).
This way you could always have an up to date text based backup file. To distribute edit an import on all systems you like even automatic.

The storage provider (jsondb as i understood)
should keep track of changes to the configuration. So when the serialization happen, the old db will be moved to a (rolling?) history. Or if git is fast enough it will do through git. Every serialazation a new commit? A diff Function could show changes between those ‚snapshots‘ in the ui.

It still is a lot of work but should much less then replacing current runtime storage concept.

What do you think?

(David Graeff) #99

The planned backup service will allow to run commands after an export and will on its own be able to backup to a git repository. But that’s not enough for the hardcore textual fraction. I don’t see a solution.

My idea is to make .thing/.item file support an installable service instead of being part of the core. Whoever want to stick to those files can do so. Everybody else can use the backup service.

(marcel_erkel) #100

Objection Honorable Moderator. There’s no proof that text users are only a fraction! :wink:

(Rich Koshak) #101

The poll at post 5 of this thread seems to provide strong evidence that Textual only users are indeed in the minority. 93% of users use the GUIs, 8% of those would prefer GUI only.

What is not known is how many of that 88% would change their vote if the UIs were actually up to the task (see the PaperUI-ng Design Study).

This poll also meets with my experience helping users on this forum. The non-technical users, who will become the majority of OH users if this hasn’t happened already, will prefer the GUI to text based configs every time.

(Juelicher) #102

I also voted for GUI and text, also I personally use text files nearly always. Reasons for my vote: Sometimes a GUI is nice for checking things and I see the benefits if a GUI for new users.

It probably depends in the used bindings. I could probably configure my handful of Hue devices using the GUI. On the other hand I would not even consider this for my several hundred KNX channels.

So no, I would not change my vote to GUI only, regardless of the GUI changes.

(David Graeff) #103

This is also a GUI, and it allows batch editing, copy&paste etc:


(marcel_erkel) #104

There’s 3 types of lies: lies, damn lies, and statistics :slight_smile:

These numbers don’t mean much. How many openHAB users are there world wide and how many of those are active on the forum and actually read this thread and took time to vote? I think we’re talking about a minority here. So based on this pole we should not draw any conclusions.

Also, I agree that there needs to be a GUI for those who prefer to use a GUI. That’s why I voted ‘both’. I also use both, but if I’d need to choose between either GUI or Text, then I’d choose Text.

I’m fine with the text export/import proposal. That would work for me.

(Rich Koshak) #105

There are no statistics presented. Just raw unmanipulated numbers.

Based on usage somewhere around 20k I think.

About 150 according to the poll. Which is probably about 50% too small of a sample size for a population of 20k. And the people who voted are volunteers instead of randomly selected. But that doesn’t completely invalidate the poll entirely. It still presents useful information. But the disparity between the “both” and the “only one way” votes is large enough that I would not expect them to flip with a larger sample size.

So in the absence of perfect information we should reject any information? I’m sorry but I cannot agree. We will never have perfect information. And I’m not saying the above is proof that text only users are the minority. I am saying it is evidence.

And as another piece of evidence I sited my considerable experience helping people on this forum.

Are these proof? No. I never claimed they are. But they are evidence and to just blindly reject them because they are not perfect is not helpful or useful.

Do you have any evidence to support the counter argument?

My comment was not intended to mean that I would expect a lot of people to change their vote. I literally meant I don’t know. It could be none, it could be most. Maybe some GUI only votes will move to the both category. I can’t predict it except to say that I would expect the numbers to change somehow.

(Joachim Boeddeker) #106

No. The poll question is " How should the configuration be done in future? "

And the single thing which is clear, is that the configuration should be done via GUI & Text. The minorities are the people who want the configuration should be done via one or the other.

I voted GUI & Text, not because i intend to use the GUI anyhow, but because a GUI should exist for others.

Your assumption would be less wrong, if the question had been “How do you plan to configure openHAB?”. The single thing i use the PaperUI for is installing addons. I could use text in that case, i did not yet.

According to my opnion the there is a relation between number of things/items and preference for text. I wouldn’t use text for 20 things and i wouldn’t think of using a GUI for my 200+ things.

(David Graeff) #107

Can we just repeat the poll with the correct question and more differentiation regarding what is meant with “GUI”? As I have posted above, GUI can also be a text field. Does textual configuration means the command line, does it mean physical existing files?

Cheers, David

(Juelicher) #108

Yes and I ise Kate too, but there are a lot of tasks where other tools like sed, awk, grep or one of the various diff tools are better suited.

(YvesHanoulle) #109

I voted GUI + Text
even if I only want text myself.
I voted for including gui because I think it’s necessary for starting for most people.