iPhone vs HABDroid approach to browsing sitemaps

89 views
Skip to first unread message

Victor Belov

unread,
Jan 10, 2013, 6:50:53 AM1/10/13
to ope...@googlegroups.com
Hi,

I recently installed openHAB in my new house on Raspberry PI. The problem I'm seeing is continuous request timeouts on iPhone client.
My house is currently connected to internet through local 3G network wirelessly with 3-5 mbit/sec speed which is quite ok. The trick is that I see this timeouts when I start using SSL. Probably it is because of lack of resources on Raspberry…. but what I noticed is that because HABDroid doesn't load full items/sitemaps/etc but instead just browse them page by page it works fine with SSL and over wireless Internet on HABDroid while I just completely can't use it at all on my iPhone :-(((

p.s. I have just to point my iPhone's browser to classic UI of openHAB which works ok over https….

Best regards,
Victor Belov

Kai Kreuzer

unread,
Jan 10, 2013, 11:51:26 AM1/10/13
to ope...@googlegroups.com
Same complaint here: https://groups.google.com/d/msg/openhab/wuWulLEMIUc/7u3Uvq9S3DAJ

Indeed, the iPhone app is not yet ideal - hoping that Pablo will find time working on it soon.

Regards,
Kai

P.S.: Btw, both iPhone and HABDroid do not yet support the colour picker widget (see https://groups.google.com/d/msg/openhab/OXXcR3bo0WA/U-UnRnJPACsJ). Looking forward to see support for this cool feature soon 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.

Pablo Romeu

unread,
Jan 11, 2013, 4:26:09 AM1/11/13
to ope...@googlegroups.com
Sorry to hear that victor. It is strange it gets timeouts when using ssl... I wrote this:

// v1.2 Kai asked to be silent at timeouts

if ([error code] != 1001)

[self.delegate requestinQueueFinishedwithError:com error:error];


So it should NOT tell you anything about timeouts (error 1001 at iOS)...

There are a couple of things I would want to change to the iOS interface:

- First is the way it connects to the server. I want to use NSOperation objects that let me CANCEL the operations seamlessly.
- Second is the way it behaves with the FULL site. The iOS interface loads the full site the first time you connect. Then it loads/refreshes JUST the page you are in using long polling. Maybe the aproach at HABdroid is to load just the main page and then go on loading?

Pablo Romeu

unread,
Jan 11, 2013, 4:34:46 AM1/11/13
to ope...@googlegroups.com, k...@openhab.org
Ok, I will rise timeouts.

Unfortunatelly, my time is scarce Kai/Victor.... I probably wont be working on this until April/May. I usually read the forum but if not, just remind me to work on it!

Kai Kreuzer

unread,
Jan 11, 2013, 3:36:53 PM1/11/13
to ope...@googlegroups.com
Hi Pablo,

So it should NOT tell you anything about timeouts (error 1001 at iOS)…

It should not, but it does - I also still see these timeout popups :-(

- Second is the way it behaves with the FULL site. The iOS interface loads the full site the first time you connect. Then it loads/refreshes JUST the page you are in using long polling. Maybe the aproach at HABdroid is to load just the main page and then go on loading?

Yes, that's what we discussed as well - loading the entry page is enough, the whole sitemap is not required. When navigating to a sub-page, this can be loaded on the fly.
I have still the bug on my todo list, which you mentioned end of October: That when doing long-polling on the entry page, the request returns whenever ANY value changes (instead of only reacting if a value on this page changes). Will try to solve this soon!

Regards,
Kai


On Thursday, January 10, 2013 12:50:53 PM UTC+1, belovictor wrote:
Hi,

I recently installed openHAB in my new house on Raspberry PI. The problem I'm seeing is continuous request timeouts on iPhone client.
My house is currently connected to internet through local 3G network wirelessly with 3-5 mbit/sec speed which is quite ok. The trick is that I see this timeouts when I start using SSL. Probably it is because of lack of resources on Raspberry…. but what I noticed is that because HABDroid doesn't load full items/sitemaps/etc but instead just browse them page by page it works fine with SSL and over wireless Internet on HABDroid while I just completely can't use it at all on my iPhone :-(((

p.s. I have just to point my iPhone's browser to classic UI of openHAB which works ok over https….

Best regards,
Victor Belov


--
You received this message because you are subscribed to the Google Groups "openhab" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openhab/-/vBJPi8La8jwJ.
Reply all
Reply to author
Forward
0 new messages