Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web based menu #1180

Open
mstormi opened this issue Oct 11, 2020 · 8 comments
Open

Web based menu #1180

mstormi opened this issue Oct 11, 2020 · 8 comments
Labels
base system Related to the base system help wanted Extra attention is needed nice to have Makes life easier openHAB related Must be important

Comments

@mstormi
Copy link
Contributor

mstormi commented Oct 11, 2020

Following up on https://github.com/orgs/openhab/teams/openhabian-maintainers/discussions/3, we should "upgrade" openhabian-config to provide a Web interface rather than the current shell CLI (or in addition to it).
This will allow users to get along without SSH, bash etc.
It'll also allow for greater UX since we can integrate with OH's admin GUI.

As an intermediate step to take effect as per today already, all features should be made to work in 'unattended' AND 'interactive' mode. They must not retrieve individual values from openhabian.conf but leave that to a routine at the very beginning to source the complete conf file and set all variables in one go. This part then is to be replaced by the web interface.
Potentially any web framework would then "just" need to collect input from users (more or less copy'n paste what the current code does in interactive mode) to set the variables and finally execute the existing install routines in unattended mode.

For your attention: I've updated CONTRIBUTING.md.

Any helping hand from a web frontend designer will happily be taken !

@mstormi mstormi added this to the Upcoming Development milestone Oct 13, 2020
@mstormi mstormi added base system Related to the base system new openHAB related Must be important help wanted Extra attention is needed labels Oct 13, 2020
@paulianttila
Copy link

paulianttila commented Oct 18, 2020

Maybe e.g. https://cockpit-project.org could be used as a framework (Red Hat sponsored project).

It give basic information out of the box and it can be easily extended.

t'll also allow for greater UX since we can integrate with OH's admin GUI.

Not sure about this, but it should be possible as well

Branding is also supported and highly recommended

Cockpit is only the project name
People using Cockpit should feel they are interacting with the underlying Server OS. Cockpit can look different on different operating systems, because it’s the UI for the OS, and not an external tool.

Thus the UI should never actually show the ‘Cockpit’ name, but call the server by its name or operating system.

@flo-mic
Copy link

flo-mic commented Dec 29, 2020

Regarding an admin GUI. I‘m not sure if it makes sense to build a admin GUI from stretch. Do you know webmin, it is a nice tool that is widely used? This has already great system features like an web based shell or performance measurement data on a dashboard.

I would suggest to use webmin and customize this. Remove unneeded modules and develop own custom modules that offer the features from the ch-cli. Maybe also add some log viewer in it.

@WolfgangSn
Copy link
Contributor

Have you thought about using shell-in-box ( https://code.google.com/archive/p/shellinabox/ ) ?
see also https://www.tecmint.com/shell-in-a-box-a-web-based-ssh-terminal-to-access-remote-linux-servers/
Assumed that this works you could maintain one script and use it via ssh access as well as in the browser.

@mstormi
Copy link
Contributor Author

mstormi commented Jan 13, 2021

@ecdye ecdye linked a pull request Jan 17, 2021 that will close this issue
@ecdye ecdye removed the new label May 17, 2021
@mstormi mstormi added the nice to have Makes life easier label Nov 13, 2021
@mstormi
Copy link
Contributor Author

mstormi commented Nov 13, 2021

I assume no feedback in various months means no interest in getting this finalized?

Any input, anyone ?

@tflyx
Copy link

tflyx commented Dec 2, 2021

The feature would bei great to have. Unfortunately my linux skills are to bad to support build IT.

@miloit
Copy link

miloit commented Mar 31, 2022

Is this followed up somehow?

@ecdye
Copy link
Contributor

ecdye commented Mar 31, 2022

No, you are welcome to work on this if you would like. I don't have the time nor expertise to create something like this right now. While it is an excellent suggestion, it is not a super high priority at the moment.

@mstormi mstormi removed this from the Upcoming Development milestone Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
base system Related to the base system help wanted Extra attention is needed nice to have Makes life easier openHAB related Must be important
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants