Shameless request here. I am using the app IP2IR Telnet (available here) to control my Russound AV receiver using webcore. If I send the command GET C[1].Z[6].volume
I would like to be able to capture the parse S response, in this case that the volume is "0".
Any suggestions on how I might be able to capture the "0" in webcore? I want to be able to capture the data from multiple different commands. I don't know anything about Groovy. I sent a PM to the author of IP2IR Telnet for assistance, but no response.
Is there a way to capture the log response programmatically? Ideally, I would like to for app to have a "response" attribute. Then I could parse that with Webcore. I don't think that the app supports that at present.
Not sure exactly what you are asking.... Are you saying you have a driver / app that produces a log you would like to target / capture through your own code / configuration? i.e. outside of what the app/driver provides?
Sorry, yes. The DRIVER (not app) does not have a "response" attribute. I think it would be easy to add it to the code. I just don't know how to do that. I THINK that the log indicates that a response from the command is given. I just do not currently have a way to capture and use that response.
Hmm.... Still not entirely sure how best to respond... plus probably best for others more alert than me to respond....
If you have the driver code available to you, you can hopefully find the code where the log is generated.... Then go from there.... Or Bryan can re-write the driver...
I'll try to take a look at this later today but to be honest I have a busy day today and I haven't looked at that code in over a year. I don't use it anymore, everything i have Is controlled over IP address now.
That's what I read... not sure what Bryan was saying after this... but I expect he'll give you the great service we have come to expect. Now I can sleep easy....