openhab / openhab-android

openHAB client for Android
https://play.google.com/store/apps/details?id=org.openhab.habdroid
Eclipse Public License 2.0
606 stars 314 forks source link

HABDroid tablet UI concept proposal #101

Closed netwolfuk closed 6 years ago

netwolfuk commented 9 years ago

I've been thinking about a more tablet focused UI, and taking HABDroid's UX even more into the Material design space. Specifically taking advantage of animations between fragments and UI colour changes based on the context.

HABDroid UI Concept

I mocked up the above design in Photoshop and animated it in Synfig. It introduces a few new concepts which would need to be supported in OpenHAB.

I've written a blog post about it, where I expand on the concepts and start to present how I think they could be accomplished. There is still a bit to figure out, but it could serve as a good starting point for discussion.

I've closed commenting on that post on Wordpress, to encourage all discussion to happen here instead.

kaikreuzer commented 9 years ago

Hi @netwolfuk,

Your mock-up looks great, thanks for your ideas and input! I'd very much like to see such features available in the Android openHAB app.

A bit feedback to think about from my side:

I would like to address both points within Eclipse SmartHome (and thus openHAB 2) by a new, more flexible sitemap concept, which allows UI specific content (and thus make single sitemaps only work for certain clients) and to easily change the structure and content of a sitemap through the REST API. I have started a thread about this here: https://www.eclipse.org/forums/index.php/t/1064113/

I think this is what you would need for your Android app extensions as well. So my suggestion would be to work on these features for openHAB 2 and not trying to get this into openHAB 1 anymore. The Android app is anyhow designed in a way that it supports both versions of the runtime, so on this end there should be no problem.

Btw, wouldn't the same stuff apply to the iOS app as well...?

netwolfuk commented 9 years ago

Hi @kaikreuzer .

Thanks for your response and for pointing out the OpenHAB 2 possibilities. Flexible site maps seems like an elegant approach to the multiple client conundrum. I'll look at converting my home setup to OH2. Is it ready for production yet? Is the new sitemap support on a milestone somewhere?

I'll have a think about what to post to that eclipse thread, but it will probably be a reiteration of what I stated on the blog entry.

And, yeah. I guess all the same stuff would need to go into the iOS app. I don't have an iOS device in the house, so have not really thought about that.

kaikreuzer commented 9 years ago

I'll look at converting my home setup to OH2. Is it ready for production yet?

No, I consider it alpha, mainly because there are still many changes ongoing. But it is in a perfect state to add new features at the moment :-) Is the new sitemap support on a milestone somewhere?

There is no schedule, it all depends on how much interest is there and who finds time for it. I’d like to follow up on it soon as Chris is also waiting for this for HABmin. I'll have a think about what to post to that eclipse thread, but it will probably be a reiteration of what I stated on the blog entry.

No need to repeat yourself, maybe simply post a link to your blog. But you might want to involve yourself in the future discussion about how exactly this new sitemap concept should be designed.

Best regards, Kai

gersilex commented 9 years ago

Rather than starting an Android intent, we could also make use of the intent filters of other apps. This makes it possible to "open" URLs which will be detected by the other apps.

This is the default behaviour of apps like

This will also work on iOS devices, possibly with other URLs, though. Maybe this is a good way of keeping balance between OS-dependent functionality and a versatile, OS-independent global sitemaps.

joefrank25 commented 8 years ago

Aweomse UI concept!

mueller-ma commented 6 years ago

@netwolfuk Do you still want to make a PR with your tablet mode?