Jump to content

Siri Program Execution problem


rschneid

Recommended Posts

I posted this msg in the "How are you using..." forum which was probably the wrong place. So I am reposting it here. since then I have added some stuff coming out of the rest error log.

 

Can anyone help me with the right syntax for executing an isy program inside the siriproxy-isy99i.rb file?

 

Here is what I have:

 

listen_for (/celebrate/i) do

say "tough love"

Rest.get("http://my.verfied.ip:port#/rest/programs/0073/runThen",:basic_auth=>@auth)

say "made it past execution line"

request_completed

end

 

 

Note I do have SIRI working perfectly for all command nodes (turning lights on and off, scenes etc.). Everything is fine, except I can't run programs.

When I execute the url from Firefox it does run the program on my ISY. (light blinks on and off)

When I execute the spch command "celebrate" from my 4S, it does say both "tough love" and "made it past execution line", but the isy program does not run properly (at all?). No other msgs coming out of Siri. I have modified some of the parameters and I can get back a connection refused msg from siri if i mess with the auth. So I think that the authorization is working, but I am not sure. Anyone have any suggestions?

 

Rest log showing a good execution from my browser, followed by the error set being generated by the SIRI call

3588833006 0 -170001 [HTTP] 192.168.1.19:61529->81

3588833006 0 -170001 [HTTP]: GET-->/rest/programs/0073/runThen

3588833006 0 -170001 [HTTP] 192.168.1.19:61530->81

3588833007 0 -170001 [HTTP] Closing socket normally

 

3588833115 0 -170001 [HTTP] 192.168.1.10:33940->81

3588833115 0 -170001 [HTTP]: GET-->/rest/programs/0073/runThen

3588833115 0 -170001 [HTTP] Socket not active#2

3588833115 0 -170001 [HTTP] Closing socket w/failure

 

 

Thank you

Rich S.

Link to comment
  • 2 months later...

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...