-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
DietPi-Software | openHAB #3857
Comments
Hi, many thanks for your request. For reference, the already open FeatHub request's |
Great, I will close this then |
It is good to have a GitHub issue opened as well. There was already one but let's keep the new one: #1117 Hmm, will check if I can somehow merge those two FeatHub requests. Hmm, generally there is a lack of development on that platform, code is not on GitHub (anymore), all empty: https://github.com/feathub |
Found this guide on the web https://levelup.gitconnected.com/how-to-implement-login-with-github-in-a-react-app-bd3d704c64fc |
Hello has there been any movement on this feature request? I'm happy to provide the command lines to install openhab on any Linux system, as shown on this how-to page https://www.openhab.org/docs/installation/linux.html Essentailly, this is all that is needed
It will then be accessible on ports 8080 or 8443 FYI I'm happy to test and report as required. Currently, I install almost everything via the DietPi Software menu, with the exception of openHAB and Velbus-tcp I have written a tiny script to install and configure the velbus-tcp snap package |
Can those ports be changed? As we have many software options which use (or would use) these ports already, do avoid port conflicts, we'd need to change them.
Skip that. Since Debian Buster, this is a transitional dummy package only, as HTTPS support is natively integrated into APT. |
Hi Michalng
In theory yes, just a matter of editing the configuration file and restarting openhab. https://www.openhab.org/docs/installation/security.html#webserver-ports In the top section of this file
I assume you have magic code for doing this? You would have to make an announcement at the end of the setup about it being on |
Right, I'll see if I can pass that comment to the openHAB Wiki editor |
A minor detail as I think DietPi pulls down Java11 anyway, but if not, it's worth noting that openHAB now only works on Java 11 |
That's a problem as it does not work with the current default Debian Bullseye Java version (17) then 🤔. We are however switching to Adoptium Temurin Java most likely, to make e.g. newer Minecraft versions run on Debian Buster. This would mean that multiple Java versions can be installed concurrently, based on the installed software needs, which makes everything much more flexible. Only ARMv6 (RPi1 and Zero) do not support those Java builds, but only Raspbian's OpenJDK 8 package. |
My Odroid C4 is showing as having
Let me know how to upgrade the java to the version you want to deploy and I'll run openHAB against it |
As long as you did not manually upgrade, the Odroid runs a Debian Buster, so Java 11 is expected there. It can also be installed on Bullseye, but apt install openjdk-17-jre-headless |
Hold on, I'll fire up brand new machine and see what has been installed (I try to do as much as possible from your software menu, so that anyone coming to the machine after me knows where to go) |
Ummm This again This has been happening on two new machines. (this time, I simply tried dietpi-software reinstall 8` to see what happens to the Java version.)
Specifically, this section keeps blocking any progress
Is this article of any use? Or is there something I need to be doing? Can I or even should I do anything in this folder? I did download a fresh DietPi image for C4 yesterday and try that, but it was exactly the same. |
I just resynced the mirror and removed that file from the Cloudflare cache. Interestingly, I tried to disable it by setting the Note that our current Odroid images are not yet migrated to Bullseye, so if you want to test it with Java 17 on an Odroid, you need to upgrade manually: https://dietpi.com/blog/?p=811#2.2-manual-upgrade |
Yep that has fixed it 😄 I'll see what happens now when I try to re-install Java
Arrr, right. What would you suggest? or rather, what do you want me to do, in order to assist in getting openHAB into the menu? |
Indeed.... Odorid C4, shows only Java 11
What do you suggest I do? |
If you have time, upgrading via linked guide to Bullseye and then testing openHAB with Java 17 would be nice. But probably it is faster to check the docs, ask them or checking the GitHub repo: https://github.com/openhab/openhab-core However, I personally will implement a fix for Minecraft first anyway, hence a multi Java version support, so afterwards that question is not so important anymore. And then openHAB is the highest rated software title on FeatHub counting the duplicating two open requests for it + it is comfortable to implement with the APT repository. So yep, I'll start with this at latest with next development cycle for DietPi v7.7. |
Arr, right. If I get time tomorrow I'll take a fresh image and update it, but as you say, if you add support for multi JAVA versions, it cesses to be an issue. |
You mean the Java binary? That is good. I'd otherwise have created a systemd unit override to hack the correct binary inside, but that makes it easier. |
I believe I do (given that I'm no expert in these matters) The start of the
Maybe I'm wrong?? |
It looks (to the untrained eye) that openHAB fails to load when JAVA 17 is in play. https://community.openhab.org/t/openhab-3-2-milestone-discussion/125097/18 And the official answer from the team is that openHAB only works with Java 11 https://community.openhab.org/t/openhab-and-future-jdk-versions-when/65572/36 which begs the question... "How do I roll back Java to Version 11 with Bullseye?" Or should I just flash the emmc with my Buster Image? Its okay, this line seems to have done the trick (openjdk-11 was still installed)
|
On Bullseye you can still install it manually (if not the case already): apt install openjdk-11-jre-headless
apt purge --autoremove openjdk-17-jre-headless Get used to use |
It would seem that people are working on getting openHAB to work on Java 17. Does this impact your plans to add openHAB to the DietPi software menu? (Or do you still think that being able to specify which Java version to use for each bit of software is the best way forward?) Thanks from all of us openHAB users. Regards, |
Great to see. Yes that makes it easier to implement on Bullseye 👍. |
Gonna implement this with next release. Was the by far highest voted software request on FeatHub, so let's not forget about it. Seems to be quite easy to implement via APT repo: https://www.openhab.org/docs/installation/linux.html#package-repository-installation |
Amazing news, thanks Michal. If you're putting openHAB V4 in the menu, I understand that now uses Java17 🥳 I have a couple of fresh Odroid machines coming my way, so happy to test whatever you want. |
- openHAB | This long requested vendor and technology agnostic FLOSS home automation software has been finally added to DietPi. Many thanks to @just-jason and many others for requesting it and @MDAR for providing install instructions and valuable information: #3857
PR up: #6334 |
- openHAB | This long requested vendor and technology agnostic FLOSS home automation software has been finally added to DietPi. Many thanks to @just-jason and many others for requesting it and @MDAR for providing install instructions and valuable information: #3857
- openHAB | This long requested vendor and technology agnostic FLOSS home automation software has been finally added to DietPi. Many thanks to @just-jason and many others for requesting it and @MDAR for providing install instructions and valuable information: #3857
Creating a software request
Formal software information
Are there similar/alternative software titles available with DietPi-Software?
Yes- Home Assistant
What makes your requested software better than the above solutions, if available?
I dont think it is better, but there are people who use open hab and there people who use home assistant
How can DietPi make the installation easier or compatible, than following the install instructions or do APT installation, if available?
According to the official install instructions there are a several manual steps to do: DietPi could automate those steps, which saves end users a lot of time and allows installation as well to less experienced Linux users.
Are you willing to help maintaining the software installation, e.g. in case of needed setup changes due to updates etc.?
I do not think I could .
The text was updated successfully, but these errors were encountered: