Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [concierge-dev] How to embed concierge in Android

Hi Jochen,

> good to hear that you are considering to port Eclipse SmartHome to Android.

That's the long-term goal. Wouldn't make sense to try with an own solution by wasting all that awesome work that has been into openHAB and it's successors. ;-)

> I am just working on two things:
> * getting a first version of Concierge out to the public (together with Tim, Jan)
> * added Concierge support to Eclipse SmartHome. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=466633

Thanks for the pointer. Still have to visit it.

> I think a good starting point would be to get Concierge and one sample bundle running as an Android app, or?

That's what Tim already did, right? For a better understanding of the components that would make sense as a starting point.

> If this is up and running, we can try to add more and more ESH bundles to this app like I did when porting ESH to Concierge.

Good strategy. I will follow your suggestion.

> To bring this app to a customized ROM is maybe a completely different story, where Dominik can join and help if the core is running.
>
> One of the conceptual differences between ESH running on Equinox/Concierge directly on OS, or running ESH on top of Concierge as Android app is how to handle dynamism, of adding bundles/extension during runtime.
> Do you have any ideas what you want to achieve here?

This still has to be worked out. I am currently not enough into all the components and have a lot to learn.

I had a student on a bachelor thesis working for me on a custom Android ROM connecting an EnOcean stick and providing access to the Things connected to that stick through a custom Systemservice to the apps on that ROM. So we went through a lot of layers in Android.

I see currently 2 foggy strategy options:

1. Making the concierge App a System App. Maybe including openHAB 2 and adapting interfaces to it.

2. Adding concierge as a System service. Then ESH as a system App, etc.

Either way regarding the dynamism the goal (with my given knowledge) would currently be to be able to provide dynamic extensions through external apps on the platform.

I am not sure if this is possible at all. But alone the learning process is worth trying it. I currently don't know how I would get the bundles from an external App into the container, though.

Cheers
Danny


Back to the top