Cool, thanks, that sounds like a very useful extension to the KNX binding!
> I would like to contribute these changes. How can I provide my
> changes?
On the openHAB homepage, you can go to Source->Clones and create your own clone into which you can then push your commits.
I can then easily pull these changes into the main repo after a review. Let me know, if you need any further assistence.
> Has anybody run openHAB on a Linux based embedded device?
No, I haven't tried this yet, I am running it on an Atom netbook so far.
> I can start
> openHAB runtime on my Seagate Dockstar (1 GHz ARM CPU with 128 MB RAM
> running PlugApps Linux).
What JVM are you running on this? I was reluctant with embedded devices so far, because openHAB code currently requires a Java5-compatible JVM and to get such a JVM for a plug computer is often an issue...
> To optimize memory consumption I would like
> to remove all optional plug-ins from the runtime (e.g. the web
> application). Are the openHAB plug-ins optimal split into runtime and
> designtime?
I'm afraid yes. The runtime only contains the bundles that are relevant at runtime. Unfortunately, Drools is pulling in quite many dependencies, which blows up the overall size. I am actually considering some other (alternative) rule mechanism for openHAB, which could be leaner and more performant for embedded devices.
I would be very interested in your experience with this set-up as running openHAB on some existing NAS, router or plug computer is definitely an important use case.
Cheers,
Kai
> I tried several JVMs over the last two years on different platforms.
> [...]
Wow, you seem to be a real embedded JVM expert then :-)
> All VMs can run a "Hallo World" example but with more complex
> programms I always have problems (e.g. I use a special OSGI framework
> for embedded Systems named "concierge").
Did you see the other discussion thread about JamVM? It looks as if we are almost there getting openHAB working on it...
From your experience, do you think this is a false impression and we are heading for many further obstacles?
> I start to split the openHAB runtime feature into serveral functional
> independent features (remove web plug-ins reduce the plug-in count
> from 113 to 90)
Does this mean you use openHAB without the UI bundle? So yes, agreed, for different use cases on embedded devices it makes sense to strip down the distribution to smaller sets of required bundles.
I didn't yet want to break it into too many pieces as long as there is no comfortable provisioning for openHAB components in place - but this will come...
Regards,
Kai