I think the change only makes sense in the context of moving the whole
navigation over to the left pane. But once this is the case: yes I
would prefer the fading effect there. Also note that in my prototype,
there can be even more than two columns and the user can simply use
the "carousel".
>> For a tablet, I prefer having the navigation on the left pane and the
>> widgets on the central pane.
>
> Yes. I saw your idea in your Sencha prototype. This is my vision too.
Glad to hear :-)
>> Furthermore a toolbar is a nice thing for
>> quick navigation (you could link each toolbar button to a sitemap), see the
>> Sencha 1.0 prototype I had created:http://goo.gl/GpZ4H
>
> You mean a bottom toolbar?
Yes.
> I agree there would be nice to have one,
> but I don't think it's a good idea to show buttons to the other
> sitemaps. For me one sitemap is one user interface. I don't find logic
> to switch between them anytime. Or I'm wrong?
Yes, it's a matter of taste. I didn't think through the details yet,
but my idea was that you could somehow configure your tablet UI by
using different sitemaps and you are then more or less switching the
UIs, yes. The left navigation pane could be completely different for
each tab and also the content of it. You could imagine that you only
use the "rooms" sitemap on a smartphone, while also having the
"functions" sitemap available on the tablet.
The other option could be that you use the homepage of a sitemap to
determine the different tabs, e.g. one tab per frame on the homepage.
Could be a very valid solution as well.
> Maybe it's better idea
> to group widgets by item types and show in this toolbar buttons that
> link to these groups. For example "Statistics" will show all charts
> from the pages, "Cameras" will show all camera streams, "HVAC" shows
> all heating/ventilations and AC devices and so on.
I wouldn't try to do this automatically, the user/admin should be in
full control of the page definitions here. But doing the "frame"
approach from above, he could do so himself.
> This is something we have to think about carefully and discuss.
Agreed, that's why I started the discussion :-)
> Well, in fact I took some of the ideas there. But I haven't even tried
> to reuse the code because I wanted to start it clean with Sencha 2 and
> I'm not convinient with the MVC pattern.
That was possibly a wise decision as my code was really my first time
with Sencha and you can see this ;-) The point of it was mainly to
show my ideas for a new user experience and it's good to hear that we
are thinking along the same lines here.
Cheers,
Kai
The solution is simple as I see it. When the device is a phone and
there is no left panel with navigation, then then sliding effect is
applied. This would look natural in phones. When the device is a
tablet or a PC (left panel with navigation, two-column UI in landscape
mode), then the fade effect is applied.
About the carousel. What exactly is your idea about it? I see you used
it in the Functions tab.
How a user would specify which widget/frame
to which carousel page will go? Or the UI determines this itself by
some logic?
I would like to see as much as I can on one
page and do things quickly, instead of sliding many pages with only
two frames with widgets on them.
At this stage I do things
just to see what and how could be done more efficiently, then I will
think about code prettiness :-)
looks pretty good on the phone now, I have just tested it with my iPod (4th gen, retina).
On the iPad in contrast, it does not seem to work yet - the content pane is screwed up and nothing happens if I select something on the left navigation pane.
I have attached you some screenshots.
And now: Merry Christmas and take a (short) rest :-)
Kai
Looks pretty good, I will do some tests soon and provide feedback.
> So, I think it is better to have different widget for images
> and cameras. In the camera widget we have to specify what kind of
> source it is, so the UI could determine what tag to use - IMG with
> refreshing or VIDEO tag. What do you think?
Agreed, I had the same idea as well. Nothing that I will squeeze into the 0.9.0 release, but it's definitely in for 1.0.0.
Fancy entering an issue?
Cheers,
Kai
I just noticed that today on my new Galaxy Nexus as well :-(
> I will investigate it, but I think this is due to lack of manual refresh.
Or the Android browser does not support mjpeg streams at all. Although Wikipedia claims, that webkit browsers do...
> In Safari everything works just fine and 5 times faster.
Yeah, the whole UI works much better on iOS than on Android. Hope that Google will put some more efforts in improving this…
I like your theme approach, if you find good places to hook for such themes, it can become a nice playground for web designers ;-)
Have a good start in 2012 as well!
> --
> You received this message because you are subscribed to the Google Groups "openhab" group.
> To post to this group, send email to ope...@googlegroups.com.
> To unsubscribe from this group, send email to openhab+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/openhab?hl=en.
>
> - It's not sending any commands yet, but I guess you know that already ;-)
Yes, not reached that point yet. I wait for the PUSH technologies in
openHAB and I will make the communication at once as one of the send
methods is going to be websockets.
Could you make a video for the iPhone UX too?
This should work with the latest version, which sends commands, see my videos.
Regards,
Kai
P.S.: But Mihail, PLEASE remove this terrible green background color
on the switches asap! ;-)
Quoting Juanker Atina <juan...@gmail.com>:
>> On 10 ??, 19:28, Kai Kreuzer <k...@openHAB.org> wrote:
>>
>> > P.S.: But Mihail, PLEASE remove this terrible green background color
>> > on the switches asap! ;-)
>>
>> Kai, the idea of the template engine I want to create is to let
>> everyone create their own color scheme, so once it's ready you could
>> make whatever you want :-) But for now I will make it blue, as I see
>> green is definitely not your color ;-)
>
Nice work Mihail
Thanks - I love it, what a nice color :-D
The UI is really in a very good shape already, well done, Mihail!
On Jan 16, 2012, at 9:07 PM, Mihail Panayotov wrote:
> ------------------------------ NEW VERSION
> --------------------------------
>
> A new version is uploaded here - http://m-design.bg/openhab_ui/openHAB_touch.rar
>
> ----------------- CHANGES SINCE LAST VERSION ------------------
could you please upload the current version as zip-Archive. I've set up a demo-server which is running a unix-distri without having an unrar-command.
Thanks,
Thomas E.-E.
Quoting Thomas Eichstädt-Engelen <teic...@googlemail.com>:
Let us wait with putting on on the demo server until Sunday, when we do the 0.9.0 release.
Very sorry for the delay on this, I haven't forgotten about it! At the
moment I am terribly busy getting 0.9.0 out of the door, that's why I
didn't find the time yet to come back to persistence.
Once 0.9.0 is released, the persistence is the next thing for me to
look at. I would also very much like to see results with Sencha Charts
and rrd4j as well.
But for making this framework flexible and reusable for different
charting engines and other use cases (see e.g.
http://code.google.com/p/openhab/issues/detail?id=48), I want to get
the API right, that means that I want to have some group discussions
before putting it into the product.
I definitely intend to have it ( + some charting engines) available in
openHAB 1.0 (which I currently see somewhere around May this year).
Regards,
Kai
3. Made the HTTPS obligatory. It's very important to encrypt the
connection when there is authentication, and in general it's important
this kind of software to work over encrypted connections. Otherwise
anyone could sniff the network and play with your home. It will throw
an error, telling that it is untrusted site. Click "Accept" with no
worries.
4. Added icon and splash screens. However I couldn't see a splash
screen on my iPhone with iOS 3.0. I can't see the splash of the
current openHAB webapp too. Somewhere I read splash screens must be
below 20-25K and the current splash is about 100K.
let me know and I will try my best to fix it by Sunday.
Yes, as the Classic UI uses buttons, it sends INCREASE and DECREASE commands.
The Sencha Touch UI uses sliders instead and these sliders send a percentage value once you finish sliding it, i.e. you get a value between 0 and 100 as a command.
Your volume rule will have to deal with that. The demo rules (http://code.google.com/p/openhab/source/browse/distribution/openhabhome/configurations/rules/demo.rules) for the new rule engine do this:
if(receivedCommand instanceof PercentType) {
setMasterVolume(receivedCommand as PercentType)
} else {
if(receivedCommand==INCREASE) increaseMasterVolume(20)
if(receivedCommand==DECREASE) decreaseMasterVolume(20)
}
For Drools, you will have to adapt it yourself.
Regards,
Kai
Regards,
Kai
Yes, it comes with a remote debugging feature through USB:
http://whatisandroidphone.org/chrome-beta-for-android-brings-debugging-tools-to-mobile-web-developers/