Giter VIP home page Giter VIP logo

Comments (19)

thopiekar avatar thopiekar commented on July 23, 2024

Updates: OpenHAB install in a non-persistent environment now. Basically removed all the start up scripts and read how the Karaf project suggests to start services. Works perfectly fine. Guess I will end up with a completely rewritten package.

from openhab-syno-spk.

cniweb avatar cniweb commented on July 23, 2024

@thopiekar Thank you very much for your work. Let me know when you have.

from openhab-syno-spk.

thopiekar avatar thopiekar commented on July 23, 2024

Got only one thing left: Using the existing Synology app to display the uuid and cloud id from the userdata directory. I'm going to create a request for support at Synology on this. I just can't find any documentation about app development.

from openhab-syno-spk.

MikeD23 avatar MikeD23 commented on July 23, 2024

Hi @thopiekar, I am currently using openhab3 on my freenas server. I like it a lot and want now to install also this version on my fathers DS411 (armv5). I successfully installed your .spk for 3.0.0-SNAPSHOT but it will not start even the log says it has ("PID file created. done."). I just have java8 installed and since OH3 needs jre11 I think that is the reason.
If you are done implementing this will it also include openJDK11 for armv5? I would like to install it on my own until your done but I could not find any built version. I did not find any information about installation java11 on Synology.

from openhab-syno-spk.

thopiekar avatar thopiekar commented on July 23, 2024

"Your" is not really correct. I'm contributor of openHAB but never put much effort to the Synology subproject.
The packaging files will be completely rewritten.
Will create a pull request once I'm finished.

But you can do me a favour already.. can you access your dad's nas and run "uname -m"?

Thanks!

PS: Yes I'm planning to add OpenJDK for arm, too. Need "uname -m" for this. 😉

from openhab-syno-spk.

MikeD23 avatar MikeD23 commented on July 23, 2024

Sorry, I just came across this repo when I was looking for a way to install openhab on a synology and did not have a closer look. I thought you were the only contributor in here.

root@DS411:/# uname -m
armv5tel

I just found a zulu build (zulu11.43.100-ca-jdk11.0.9.1-linux_aarch32sf.tar.gz) of java 11. Might this work?

from openhab-syno-spk.

thopiekar avatar thopiekar commented on July 23, 2024

I'm going to use AdoptOpenJDK.
They have a cleaner website and I couldn't find Arm builds by OpenJDK really. As AdoptOpenJDK provides builds for many architectures I'm taking it from there out of one hand. Nevertheless I'm going to focus on openHAB 2 first.

Generally give me some more time please 😉

from openhab-syno-spk.

MikeD23 avatar MikeD23 commented on July 23, 2024

Sure, take your time. I've got now 3.0.0-RC2 to run with zulu java11. It took me some time (and netstat) to get to know that openhabs webservice only listens to 8443 and not 8080. But now I'm logging in and I'm fine.
I'm so excited to bind all the new gadgets that santa will bring on christmas 😁

from openhab-syno-spk.

thopiekar avatar thopiekar commented on July 23, 2024

I guess skip working on the UI and symlink the UUID and cloud id files to the share as I do for the other files for now.
Was talking with Syno support and they told me to file a ticket, so I can get help by a more technical person.

@cniweb I have two wishes:

  • I would like to review pull request, which are made on my work in the future. From what I saw contributed by the community I have the fear that we overload the script with unstable customizations. I think we should also focus on stable code rather being rich of features.
  • Remove or update the sponsor button: Doesn't matter whether it is being used or not, let's donate to the mother-project (https://www.openhab.org/about/donate.html) or just leave it.

from openhab-syno-spk.

thopiekar avatar thopiekar commented on July 23, 2024

@MikeD23 Yeah, it is nice to see that OH3 has the same file structure. So no extra work for me here. Regarding Zulu builds: I need to twitch to these I guess. Was using AdoptOpenJDK but just noticed today that we (as OpenHAB family) recommend Zulu.
... Whatever the benefits are 😆

from openhab-syno-spk.

cniweb avatar cniweb commented on July 23, 2024

@thopiekar can you complete your work and do a pull request, please?

from openhab-syno-spk.

thopiekar avatar thopiekar commented on July 23, 2024

@cniweb: PR created, but there is still some work left. How are your thoughts on the points above?

from openhab-syno-spk.

cniweb avatar cniweb commented on July 23, 2024

@thopiekar I remove the sponsor button.
Which points are you unclear exactly?

from openhab-syno-spk.

cniweb avatar cniweb commented on July 23, 2024

I agree with you that we will focus on stable code that is feature rich.

from openhab-syno-spk.

thopiekar avatar thopiekar commented on July 23, 2024

@cniweb If I could get more involved into the project here. At least for the reviewing process.
I'm often busy as you can see, so if that happens it won't be anything blocking - you can go ahead with the activities of course. 🙂

So yeah, that would be really nice 😉

Btw. I continued on the PR. I'm waiting there for feedback by some brave testers.

from openhab-syno-spk.

lebovitz avatar lebovitz commented on July 23, 2024

@thopiekar
What's the status of the DSM 7 Syno package?
DSM 7 is now officially released. So I guess it's time for a package :-)

from openhab-syno-spk.

thopiekar avatar thopiekar commented on July 23, 2024

Oh, yes. I'll rerun the build script it with the latest version of OpenHAB.
Also for 2.x since I'm still staying in this version because I'm feared of compatibility bugs. At the moment my setup just works fine ™.
.. due to the DSM7 release I also see lesser priority in the problem with DSM compatibility. It's like giving support for Windows XP 🤷

from openhab-syno-spk.

lebovitz avatar lebovitz commented on July 23, 2024

I agree on the backward compatibility for OH2.
I tried your package on DSM7 and it seems to work.
There are a couple of questions I do have on your package

  1. It seems from the build.sh script that you download ALL versions of OpenJDK and the just use the one that fits the CPU. Why not download just this one version from the start?
  2. In DSM7 the OH package seems to be spread over many folders. It's no longer under /public/openHAB. The userdata folder is in one place, while the conf folder is in a different place. Some of the new locations can be accessed only by sudo. Is that inherent to DSM7 or can this be changed? It makes changing things very complicated

from openhab-syno-spk.

gackelchen avatar gackelchen commented on July 23, 2024

Just updated to DSM 7.
Do I understand right: openHAB 3 for DSM 7 is not yet ready?
Is OpenJDK 16 (rednoah) the right preparation?

from openhab-syno-spk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.