[SOLVED] First minor success. UI Question

Just managed to create a switch to send a test email
Only took half a day :grinning:

So I had to create a manual item so it appears in the basic UI in order to get it to work?
When everything is set up, which UI should I be using?

Is there a way to lock things down for regular users, so they don’t mess up all the config?

BasicUI is fine, just know that PaperUI is use to setup and configure, not control.

As I’m the only user I’ve never looked at securing my config but one important things to do is create a backup and test that it works. This protects the file from both yourself and others.:grin:

Note, there are a few ways to make a backup and not knowing what OH is running on or how you installed it you’ll need to search to find the best way.

If your not using VScode w/ OH extension to edit and configure files you may want to check it out. It’s a great tool that will save you time and prevent some future headaches.:grinning:

Welcome to openHab!

1 Like

Here is some elaboration on H102’s answer.

OH has lots of UIs. Each UI is really it’s own project.

There are two different types of UIs. Administration UIs and Home Automation UIs.

Administration UIs (PaperUI, Habmin) are used by you, the developer of your bespoke home automation (HA) system to create and administer your system. This includes things like installing add-ons, configuring Things, and stuff like that. Only you as the developer of your HA system will use these UIs. These UIs are pre-created for you.

Home Automation UIs (HABPanel, BasicUI, ClassicUI, phone apps, Habot) are the UIs that you, your family, and your guests use to operate your system. This is the UI that you give to regular users. These UIs are designed by you so you get to control what and how it gets presented to the user.

Not yet but there is some authentication and authorization in work. It may become available in 2.4. With this we might be able to create username and password access to OH, but I don’t know the extent of what we will be able to do with it.

In the mean time, https://www.openhab.org/docs/installation/security.html shows how to set up a reverse proxy that implements authentication for the admin UIs.

It is important to realize though that not all configs can be made through the admin UIs. In particular, rules, certain features of Items, and sitemaps must be created by editing text files. This is what H102 is referring to with backups and using VSCode. Making sure these are backed up will be important. Protecting them from your regular users is probably less important.


Thanks @rlkoshak!

Even if I had your ability to explain things so well, it would have taken me an hour + to type.:rofl:

1 Like

Thanks for the comprehensive answers.