Comfort  Automation/ Security System Forums Home

 Moderated by: admin Topic closed
AuthorPost
gaynorc
Member
 

Joined: Sunday Dec 31st, 2006
Location: Ireland
Posts: 130
Status: 
Offline

  back to top

I upgraded my iPhone to iOS5 today. When its complete you also have to update all your apps. I did so. There was no change in version number for comfort apps, I was already on the latest one.

Following this I now have difficulty with the Comfort app connecting. Mostly it will not connect. Sometimes it gives the "data error". Sometimes it does connect after the "Comfort Systems" page is opened and closed.

Some observations:

"Comfort Systems" is not selecting a default? If I press the "key" symbol on the opening page, the "comfort systems" page opens. If I then press "done" it says "please select system before pressing done". Maybe this is by design.

Mostly if the "system" page is set to LAN and the app is closed, then started again, and then I open the "comfort systems" page, then the "system" page is opened, and then closed, and return to the main page, the app is "connected". So on LAN I can "force" it to connect through this convoluted mechanism.

Unfortunately with "internet" I cannot work out any pattern. I rarely can get connected following entry to the "system" page. More times I get "data" errors.

I have deleted the app and reinstalled it, with reentry of settings and restoring the crlccip file. All to no avail.

HELP!

Last edited on Sunday Oct 16th, 2011 08:53 pm by gaynorc

gaynorc
Member
 

Joined: Sunday Dec 31st, 2006
Location: Ireland
Posts: 130
Status: 
Offline

  back to top

I think this has something to do with the selection of the "default" or last used "comfort system" for connection. When the app is closed and you re-open it my app seems to have lost memory of the connection it had, or the current state of the system (LAN or internet). The same seems true if you try to change the connection type when the app is open. Then you get "data errors".

However if you try again / wait++++ / it seems that I can get connected. But I am not sure of the consistency of this.

ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

I have not been able to upgrade to iOS5 yet
Does anyone else have the same experience?


"Comfort Systems" is not selecting a default? If I press the "key" symbol on the opening page, the "comfort systems" page opens. If I then press "done" it says "please select system before pressing done". Maybe this is by design.
That is correct. You alwats have to select a Comfort system when you press the key to go to the Comfort systems page, it does not have a default.

But if you exit the app or it goes to sleep then when you return to the app, the previous system should remian selected

schford
UCM Pi Users
 

Joined: Wednesday Feb 25th, 2009
Location:  
Posts: 248
Status: 
Offline

  back to top

hmmm worked ok first time but playing up now....

Last edited on Monday Oct 17th, 2011 12:46 pm by schford

gaynorc
Member
 

Joined: Sunday Dec 31st, 2006
Location: Ireland
Posts: 130
Status: 
Offline

  back to top

You say "But if you exit the app or it goes to sleep then when you return to the app, the previous system should remian selected".

When I exit (close down) the app the previous system is not selected when I start it up again.

ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

If you completely close down the app (by double tapping the Home button and pressing and holding the app icon on the bottom until you see  a minus sign) then all the info about the previous connection is lost

If you are in the app and you press the home button to show the home screen, you can go back to the app, and see the previous system  to the right of the key and the status showing "disconnected"
The same thing happens if you double tap the Home button to switch to another app and come back to the Comfort app

schford
UCM Pi Users
 

Joined: Wednesday Feb 25th, 2009
Location:  
Posts: 248
Status: 
Offline

  back to top

doesn't seem to make a difference i cant connect at all now :-) don't you love upgrades!

Calistra
Member
 

Joined: Thursday Sep 8th, 2011
Location:  
Posts: 9
Status: 
Offline

  back to top

It certainly seems to be a bit different but it is hard to identify exactly how.

The more comments from people who try different approaches, the better we will be able to isolate the issues.

For me, the problem seems to occur after killing the app and re-starting.

It does remember the last profile that I used but has problems connecting with it.

For me, it remembers the profile ID name but does not want to connect. Going to flip side and returning (i.e. re-selecting the profile) also does not always help.

Selecting a different profile, returning (to try to connect), then returning to select the correct profile seems to get us connected. The alternative profile didn't even need to be valid but I am still examining the options on that.

schford
UCM Pi Users
 

