RogueProeliator wrote:HOWEVER, based on that last detailed logging enabled, I may have found an issue -- the response from the TV is slightly different than previous models that we have seen but close enough that I think it is trying to tell the plugin to re-authenticate. Just that the plugin isn't recognizing it as a re-authentication command. Technically Sony is using an incorrect code here (they are using an HTTP error code, but the text you sent includes an HTTP re-auth request code), but I digress.
Give THIS one a try and see how it goes...
https://github.com/RogueProeliator/IndigoPlugins-Sony-Network-Remote/archive/v2.4.3.zip
Adam
Nope. No SOAP yet.

(I hate Sony. First their rootkit in CDs and now this. I am so sorry I bought their TVs. Once we get this working I plan to block them from the net and from ever getting updates again.)
Action Group Office TV Bench HDMI1
Sony Bravia Network Remote Plugin Threaddebug Returning default GUIConfigValue for sonyTvRemoteDevice:deviceIsChildDevice
Sony Bravia Network Remote Plugin Threaddebug Returning default GUIConfigValue for sonyTvRemoteDevice:deviceIsChildDevice
Sony Bravia Network Remote Plugin Threaddebug Returning default GUIConfigValue for sonyTvRemoteDevice:deviceIsChildDevice
Sony Bravia Network Remote Plugin Debug Concurrent Processing Thread started for device 1587352776
Sony Bravia Network Remote Plugin Threaddebug Returning default GUIConfigValue for sonyTvRemoteDevice:updateStatusPollerIntervalProperty
Sony Bravia Network Remote Plugin Threaddebug Returning default GUIConfigValue for sonyTvRemoteDevice:updateStatusPollerActionId
Sony Bravia Network Remote Plugin Threaddebug Returning default GUIConfigValue for sonyTvRemoteDevice:emptyQueueReducedWaitCycles
Sony Bravia Network Remote Plugin Threaddebug Returning default GUIConfigValue for sonyTvRemoteDevice:databaseConnectionEnabled
Sony Bravia Network Remote Plugin Threaddebug Database access enabled:
Sony Bravia Network Remote Plugin Threaddebug Database access has been disabled, skipping connection
Sony Bravia Network Remote Plugin Threaddebug Command queue has 2 command(s) waiting
Sony Bravia Network Remote Plugin Threaddebug Received SOAP/JSON command request:
/sony/ircc
urn:schemas-sony-com:service:IRCC:1#X_SendIRCC
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<m:X_SendIRCC xmlns:m="urn:schemas-sony-com:service:IRCC:1">
<IRCCCode xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">AAAAAQAAAAEAAAAvAw==</IRCCCode>
</m:X_SendIRCC>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Sony Bravia Network Remote Plugin Debug Processing SOAP/JSON operation to http://172.16.48.32:80/sony/ircc
Sony Bravia Network Remote Plugin Threaddebug Sending SOAP/JSON request:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<m:X_SendIRCC xmlns:m="urn:schemas-sony-com:service:IRCC:1">
<IRCCCode xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">AAAAAQAAAAEAAAAvAw==</IRCCCode>
</m:X_SendIRCC>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Sony Bravia Network Remote Plugin Threaddebug Using headers:
{'Content-type': 'text/xml; charset="UTF-8"', 'Host': u'172.16.48.32', 'Cookie': u'auth=795DE16CFFAB2C26411FB354DC0DF550AFA71DE2', 'SOAPAction': 'urn:schemas-sony-com:service:IRCC:1#X_SendIRCC', 'User-Agent': 'DuncanwareRemote (IndigoPlugin)'}
Sony Bravia Network Remote Plugin Received an authentication request, attempting now...
Sony Bravia Network Remote Plugin Received an authentication request, attempting now...
Sony Bravia Network Remote Plugin Error Error in plugin execution:
Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sony Bravia Network Remote.indigoPlugin/Contents/Server Plugin/RPFramework/RPFrameworkRESTfulDevice.py", line 362, in concurrentCommandProcessingThread
self.handleRESTfulError(command, e, responseObj)
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/Sony Bravia Network Remote.indigoPlugin/Contents/Server Plugin/sonyTvNetworkRemoteDevice.py", line 159, in handleRESTfulError
self.commandQueue.put(RPFrameworkCommand.RPFrameworkCommand(CMD_AUTHENTICATE_TO_DEVICE, commandPayload=rpCommand.commandPayload))
NameError: global name 'RPFrameworkCommand' is not defined
Sony Bravia Network Remote Plugin Debug Command thread ending processing