[ANSWERED]Apple Watch Extension

Posted on
Mon Sep 14, 2015 6:22 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: [ANSWERED]Apple Watch Extension

I've updated my guide - yes, it should be port 8176, I missed it when transcribing.


Sent from my iPhone using Tapatalk

Posted on
Mon Sep 14, 2015 7:51 am
autolog offline
Posts: 3991
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: [ANSWERED]Apple Watch Extension

Should also have an underscore in front of method I think? :
Code: Select all
http://user:pass@192.168.x.y:8176/actions/NAME?_method=execute
I have finally managed to get it working for devices but actions are still not working for me. I am getting an error in the Indigo Event log of access denied.
I have done a Generate Configuration from Settings and then retrieved the saved configuration plots from iTunes.
I have then compared the userid and password between the device and action url strings and they are exactly the same AFAICS.
For some reason it isn't liking the execute option on actions :?

Again, no doubt something I have missed - just trying to spot what it is :)

Posted on
Mon Sep 14, 2015 7:56 am
DaveL17 offline
User avatar
Posts: 6779
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: [ANSWERED]Apple Watch Extension

I assume that this app requires a static IP to work outside the LAN.

Is that the case?

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon Sep 14, 2015 9:26 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: [ANSWERED]Apple Watch Extension

Or a dyndns type service, but I've not tried that or looked at the implications of forwarding 8176 to Indigo from outside.


Sent from my iPhone using Tapatalk

Posted on
Mon Sep 14, 2015 10:15 am
Gary_BBGames offline
Posts: 164
Joined: Sep 14, 2015

Re: [ANSWERED]Apple Watch Extension

Hey guys,

I'm the developer of Home Remote, an app a couple of you have mentioned here. If you use the name:pass setting in the app it will use a basic base 64 encoded string as the Authorization value in the header. If you enter it in the URL field then it will be sent "as is".

I'm open to implementing any suggestions you might think are useful.

Thanks.

Posted on
Mon Sep 14, 2015 10:29 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: [ANSWERED]Apple Watch Extension

Hi Gary.

The primary suggestion I'd have is a Mac Config option - the interface for entering long URLs is a pain by its nature; if the OS X app you recently brought out could allow Config of Home Remote, it would be far quicker to create your setup.


Sent from my iPhone using Tapatalk

Posted on
Mon Sep 14, 2015 10:32 am
autolog offline
Posts: 3991
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: [ANSWERED]Apple Watch Extension

Gary_BBGames wrote:
... If you use the name:pass setting in the app it will use a basic base 64 encoded string as the Authorization value in the header. If you enter it in the URL field then it will be sent "as is". ...

That's solved my Actions not working - I discovered that I had previously set-up the name:pass setting in the app when I was playing around trying to get it to work. I deleted it and now its working. :)

I now have actions working from my watch - brilliant :D

Posted on
Mon Sep 14, 2015 12:31 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: [ANSWERED]Apple Watch Extension

autolog wrote:
Should also have an underscore in front of method I think?

Yep :(

I was at work typing the response when I should have been listening to my boss speaking to me, so I seem to have completely messed half of it up!

Updated above.

Posted on
Mon Sep 14, 2015 12:58 pm
DaveL17 offline
User avatar
Posts: 6779
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: [ANSWERED]Apple Watch Extension

howartp wrote:
Or a dyndns type service, but I've not tried that or looked at the implications of forwarding 8176 to Indigo from outside.


Sent from my iPhone using Tapatalk
Thanks. I suspected as much.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon Sep 14, 2015 1:24 pm
durosity offline
User avatar
Posts: 4323
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: [ANSWERED]Apple Watch Extension

Hmm.. so i'm not having much luck with this. It works fine if i disable authentication within Indigo, but with it on (as obviously it should be!) nothing comes through. I don't get any errors of authentication in the log, regardless of the correct details being entered into the url field. At first i thought it was an iOS 9 issue but i've now tested it on the wife's iPad on 8.4 and no joy.

Any ideas?

Computer says no.

Posted on
Mon Sep 14, 2015 2:10 pm
autolog offline
Posts: 3991
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: [ANSWERED]Apple Watch Extension

Some suggestions:
  • Check against Peter's summary post (has been updated in place with corrections since original posting)
  • Make sure you haven't filled in the Name:Pass field under POST / PUT options
It took me a while to get it working but the effort was worth it :D

Posted on
Mon Sep 14, 2015 3:47 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: [ANSWERED]Apple Watch Extension

Gary_BBGames wrote:
I'm open to implementing any suggestions you might think are useful.

Gary,

When editing a URL, the iOS keyboard has DONE button, which hides it so you can Update etc. When renaming an action, the iOS keyboard instead has RETURN which doesn't hide it so you can't easily get at Update etc.

Peter


Sent from my iPhone using Tapatalk

Posted on
Mon Sep 14, 2015 3:53 pm
durosity offline
User avatar
Posts: 4323
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: [ANSWERED]Apple Watch Extension

autolog wrote:
Some suggestions:
  • Check against Peter's summary post (has been updated in place with corrections since original posting)
  • Make sure you haven't filled in the Name:Pass field under POST / PUT options
It took me a while to get it working but the effort was worth it :D


Aha, I've made an interesting discovery.. It works external to my network.. So when I connect via 3G it works with a domain name, but when connected to my local network it doesn't work regardless of using that domain name or using the local IP address. However it does work if I type the same URL into safari regardless of local or not. It's got to be a network issue of some sort but I have no idea of what... :/


Sent from my iPad using Tapatalk

Computer says no.

Posted on
Mon Sep 14, 2015 4:01 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: [ANSWERED]Apple Watch Extension

It works on Safari on your iPhone by local IP?


Sent from my iPhone using Tapatalk

Posted on
Mon Sep 14, 2015 4:27 pm
durosity offline
User avatar
Posts: 4323
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: [ANSWERED]Apple Watch Extension

Yeah. I've just tested it with the other half's 8.4 device as it works perfectly there regardless of local/3G, so it's got to be an iOS 9 thing. Ah the beauty of being on the bleeding edge.


Sent from my iPad using Tapatalk

Computer says no.

Page 6 of 11 1 ... 3, 4, 5, 6, 7, 8, 9 ... 11

Who is online

Users browsing this forum: No registered users and 1 guest