IOS 10 Beta

Posted on
Sat Jul 16, 2016 5:47 pm
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: IOS 10 Beta

Damnit, I was hoping you’d reply saying “don’t worry your pretty little head, I’ve already written one and it’s super awesome and amazeballs!”

Computer says no.

Posted on
Sat Jul 16, 2016 6:23 pm
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: IOS 10 Beta

webdeck wrote:
Thanks for the reports. I don't have a spare phone that I can use to experiment with iOS betas, so please report any issues with iOS 10 here. Thanks!


On a different note there does seem to be an issue with updating of statuses using homebridge with the Home app on iOS 10. As mentioned before it does an “updating” state when it first opens that can sometimes take a while to clear, and quite often some items will come up stating “not responding”. Running homebridge -D resulted in this error for the devices that come up like this:

Code: Select all
[17/07/2016, 01:17:04] [My Indigo Server] Error for Indigo request /devices/Utility%20-%20Extractor%20Fan.json: Error: connect ECONNRESET 127.0.0.1:8080
[17/07/2016, 01:17:04] [My Indigo Server] Error for Indigo request /devices/Bedroom%202%20-%20Electric%20Blanket.json: Error: connect ECONNRESET 127.0.0.1:8080
[17/07/2016, 01:17:04] [My Indigo Server] Error for Indigo request /devices/Landing%20-%20Light.json: Error: connect ECONNRESET 127.0.0.1:8080
[17/07/2016, 01:17:04] [My Indigo Server] Error for Indigo request /devices/Study%20-%20Main%20Light.json: Error: connect ECONNRESET 127.0.0.1:8080
[17/07/2016, 01:17:04] [My Indigo Server] Error for Indigo request /devices/Bathroom%20-%20Light.json: Error: connect ECONNRESET 127.0.0.1:8080
[17/07/2016, 01:17:04] [My Indigo Server] Error for Indigo request /devices/Lounge%20-%20Venetian%20Blinds.json: Error: connect ECONNRESET 127.0.0.1:8080
[17/07/2016, 01:17:04] [My Indigo Server] Error for Indigo request /devices/Hall%20-%20Cupboard%20Door%20Lock.json: Error: read ECONNRESET


Not my area of expertise (what is?) but is it possible that too many requests are causing indigo to not respond? Also after about 30 seconds it seems to try again and updates successfully:

Code: Select all
[17/07/2016, 01:17:38] [My Indigo Server] Indigo request: http://127.0.0.1:8080/devices/Hall%20-%20Cupboard%20Door%20Lock.json
[17/07/2016, 01:17:38] [My Indigo Server] Indigo request: http://127.0.0.1:8080/devices/Bathroom%20-%20Light.json
[17/07/2016, 01:17:38] [My Indigo Server] Indigo request: http://127.0.0.1:8080/devices/Dining%20-%20Main%20Light.json
[17/07/2016, 01:17:38] [My Indigo Server] Indigo request: http://127.0.0.1:8080/devices/Landing%20-%20Light.json
[17/07/2016, 01:17:38] [My Indigo Server] Indigo request: http://127.0.0.1:8080/devices/Lounge%20-%20Venetian%20Blinds.json
[17/07/2016, 01:17:38] [My Indigo Server] Indigo request: http://127.0.0.1:8080/devices/Bedroom%202%20-%20Electric%20Blanket.json
[17/07/2016, 01:17:38] [My Indigo Server] Indigo request: http://127.0.0.1:8080/devices/Study%20-%20Main%20Light.json


Edit: and just spotted a write error too:

Code: Select all
[17/07/2016, 01:40:58] [My Indigo Server] Error for Indigo request /devices/Study%20-%20Desk%20Light.json: Error: write EPIPE

Computer says no.

Posted on
Sat Jul 16, 2016 10:35 pm
webdeck offline
Posts: 436
Joined: May 07, 2005

Re: IOS 10 Beta

Yes, that looks like the new Home app is making a ton of requests in parallel and Indigo can't keep up. I'll have to think about how I can throttle the requests to Indigo.

Posted on
Sun Jul 17, 2016 3:04 pm
Londonmark offline
Posts: 509
Joined: Feb 29, 2012

Re: IOS 10 Beta

I've found several times that the Home app won't update or control anything even though Siri will.

Posted on
Sun Jul 17, 2016 4:47 pm
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: IOS 10 Beta

Yeah as best I can tell from the logs when that happens it's as discussed above where there's been too many requests.

Computer says no.

Posted on
Sun Jul 24, 2016 4:52 am
peteinau offline
Posts: 65
Joined: Jan 10, 2015

Re: IOS 10 Beta

Has anyone tried adding the Homebridge in iOS 10? For some reason my HomeKit configuration was completely wiped in the second beta so I've had to recreate it. All my actual HomeKit devices were fine to add, but homebridge doesn't want to show up to add.

Posted on
Sun Jul 24, 2016 6:17 am
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: IOS 10 Beta

Are you trying to add it via the home app? I've noticed it won't add any non certified devices like homebridge but will show them and control them if you add them using a different app

Computer says no.

Posted on
Sat Jul 30, 2016 2:50 pm
reading123 offline
Posts: 10
Joined: Jul 16, 2014

Re: IOS 10 Beta

Thanks for your work on this!

I'm using the iOS 10 Home app and am having the issue described above with requests timing out.

Did you get anywhere a version that throttles or queues the requests in the plugin? I'd be very happy to test!

Thanks

Posted on
Sat Jul 30, 2016 3:06 pm
webdeck offline
Posts: 436
Joined: May 07, 2005

Re: IOS 10 Beta

reading123 wrote:
Thanks for your work on this!

I'm using the iOS 10 Home app and am having the issue described above with requests timing out.

Did you get anywhere a version that throttles or queues the requests in the plugin? I'd be very happy to test!

Thanks


With family commitments, I'm about a month away from having a chance to work on this, so. sorry, I don't have a new version to test.

Posted on
Sun Jul 31, 2016 9:08 am
reading123 offline
Posts: 10
Joined: Jul 16, 2014

Re: IOS 10 Beta

Understood :-)

Playing with it a bit more today it looks like a part of the problem is the new iOS10 Home app sends both a "power on" and "brightness" command as the user is dragging the dimmer slider. This results in a bunch of "on" and "brightness" commands being sent to Indigo (not aided by the behaviour in the Home app of sending the commands as the user is dragging the slider).

Longer term I reckon we need a lag timer on the commands being sent to Indigo, but what do you reckon about preventing the "on" command being sent when it's sending brightness commands?

Thanks!

Who is online

Users browsing this forum: No registered users and 5 guests