Joined: Wednesday Feb 25th, 2009
Location:  
Posts: 248
Status: 
Offline

  back to top

Thanks Calistra - will try that, am just about to connect 10 new zones this weekend so would be handy to have working.

schford
UCM Pi Users
 

Joined: Wednesday Feb 25th, 2009
Location:  
Posts: 248
Status: 
Offline

  back to top

I can confirm Calistras work around works!

gaynorc
Member
 

Joined: Sunday Dec 31st, 2006
Location: Ireland
Posts: 130
Status: 
Offline

  back to top

Observations after two days:

1) First, switching the app on for the first time - it does "label" the correct system on the opening page (in my case "Home"), but it does not connect to it. I must select the system by pressing the "key" symbol and selecting the system on the "Comfort Systems" page.

I do not recall this having to be done prior to upgrading to iOS5. My recollection is that once I opened the app for the first time it connected straight away while on LAN.

2) If I am on wifi (LAN) it connects fine once the system is selected (as at 1 above).

3) If, having been on WiFi I leave the app running in the background, and I change to 3G, sometimes it connects. Other times it gives a "data error", sometimes a "Reconnecting: timeout" dialogue appears. It will connect if I then wait a couple of minutes.

4) If the app is completely closed down and I switch it on for the first time in 3G, ODDLY the screen remains black for 1 to 5 seconds, depending. Then the main screen appears. Then I select the system on the "Comfort Systems" page, and return to the main page. There it reads "connecting" followed immediately by "data error". If I then try to enter password and press "send" the "data error" returns with sometimes a "Reconnecting: timeout" dialogue. If I then wait a couple of minutes it usually connects okay.

Last edited on Tuesday Oct 18th, 2011 11:25 am by gaynorc

ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

I have upgraded to IOS 5 (disable zone alarm and similar firewalls otherwise the backup operation fails)
I dont have any of the reported problems. The LAN and Internet connectios work fine and when I go out and coome back in the previous system is remembered and can login

schford
UCM Pi Users
 

Joined: Wednesday Feb 25th, 2009
Location:  
Posts: 248
Status: 
Offline

  back to top

My wife's doesn't work properly either.....defo playing up since upgrading to ios 5...

gaynorc
Member
 

Joined: Sunday Dec 31st, 2006
Location: Ireland
Posts: 130
Status: 
Offline

  back to top

Update:

I am hoping that I have restored things, but its "fingers crossed".

On iphone, under settings, icloud, documents and data, I found that documents and data for the Comfort App were being stored in icloud. I dont know enough to know if the app was getting the settings from the icloud or whether there was a local copy. Anyway, seeing as I was getting "data error" and "timeouts", I thought I would give it a go and switch off the data and documents icloud option.

Now I seem to have restored reasonable functionality. I still get the occassional "data error", but nearly all times I get to the keypad without problems on both LAN and internet.

I would be interested to know if this works for anyone else?

Also it would be interestng to hear from the developers whether any changes were made to the app in anticipation of iOS5. I see from the apple website for example that third parties would, amongst other things, have to incorporate support for iCloud's Documents & Data in their apps. Could any of this have resulted in data error/time outs as I experienced?

Last edited on Friday Oct 21st, 2011 06:13 pm by gaynorc

schford
UCM Pi Users
 

Joined: Wednesday Feb 25th, 2009
Location:  
Posts: 248
Status: 
Offline

  back to top

Seems to be working now thanks gaynorc!!! Ill try my wifes tonight and report back.

Stuart

schford
UCM Pi Users
 

Joined: Wednesday Feb 25th, 2009
Location:  
Posts: 248
Status: 
Offline

  back to top

Nope spoke to soon sorry still playing up.

slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

How so? Can you provide more details?

schford
UCM Pi Users
 

Joined: Wednesday Feb 25th, 2009
Location:  
Posts: 248
Status: 
Offline

  back to top

Walk through of what I am doing.

1 - Open Comfort (it wasn't closed just in background)

2 - disconnected message - try to connect get data error

3 - Fully close program

4 - Reopen now get message it has refound wifi connection do i want to logon back in

5 - say yes - hangs on connecting for ages

6 - do work around eg click on key then select a dummy alarm

7 - click on key and set my real home alarm

8 - now it says connected and i can login

Last edited on Saturday Oct 22nd, 2011 11:03 am by schford

gaynorc
Member
 

Joined: Sunday Dec 31st, 2006
Location: Ireland
Posts: 130
Status: 
Offline

  back to top

Regretfully I spoke too soon. The problem with "data error" and connection timeouts returned yesterday.

However, my problem seems to relate primarily to connection via 3G, and usually not wifi.

1. If the app is started (i.e. its not running in the background), and I am on 3G, then once the system is selected it starts "connecting", and then "data error". Sometimes it shows "connected" for a split second before "data error".

2. If I try once or twice more to connect, I usually will get connected.

3. Once the app is running in the background, if I select it again it usually connects okay.

4. Connecting via wifi is mostly successful.

5. If already connected via wifi, and the app is left running in the background, and I switch to 3g, I can usually connect through 3G when I open the app again without "data error".

Last edited on Sunday Oct 23rd, 2011 04:11 pm by gaynorc

gaynorc
Member
 

Joined: Sunday Dec 31st, 2006
Location: Ireland
Posts: 130
Status: 
Offline

  back to top

I realise these are wildcard analyses, but given the nature of the problem I am having (connecting ->data error) with sometimes split second "connected" status I wondered if the app was connecting dropping and then reconnecting, thus being being "locked out", on its first attempt to connect using 3G. So I tried the following experiment -

1. Using DS Manager I reduced the connection timeout for my ETH02 from 5 minutes to 1 minute.

2. I repeated the following experiment several times with consistent results. I closed the app completely each time.:

(a) Start the app. Wait > 1 minute. Select the system. "connecting" -> "Connected" each time without a problem.

(b) Start the app. wait < 1 minute. Start the app. "Data error" each time.

Interesting.

Last edited on Sunday Oct 23rd, 2011 08:01 pm by gaynorc

gaynorc
Member
 

Joined: Sunday Dec 31st, 2006
Location: Ireland
Posts: 130
Status: 
Offline

  back to top

A comparison of iPhone iOS4 behaviour with iOS5 behaviour using the most recent version of the Comfort app.

I have access to iPhones with the comfort app (most recent version) running.
Two are on iOS5, rest (three at present accessed) on iOS4.

iOS5 phones both have the "data error" problem.
iOS4 phones do not.

One major difference between them is as follows.

In a previous post ident stated that when you "completely close down the app (by double tapping the Home button and pressing and holding the app icon on the bottom until you see a minus sign) then all the info about the previous connection is lost".

When the iOS4 phones completely close down the app, and then restart the app, the last connection is remembered and immediately the phone restores the "connected" status. No selection of the system involved is required.

When the iOS5 phones completely close down the app, and then restart the app, the connection is not remembered. When the system is immediately reselected in 3G, the "data error" happens.

ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

You may have found the reason for the connection problem
The status "connecting..." leading to Data Error is due to not able to connect to the UCM/Ethernet. The likely reason is that a connection was already made and then cut off leading the UCM/Ethernet to think the connection is still there. This is why when the idle time-out expires, you are able to connect again

I have not experienced this problem  after upgrading to iOS5. This may be because we have been using a custom application on the EM500. This logs out the UCM when a connection has been lost for any reason. It also helps secure the system againts someone else connecting to the system after another connection has logged in
It allows a connection to connect only when the previous connection has logged out.

The firmware/application must be installed using the DS Exporer (NOT DS Mnager) Tibbo Device Server Toolkit which can be downloaded from http://www.cytech.biz/ds_manager.html
Run the DS Explorer, It should detect the UCM/Ethernet  by its IP address (similar to DS Manager)
Choose a menu called "Upgrade Firmware by Network" (NOT Upgrade Application by Network) and choose the attached file cytech_application-3_02.bin This upgrades the EM500 with the firmware/application
Note: Please disable your firewall (eg Zone alarm) before attempting this upgrade

Last edited on Wednesday May 23rd, 2012 12:48 pm by

admin
Administrator


Joined: Saturday Mar 3rd, 2007
Location: Singapore
Posts: 1200
Status: 
Offline

  back to top

gaynorc wrote:
In a previous post ident stated that when you "completely close down the app (by double tapping the Home button and pressing and holding the app icon on the bottom until you see a minus sign) then all the info about the previous connection is lost".


The info about closing down the app was incorrect. When you restart afyter closing the app, it does remember the last connection

 

Last edited on Monday Oct 24th, 2011 12:03 pm by admin

schford
UCM Pi Users
 

Joined: Wednesday Feb 25th, 2009
Location:  
Posts: 248
Status: 
Offline

  back to top

I am probably being slow but I don't see DS Explorer? I have manager 3 different monitors and VSP manager?

schford
UCM Pi Users
 

Joined: Wednesday Feb 25th, 2009
Location:  
Posts: 248
Status: 
Offline

  back to top

OK I downloaded explorer from tibo web site...

I choose upload then Load firmware through the network and it fails.

Interestingly if I click on the device ip i get a messaged that this is a "fixed firmware" Dervice Server. This device is not programmable :(

gaynorc
Member
 

Joined: Sunday Dec 31st, 2006
Location: Ireland
Posts: 130
Status: 
Offline

  back to top

Same here as schford as regards the Tibbo Device Server Toolkit. I have it but there is no DS explorer

Schford: Where on the Tibo website did you find the software?

Last edited on Monday Oct 24th, 2011 02:02 pm by gaynorc

ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

Sorry, Device explorer is not part of the Device Server Toolkit, it is part of Tibbo IDE which you can download from http://tibbo.com/downloads/basic/software.html

For some reason it is not possible to upgrade Tibbo firmware using Device Manager and Device Exporer has to be used

ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

The application firmware upgrade only works with the ETH02 using EM500 module which is relatively new



schford
UCM Pi Users
 

Joined: Wednesday Feb 25th, 2009
Location:  
Posts: 248
Status: 
Offline

  back to top

Mine is a year or so old - does this mean that my iphone client is not going to work now :( unless I buy a new board - or do you think you will be able to do a software fix - it worked perfectly on ios 4...

gaynorc
Member
 

Joined: Sunday Dec 31st, 2006
Location: Ireland
Posts: 130
Status: 
Offline

  back to top

With firewall switched off.
When I use the Device Explorer "upload" to load the bin file, I get the following error:
"Cannot choose network interface"

Any ideas?

ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

We are investigating why the app does not work the same way on iOS4

if you need to change to the new EM500 you just need to buy the ETH02 submodule and replace the ETH01 sub module


wexfordman
UCM Pi Users
 

Joined: Monday Jan 1st, 2007
Location: Cork, Ireland
Posts: 546
Status: 
Offline

  back to top

Hi Ident,

How do we identify eth02 and eth01 modules ?
Thanks,
Eamon

slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

Eth02 is shown in the photos in the previous posts
Eth01 is an orange rectangular block I don't have a photo to show

gaynorc
Member
 

Joined: Sunday Dec 31st, 2006
Location: Ireland
Posts: 130
Status: 
Offline

  back to top

Re my upload problem, I managed to update firmware.
"Device Explorer" has to be "run as administrator" in Windows Vista.

schford
UCM Pi Users
 

Joined: Wednesday Feb 25th, 2009
Location:  
Posts: 248
Status: 
Offline

  back to top

Thanks ident - Ill go see how much the new eth2 module is (you think its worth while updating regardless?)

Cheers

Stuart

gaynorc
Member
 

Joined: Sunday Dec 31st, 2006
Location: Ireland
Posts: 130
Status: 
Offline

  back to top

Just to report that updating the firmware on ETH02 EM500 with supplied version 3.27.00 has not helped. The problem remains as described.

ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

When you get the Connecting.. and data error message, can you use DS Manager and see if there is a connection symbol on the UCM/Ethernet as seen in the screenshot with the double arrow? This means that there is a connection active and it will prevent a new connection from being made




Attachment: connected.png (Downloaded 21 times)

Calistra
Member
 

Joined: Thursday Sep 8th, 2011
Location:  
Posts: 9
Status: 
Offline

  back to top

Can we have a quick straw poll on how you are accessing the Comfort system?

> Via WiFi (Same LAN as Comfort)
> Via Wifi (access via Internet)
> Via 3G (access via Internet)

I admit I do have access problems first time but a dummy destination switch seems to solve it for me - apart from certain locations where the Wifi is somewhat dodgy.

Dave.

slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 5493
Status: 
Offline

  back to top

I have started a poll at http://www.comfortforums.com/forum96/2537.html for the convenience of recording your experience
Comments also welcome in the topic to describe your experience with access

gaynorc
Member
 

Joined: Sunday Dec 31st, 2006
Location: Ireland
Posts: 130
Status: 
Offline

  back to top

Calistra wrote:
Can we have a quick straw poll on how you are accessing the Comfort system?

> Via WiFi (Same LAN as Comfort)
> Via Wifi (access via Internet)
> Via 3G (access via Internet)

I admit I do have access problems first time but a dummy destination switch seems to solve it for me - apart from certain locations where the Wifi is somewhat dodgy.

Dave.


Dave:
Starting in each case with a completely closed down app -
(1) Via WiFi (Same LAN as comfort) - connects okay
(2) Via WiFi (Access via internet) - connects okay
(3) Via 3G - data error.

When the app is started by (1) or (2) above, and then left running in the background, connecting via 3G seems to work okay when I leave the WiFi coverage/ switch off WiFi.

TWO OBSERVATIONS:
(A)
I want to emphasise what I said above. The main difference between our iOS 4 and iOS 5 phones is that the app does not, with iOS 5, remember the last system when it is started up from the "completely closed" state.

i.e.:
When the iOS4 phones completely close down the app, and then restart the app, the last connection is remembered and immediately the phone restores the "connected" status. No selection of the system involved is required.

When the iOS5 phones completely close down the app, and then restart the app, the connection is not remembered. When the system is immediately reselected in 3G, the "data error" happens.

(B)
On a couple of occassions starting up a completely closed app, with 3G coverage (no WiFi), and NOT selecting the system but leaving it on the "home" page, I have gotten a connection error warning dialogue. How could I get a connection error if I havent selected a system with which to connect? Other times the app dissapears into the background after a short time.

Last edited on Tuesday Oct 25th, 2011 10:06 am by gaynorc

gaynorc
Member
 

Joined: Sunday Dec 31st, 2006
Location: Ireland
Posts: 130
Status: 
Offline

  back to top

ident wrote:
When you get the Connecting.. and data error message, can you use DS Manager and see if there is a connection symbol on the UCM/Ethernet as seen in the screenshot with the double arrow? This means that there is a connection active and it will prevent a new connection from being made

Ident,

NB device is 192.169.0.98

When I first opened DS Manager with the app connected, I saw broken red arrows in each direction with the explanation "serial-to-Ethernet buffer overflow". I disconnected (closed the app), the red arrows disappeared. I opened the app, the red arrows reappeared. Screen print attached. I have been unable to reproduce this yet.

I therefore rebooted the ETH02 to get a fresh start.

I start with connection closed/device idle on DS Manager. No arrows.

Then I try to connect firstly with WiFi. Normal connection established (blue arrows in each direction). App works okay.

I close completely the app. I wait.

Then I open the app in 3G. I DO NOT select a system.
Yet on DS Manager I get blue arrows in each direction.
The Device is connected.

I select a system, and I get "data error" on 3G, on DS Manager blue arrows in each direction.

I wait, and try again, I connect, then "data error", then no blue lines on DS Manager.

I try again, this time I connect okay. Again on DS Manager blue lines in both directions.

Attachment: Data Error.jpg (Downloaded 23 times)

Last edited on Tuesday Oct 25th, 2011 11:03 am by gaynorc

gaynorc
Member
 

Joined: Sunday Dec 31st, 2006
Location: Ireland
Posts: 130
Status: 
Offline

  back to top

Update:

After some time connected via wifi with no problems, a connection error happened. Reconnected. Thereafter the DS Manager shows the connection with broken red arrows in each direction with the explanation "serial-to-Ethernet buffer overflow".

In DS Manager is this just a record of the last error, or an ongoing error?

ident
Administrator


Joined: Wednesday Aug 9th, 2006
Location: Singapore
Posts: 3493
Status: 
Offline

  back to top

Please see possible fix in here http://www.comfortforums.com/forum96/2540.html
This topic will be closed, as it is now more than 3 pages. Any comments please continue there


UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems