Announcement

Collapse
No announcement yet.

Sony XBR-75X940D Control

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Sony XBR-75X940D Control

    I installed the plugin and am trying to get to the TV remote control to power on/off the TV. It looks like the player device is working and I can even raise/lower volume, mute/unmute.

    In the instructions (I think sonos is a typo and should read sony) it states that I should see a "Register" and "Create Remote Buttons" button - I don't have that.

    The plugin has a proprietary extension for a Sony Network Media Player SMP-N200. I suspect that newer TVs and Blue Ray Players from Sony will have the same functions. Once you added the Sonos device to HS, if the device supports the proprietary IRCC extension, you should see a “Remote” device with a “Register” button and a “Create Remote Buttons” button. Things are different here for older Sony devices, TVs versus AVReceivers.
    When I try to configure the "remote" device from the player table I get an error. This is a new Sony TV running Android TV.

    Here are some screen shots. The "404 Bad Request" error is the page that comes up when I click on the "Config" button on the device with Service Type of "Remote".

    This is from the "Log Whole Network" text file:
    DisplayUPnPDevices found device = Family Room TV
    UDN = uuid:0dae28f8-46e4-4685-a045-b45aa9327e4b
    IPAddress = 192.168.1.42
    IPPort = 5529
    Location =
    ModelName = XBR-75X940D
    ModelNumber =
    Alive = False
    Server = FedoraCore/2 UPnP/1.0 MINT-X/1.8.1
    TimeoutValue = max-age=1800
    DisplayUPnPDevices found device = Family Room TV
    UDN = uuid:23456789-1234-1010-8000-104fa8d26af2
    IPAddress = 192.168.1.42
    IPPort = 52323
    Location = http://192.168.1.42:52323/MediaRenderer.xml
    ModelName = MediaRenderer
    ModelNumber = 100
    Alive = True
    Server = Android/1.6 UPnP/1.0 Huey Sample DMR/0.1
    TimeoutValue = max-age=1800
    DisplayUPnPDevices found Service ID = urn:upnp-org:serviceId:RenderingControl
    ServiceTypeIdentifier = urn:schemas-upnp-org:service:RenderingControl:1
    ControlURL = http://192.168.1.42:52323/upnp/control/RenderingControl
    EventSubURL = http://192.168.1.42:52323/upnp/event/RenderingControl
    ReceivedSID = uuid:50d954d8-d09a-11e6-8000-104fa8d26af2
    MySCPDURL = http://192.168.1.42:52323/RenderingControlSCPD.xml
    ServiceActive = False
    Timeout = 300
    DisplayUPnPDevices found Service ID = urn:upnp-org:serviceId:ConnectionManager
    ServiceTypeIdentifier = urn:schemas-upnp-org:service:ConnectionManager:1
    ControlURL = http://192.168.1.42:52323/upnp/contr...nectionManager
    EventSubURL = http://192.168.1.42:52323/upnp/event/ConnectionManager
    ReceivedSID = uuid:50d591cc-d09a-11e6-8000-104fa8d26af2
    MySCPDURL = http://192.168.1.42:52323/ConnectionManagerSCPD.xml
    ServiceActive = False
    Timeout = 300
    DisplayUPnPDevices found Service ID = urn:upnp-org:serviceId:AVTransport
    ServiceTypeIdentifier = urn:schemas-upnp-org:service:AVTransport:1
    ControlURL = http://192.168.1.42:52323/upnp/control/AVTransport
    EventSubURL = http://192.168.1.42:52323/upnp/event/AVTransport
    ReceivedSID = uuid:50d81618-d09a-11e6-8000-104fa8d26af2
    MySCPDURL = http://192.168.1.42:52323/AVTransportSCPD.xml
    ServiceActive = False
    Timeout = 300
    DisplayUPnPDevices found device = Family Room TV
    UDN = uuid:22d14f77-b8b5-45c3-a1bb-c1218fcc3bb2
    IPAddress = 192.168.1.42
    IPPort = 55972
    Location = http://192.168.1.42:55972/sony/webapi/ssdp/dd.xml
    ModelName = XBR-75X940D
    ModelNumber =
    Alive = True
    Server = FedoraCore/2 UPnP/1.0 MINT-X/1.8.1
    TimeoutValue = max-age=1800
    DisplayUPnPDevices found Service ID = urn:schemas-sony-com:serviceId:ScalarWebAPI
    ServiceTypeIdentifier = urn:schemas-sony-com:service:ScalarWebAPI:1
    ControlURL = http://192.168.1.42/sony
    EventSubURL = http://192.168.1.42:55972
    ReceivedSID =
    MySCPDURL = http://192.168.1.42:55972/sony/webap...WebApiSCPD.xml
    ServiceActive = False
    Timeout = 300
    DisplayUPnPDevices found Service ID = urn:schemas-sony-com:serviceId:IRCC
    ServiceTypeIdentifier = urn:schemas-sony-com:service:IRCC:1
    ControlURL = http://192.168.1.42/sony/ircc
    EventSubURL = http://192.168.1.42:55972
    ReceivedSID =
    MySCPDURL = http://192.168.1.42/sony/ircc/IRCCSCPD.xml
    ServiceActive = False
    Timeout = 300
    Appreciate the help.
    Attached Files
    Last edited by denisl; January 2, 2017, 01:39 AM.

    #2
    Originally posted by denisl View Post
    I installed the plugin and am trying to get to the TV remote control to power on/off the TV. It looks like the player device is working and I can even raise/lower volume, mute/unmute.

    In the instructions (I think sonos is a typo and should read sony) it states that I should see a "Register" and "Create Remote Buttons" button - I don't have that.



    When I try to configure the "remote" device from the player table I get an error. This is a new Sony TV running Android TV.

    Here are some screen shots. The "404 Bad Request" error is the page that comes up when I click on the "Config" button on the device with Service Type of "Remote".

    This is from the "Log Whole Network" text file:


    Appreciate the help.
    Hi Denis,

    thanks for pointing out the typos in the help file, I've corrected those.
    There is a good chance that the Android based TVs won't work the way the other ones do but let's try to figure it out.

    First of all there should have been an "authenticate" button in the config page, the screenshot doesn't show it, so that might already the first indication for problems.

    Could you do the following:
    - turn the debug AND superdebug flag on
    - turn the log to disk option on
    - stop HS or at least the PI
    - Make sure the TV is on
    - start HS or PI again
    - It takes about a minute to initialize, so wait at least 2
    - turn the log to disk option OFF. THIS IS IMPORTANT!!!
    - post the log file which can be found at <hs root>\html\MediaController\logs named MediaControllerDebug.txt

    Could you also post the result of:

    http://192.168.1.42/sony/ircc/IRCCSCPD.xml
    In the result you may see a tag named av:X_CERS_ActionList_URL
    This will lead you something like
    http://192.168.1.42:50002/actionList
    Can you pull up that URL and post it here as well and try any other URLs you find and post the result.

    Another on to post is:
    http://192.168.1.42:55972/sony/webapi/ssdp/dd.xml


    Dirk

    Comment


      #3
      Dirk,
      I let debug mode run for a little over 3 minutes.
      Below is the IRCCSCPD output and the dd.xml but I don't see any other URL's to dig down in to. Let me know if there is anything else you want to to provide.

      Here is the MediaControllerDebug.txt file

      Also attaching a screen shot of the "Player Table" - after restarting the plugin and restarting HS - the service type "Remote" now has a red X.

      Thank you very much for the help!

      http://192.168.1.42/sony/ircc/IRCCSCPD.xml

      <?xml version="1.0"?>

      -<scpd xmlns="urn:schemas-upnp-org:service-1-0">


      -<specVersion>

      <major>1</major>

      <minor>0</minor>

      </specVersion>


      -<actionList>


      -<action>

      <name>X_SendIRCC</name>


      -<argumentList>


      -<argument>

      <name>IRCCCode</name>

      <direction>in</direction>

      <relatedStateVariable>X_A_ARG_TYPE_IRCCCode</relatedStateVariable>

      </argument>

      </argumentList>

      </action>


      -<action>

      <name>X_GetStatus</name>


      -<argumentList>


      -<argument>

      <name>CategoryCode</name>

      <direction>in</direction>

      <relatedStateVariable>X_A_ARG_TYPE_Category</relatedStateVariable>

      </argument>


      -<argument>

      <name>CurrentStatus</name>

      <direction>out</direction>

      <relatedStateVariable>X_A_ARG_TYPE_CurrentStatus</relatedStateVariable>

      </argument>


      -<argument>

      <name>CurrentCommandInfo</name>

      <direction>out</direction>

      <relatedStateVariable>X_A_ARG_TYPE_CurrentCommandInfo</relatedStateVariable>

      </argument>

      </argumentList>

      </action>

      </actionList>


      -<serviceStateTable>


      -<stateVariable sendEvents="no">

      <name>X_A_ARG_TYPE_IRCCCode</name>

      <dataType>string</dataType>

      </stateVariable>


      -<stateVariable sendEvents="no">

      <name>X_A_ARG_TYPE_Category</name>

      <dataType>string</dataType>

      </stateVariable>


      -<stateVariable sendEvents="no">

      <name>X_A_ARG_TYPE_CurrentStatus</name>

      <dataType>string</dataType>


      -<allowedValueList>

      <allowedValue>0</allowedValue>

      <allowedValue>801</allowedValue>

      <allowedValue>804</allowedValue>

      <allowedValue>805</allowedValue>

      <allowedValue>806</allowedValue>

      </allowedValueList>

      </stateVariable>


      -<stateVariable sendEvents="no">

      <name>X_A_ARG_TYPE_CurrentCommandInfo</name>

      <dataType>string</dataType>

      </stateVariable>

      </serviceStateTable>

      </scpd>


      http://192.168.1.42:55972/sony/webapi/ssdp/dd.xml

      <?xml version="1.0"?>

      -<root xmlns="urn:schemas-upnp-org:device-1-0">


      -<specVersion>

      <major>1</major>

      <minor>0</minor>

      </specVersion>


      -<device>

      <deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType>

      <friendlyName>Family Room TV</friendlyName>

      <manufacturer>Sony Corporation</manufacturer>

      <manufacturerURL>http://www.sony.net/</manufacturerURL>

      <modelName>XBR-75X940D</modelName>

      <UDN>uuid:22d14f77-b8b5-45c3-a1bb-c1218fcc3bb2</UDN>


      -<iconList>


      -<icon>

      <mimetype>image/jpeg</mimetype>

      <width>120</width>

      <height>120</height>

      <depth>24</depth>

      <url>/sony/webapi/ssdp/icon/xfh_65_120.jpg</url>

      </icon>


      -<icon>

      <mimetype>image/png</mimetype>

      <width>120</width>

      <height>120</height>

      <depth>24</depth>

      <url>/sony/webapi/ssdp/icon/xfh_65_120.png</url>

      </icon>


      -<icon>

      <mimetype>image/jpeg</mimetype>

      <width>32</width>

      <height>32</height>

      <depth>24</depth>

      <url>/sony/webapi/ssdp/icon/xfh_65_32.jpg</url>

      </icon>


      -<icon>

      <mimetype>image/png</mimetype>

      <width>32</width>

      <height>32</height>

      <depth>24</depth>

      <url>/sony/webapi/ssdp/icon/xfh_65_32.png</url>

      </icon>


      -<icon>

      <mimetype>image/jpeg</mimetype>

      <width>48</width>

      <height>48</height>

      <depth>24</depth>

      <url>/sony/webapi/ssdp/icon/xfh_65_48.jpg</url>

      </icon>


      -<icon>

      <mimetype>image/png</mimetype>

      <width>48</width>

      <height>48</height>

      <depth>24</depth>

      <url>/sony/webapi/ssdp/icon/xfh_65_48.png</url>

      </icon>


      -<icon>

      <mimetype>image/jpeg</mimetype>

      <width>60</width>

      <height>60</height>

      <depth>24</depth>

      <url>/sony/webapi/ssdp/icon/xfh_65_60.jpg</url>

      </icon>


      -<icon>

      <mimetype>image/png</mimetype>

      <width>60</width>

      <height>60</height>

      <depth>24</depth>

      <url>/sony/webapi/ssdp/icon/xfh_65_60.png</url>

      </icon>

      </iconList>


      -<serviceList>


      -<service>

      <serviceType>urn:schemas-sony-com:service:ScalarWebAPI:1</serviceType>

      <serviceId>urn:schemas-sony-com:serviceId:ScalarWebAPI</serviceId>

      <SCPDURL>/sony/webapi/ssdp/scpd/WebApiSCPD.xml</SCPDURL>

      <controlURL>http://192.168.1.42/sony</controlURL>

      <eventSubURL/>

      </service>


      -<service>

      <serviceType>urn:schemas-sony-com:service:IRCC:1</serviceType>

      <serviceId>urn:schemas-sony-com:serviceId:IRCC</serviceId>

      <SCPDURL>http://192.168.1.42/sony/ircc/IRCCSCPD.xml</SCPDURL>

      <controlURL>http://192.168.1.42/sony/ircc</controlURL>

      <eventSubURL/>

      </service>

      </serviceList>


      -<av:X_ScalarWebAPI_DeviceInfo xmlns:av="urn:schemas-sony-com:av">

      <av:X_ScalarWebAPI_Version>1.0</av:X_ScalarWebAPI_Version>

      <av:X_ScalarWebAPI_BaseURL>http://192.168.1.42/sony</av:X_ScalarWebAPI_BaseURL>


      -<av:X_ScalarWebAPI_ServiceList>

      <av:X_ScalarWebAPI_ServiceType>guide</av:X_ScalarWebAPI_ServiceType>

      <av:X_ScalarWebAPI_ServiceType>accessControl</av:X_ScalarWebAPI_ServiceType>

      <av:X_ScalarWebAPI_ServiceType>encryption</av:X_ScalarWebAPI_ServiceType>

      <av:X_ScalarWebAPI_ServiceType>contentshare</av:X_ScalarWebAPI_ServiceType>

      <av:X_ScalarWebAPI_ServiceType>avContent</av:X_ScalarWebAPI_ServiceType>

      <av:X_ScalarWebAPI_ServiceType>cec</av:X_ScalarWebAPI_ServiceType>

      <av:X_ScalarWebAPI_ServiceType>audio</av:X_ScalarWebAPI_ServiceType>

      <av:X_ScalarWebAPI_ServiceType>system</av:X_ScalarWebAPI_ServiceType>

      <av:X_ScalarWebAPI_ServiceType>appControl</av:X_ScalarWebAPI_ServiceType>

      <av:X_ScalarWebAPI_ServiceType>videoScreen</av:X_ScalarWebAPI_ServiceType>

      </av:X_ScalarWebAPI_ServiceList>

      </av:X_ScalarWebAPI_DeviceInfo>


      -<av:X_IRCC_DeviceInfo xmlns:av="urn:schemas-sony-com:av">

      <av:X_IRCC_Version>1.0</av:X_IRCC_Version>


      -<av:X_IRCC_CategoryList>


      -<av:X_IRCC_Category>

      <av:X_CategoryInfo>AAEAAAAB</av:X_CategoryInfo>

      </av:X_IRCC_Category>


      -<av:X_IRCC_Category>

      <av:X_CategoryInfo>AAIAAACk</av:X_CategoryInfo>

      </av:X_IRCC_Category>


      -<av:X_IRCC_Category>

      <av:X_CategoryInfo>AAIAAACX</av:X_CategoryInfo>

      </av:X_IRCC_Category>


      -<av:X_IRCC_Category>

      <av:X_CategoryInfo>AAIAAAB3</av:X_CategoryInfo>

      </av:X_IRCC_Category>


      -<av:X_IRCC_Category>

      <av:X_CategoryInfo>AAIAAAAa</av:X_CategoryInfo>

      </av:X_IRCC_Category>

      </av:X_IRCC_CategoryList>

      </av:X_IRCC_DeviceInfo>


      -<av:X_IRCCCodeList xmlns:av="urn:schemas-sony-com:av">

      <av:X_IRCCCode command="Power">AAAAAQAAAAEAAAAVAw==</av:X_IRCCCode>

      </av:X_IRCCCodeList>


      -<av:X_RDIS_DeviceInfo xmlns:av="urn:schemas-sony-com:av">

      <av:X_RDIS_Version>1.0</av:X_RDIS_Version>

      <av:X_RDIS_SESSION_CONTROL>true</av:X_RDIS_SESSION_CONTROL>

      <av:X_RDIS_KEEP_ALIVE>false</av:X_RDIS_KEEP_ALIVE>

      <av:X_RDIS_ENTRY_PORT>58286</av:X_RDIS_ENTRY_PORT>

      </av:X_RDIS_DeviceInfo>

      </device>

      </root>
      Attached Files

      Comment


        #4
        Hi Denis,

        I weeding through the log file and trying to figure out why you don't have the "authenticate" button in the config screen.

        Could you do the following:

        1/ post your mediacontroller.ini file as it is right now.

        Then do the following:
        1/ go to the config screen and click on the delete button for the remote. Then click on the remove button for the remote.
        2/ set ONLY debug flag on NOT superdebug
        3/ turn the log to disk flag on
        4/ restart the PI
        5/ open the config page, now add the "remote device"
        6/ if you still don't see an authenticate button, turn the log to disk flag off and post the log
        7/ I suspect something goes wrong when the remote device is supposed to be created.

        Dirk

        Comment


          #5
          Hi Dirk,
          Here is the MediaController.ini file as it exists right now.

          For step 1, you say click on the delete button then remove. I don't see the delete button. I have a button "Config" and one "Remove" as indicated in the screen shot above. Can you clarify for me - I don't want to make a mistake.

          Thank you very much for working through this.

          Comment


            #6
            Originally posted by denisl View Post
            Hi Dirk,
            Here is the MediaController.ini file as it exists right now.

            For step 1, you say click on the delete button then remove. I don't see the delete button. I have a button "Config" and one "Remove" as indicated in the screen shot above. Can you clarify for me - I don't want to make a mistake.

            Thank you very much for working through this.
            My bad, it is remove and then delete.
            Dirk

            Comment


              #7
              Just did it - and no "authenticate" button. I clicked on Add the got "Config" which takes me to the 404 error page.

              Here's the debug log:

              Code:
              root@p-vubuhs301:/home/hs3/HomeSeer/html/MediaController/Logs# cat MediaControllerDebug.txt
              1/2/2017 6:52:24 PM : ReadIniFile called
              1/2/2017 6:52:24 PM : Media Controller Plugin Initialized
              1/2/2017 6:52:25 PM : InitializeUPnPDevices called
              1/2/2017 6:52:25 PM : InitializeUPnPDevices found MasterHSDeviceRef in the inifile. MasterHSDeviceRef = 434
              1/2/2017 6:52:25 PM : BuildUPnPHSDeviceInfoList called
              1/2/2017 6:52:26 PM : BuildUPnPHSDeviceInfoList found XBR-75X940D at Index 0
              1/2/2017 6:52:26 PM : MCastSocket.new was called with MCastAddress = 239.255.255.250 and MCastPort = 1900
              1/2/2017 6:52:26 PM : ConnectSocket called with mcastAddress = 239.255.255.250 and mcastPort = 1900 and LocalIpAddress = 0.0.0.0 and LocalIPPort = 1900
              1/2/2017 6:52:26 PM : MyTcpListener.Start called with HostAddress = 192.168.1.40
              1/2/2017 6:52:26 PM : MyTcpListener.Start successfully opened TCP Listening Port with HostAddress = 192.168.1.40 and HostIPPort = 53622
              1/2/2017 6:52:26 PM : DetectUPnPDevices called with Refresh = False
              1/2/2017 6:52:26 PM : FindUPnPDevice: Attempting to locate all connected. This may take up to 9 seconds.
              1/2/2017 6:52:26 PM : MCastSocket.new was called with MCastAddress = 239.255.255.250 and MCastPort = 1900
              1/2/2017 6:52:26 PM : ConnectSocket called with mcastAddress = 239.255.255.250 and mcastPort = 1900 and LocalIpAddress = 192.168.1.40 and LocalIPPort = 0
              1/2/2017 6:52:26 PM : MCastSocket.new was called with MCastAddress = 239.255.255.250 and MCastPort = 1900
              1/2/2017 6:52:26 PM : ConnectSocket called with mcastAddress = 239.255.255.250 and mcastPort = 1900 and LocalIpAddress = 0.0.0.0 and LocalIPPort = 0
              1/2/2017 6:52:30 PM : hspi.GetPagePlugin called for instance =  and pageName = MediaControl and user = default and userRights = 6 and queryString =
              1/2/2017 6:52:30 PM : GetPagePlugin for PlugInConfig called with pageName = MediaControl and user = default and userRights = 6 and queryString =
              1/2/2017 6:53:05 PM : FindUPnPDevice - Discovery succeeded: 12 UPnPDevice(s) found.
              1/2/2017 6:53:05 PM : FindUPnPDevice is adding a Synology device with UDN = 73796E6F-6473-6D00-0000-000c29468c5f and Friendly Name = p-vlinxpenology01 (DS3612xs) and adding it to the array with index = 0
              1/2/2017 6:53:05 PM : FindUPnPDevice is adding a Sony device with UDN = 2cd4c39a-1319-ff35-27b3-215ef63b282f and Friendly Name = Family Room TV and adding it to the array with index = 1
              1/2/2017 6:53:05 PM : FindUPnPDevice is adding a MediaMall Technologies, Inc. device with UDN = 2b7e6122-6b96-4743-9177-2c7444565a2a and Friendly Name = PlayOn: p-vwincctv01 and adding it to the array with index = 2
              1/2/2017 6:53:05 PM : FindUPnPDevice is adding a Sony Corporation device with UDN = 23456789-1234-1010-8000-104fa8d26af2 and Friendly Name = Family Room TV and adding it to the array with index = 3
              1/2/2017 6:53:05 PM : FindUPnPDevice is adding a Sony Corporation device with UDN = 0dae28f8-46e4-4685-a045-b45aa9327e4b and Friendly Name = Family Room TV and adding it to the array with index = 4
              1/2/2017 6:53:05 PM : FindUPnPDevice is adding a Sony Corporation device with UDN = 22d14f77-b8b5-45c3-a1bb-c1218fcc3bb2 and Friendly Name = Family Room TV and adding it to the array with index = 5
              1/2/2017 6:53:05 PM : DetectUPnPDevices added a total of 6 devices
              1/2/2017 6:53:05 PM : CheckForInterestedServices for device = p-vlinxpenology01 (DS3612xs) found 0 Services
              1/2/2017 6:53:05 PM : CheckForInterestedServices for device = Family Room TV found 0 Services
              1/2/2017 6:53:05 PM : CheckForInterestedServices for device = PlayOn: p-vwincctv01 found 3 Services
              1/2/2017 6:53:05 PM : CheckForInterestedServices for device = PlayOn: p-vwincctv01 found Service ID = urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar
              1/2/2017 6:53:05 PM : CheckForInterestedServices for device = PlayOn: p-vwincctv01 found Service ID = urn:upnp-org:serviceId:ConnectionManager
              1/2/2017 6:53:05 PM : CheckForInterestedServices for device = PlayOn: p-vwincctv01 found Service ID = urn:upnp-org:serviceId:ContentDirectory
              1/2/2017 6:53:05 PM : CheckForInterestedServices for device = PlayOn: p-vwincctv01 added SericeType = DMS
              1/2/2017 6:53:05 PM : DetectUPnPDevices found new UPnPDeviceName = PlayOn: p-vwincctv01 and On-line Status= True
              1/2/2017 6:53:05 PM : CheckForInterestedServices for device = Family Room TV found 3 Services
              1/2/2017 6:53:05 PM : CheckForInterestedServices for device = Family Room TV found Service ID = urn:upnp-org:serviceId:RenderingControl
              1/2/2017 6:53:05 PM : CheckForInterestedServices for device = Family Room TV found Service ID = urn:upnp-org:serviceId:ConnectionManager
              1/2/2017 6:53:05 PM : CheckForInterestedServices for device = Family Room TV found Service ID = urn:upnp-org:serviceId:AVTransport
              1/2/2017 6:53:05 PM : CheckForInterestedServices for device = Family Room TV added SericeType = DMR
              1/2/2017 6:53:05 PM : DetectUPnPDevices found UPnPDeviceName = XBR-75X940D on line = True
              1/2/2017 6:53:05 PM : CheckForInterestedServices for device = Family Room TV found 0 Services
              1/2/2017 6:53:05 PM : CheckForInterestedServices for device = Family Room TV found 2 Services
              1/2/2017 6:53:05 PM : CheckForInterestedServices for device = Family Room TV found Service ID = urn:schemas-sony-com:serviceId:ScalarWebAPI
              1/2/2017 6:53:05 PM : CheckForInterestedServices for device = Family Room TV found Service ID = urn:schemas-sony-com:serviceId:IRCC
              1/2/2017 6:53:05 PM : CheckForInterestedServices for device = Family Room TV added SericeType = RCR
              1/2/2017 6:53:05 PM : CreateUPnPControllers found 1 devices and ActivateTheZone = True
              1/2/2017 6:53:05 PM : AddInstance called with InstanceName = 23456789-1234-1010-8000-104fa8d26af2
              1/2/2017 6:53:05 PM : InitIO for Instance = 23456789-1234-1010-8000-104fa8d26af2 found CurrentAppPath = /home/hs3/HomeSeer
              1/2/2017 6:53:05 PM : InitIO for Instance = 23456789-1234-1010-8000-104fa8d26af2 found HS running on Linux = True
              1/2/2017 6:53:05 PM : InitIO Called for Instance = 23456789-1234-1010-8000-104fa8d26af2 and running on OS = Unix
              1/2/2017 6:53:05 PM : InitIO for Instance = 23456789-1234-1010-8000-104fa8d26af2 found this plugin running on Linux = True
              1/2/2017 6:53:05 PM : InitIO Called for Instance = 23456789-1234-1010-8000-104fa8d26af2
              1/2/2017 6:53:05 PM : InitMusicAPI called for device =
              1/2/2017 6:53:06 PM : DeviceName called for device -  with value = XBR-75X940D
              1/2/2017 6:53:06 PM : DeviceServiceType Set called  for device - XBR-75X940D with ServiceType = DMR
              1/2/2017 6:53:06 PM : DeviceHSCode Set called  for device - XBR-75X940D  with DeviceRef = 437
              1/2/2017 6:53:06 PM : PlayerIconURL called for device = XBR-75X940D and IConURL = http://192.168.1.42:52323/xfh_65_32.png
              1/2/2017 6:53:06 PM : GetNextFreeDeviceIndex called
              1/2/2017 6:53:06 PM : GetNextFreeDeviceIndex found Index = 2
              1/2/2017 6:53:06 PM : DeviceAPIIndex called for device = XBR-75X940D with API Index = 2
              1/2/2017 6:53:06 PM : ReadDeviceIniSettings called for device - XBR-75X940D
              1/2/2017 6:53:06 PM : LoadCurrentPlaylistTracks called with PlayListName =
              1/2/2017 6:53:06 PM : ClearQueue called for device = XBR-75X940D
              1/2/2017 6:53:06 PM : LoadCurrentPlaylistTracks didn't find a Playlist for device = XBR-75X940D
              1/2/2017 6:53:06 PM : Set APIInstance called for device - XBR-75X940D. Index = 1
              1/2/2017 6:53:06 PM : CreateUPnPControllers has found UPnpDevice = XBR-75X940D with on-line status = True and Adminstate = True
              1/2/2017 6:53:06 PM : DirectConnect called for XBR-75X940D
              1/2/2017 6:53:06 PM : DirectConnect for Device = XBR-75X940D found IconURL = http://192.168.1.42:52323/xfh_65_32.png
              1/2/2017 6:53:06 PM : DirectConnect for Device = XBR-75X940D checking for file = /home/hs3/HomeSeer/html/images/MediaController/Artwork/PlayerIcon_23456789-1234-1010-8000-104fa8d26af2.png
              1/2/2017 6:53:06 PM : DirectConnect for Device = XBR-75X940D stored Icon at MediaController/Artwork/PlayerIcon_23456789-1234-1010-8000-104fa8d26af2.png
              1/2/2017 6:53:06 PM : DirectConnect for Device = XBR-75X940D added Image = /images/MediaController/Artwork/PlayerIcon_23456789-1234-1010-8000-104fa8d26af2.png for HSRef = 437
              1/2/2017 6:53:06 PM : PlayChangeNotifyCallback called for device - XBR-75X940D with ChangeType = DeviceStatusChanged and Changevalue = Online
              1/2/2017 6:53:06 PM : DeviceTrigger called for device - XBR-75X940D with Trigger = Player Online
              1/2/2017 6:53:06 PM : ProcessServiceDocument called for device = XBR-75X940D with URL = http://192.168.1.42:52323/MediaRenderer.xml
              1/2/2017 6:53:06 PM : SetServiceFlags for device - XBR-75X940D found ActionType = SetNextAVTransportURI
              1/2/2017 6:53:06 PM : ExtractAllServices for device = XBR-75X940D found 3 Services
              1/2/2017 6:53:06 PM : ExtractAllServices found RenderingControl for device = XBR-75X940D
              1/2/2017 6:53:06 PM : SearchServiceDocument called for device = XBR-75X940D with URL = http://192.168.1.42:52323/MediaRenderer.xml and ServiceID = urn:upnp-org:serviceId:RenderingControl and Action = SetVolume and Argument = Channel
              1/2/2017 6:53:06 PM : SearchServiceDocument called for device = XBR-75X940D with URL = http://192.168.1.42:52323/MediaRenderer.xml and ServiceID = urn:upnp-org:serviceId:RenderingControl and Action = SetVolume and Argument = DesiredVolume
              1/2/2017 6:53:06 PM : ExtractAllServices found ConnectionManager for device = XBR-75X940D
              1/2/2017 6:53:06 PM : CMGetProtocolInfo called for device XBR-75X940D
              1/2/2017 6:53:06 PM : ExtractSourceProtocolInfo called for device - XBR-75X940D
              1/2/2017 6:53:06 PM : ExtractSinkProtocolInfo called for device - XBR-75X940D
              1/2/2017 6:53:06 PM : ConnectionManagerCallBack added for device = XBR-75X940D
              1/2/2017 6:53:06 PM : ExtractAllServices for device = XBR-75X940D found AVTransport
              1/2/2017 6:53:06 PM : SearchServiceDocument called for device = XBR-75X940D with URL = http://192.168.1.42:52323/MediaRenderer.xml and ServiceID = urn:upnp-org:serviceId:AVTransport and Action = Play and Argument = Speed
              1/2/2017 6:53:06 PM : ProcessSpeedSettings called for device - XBR-75X940D
              1/2/2017 6:53:06 PM : CreateHSPlayerDevice called with device XBR-75X940D with reference 438 and NewDevice = False
              1/2/2017 6:53:06 PM : AvTransportCallback added for device = XBR-75X940D
              1/2/2017 6:53:06 PM : RenderingControlCallback added for device = XBR-75X940D
              1/2/2017 6:53:06 PM : InformHSVolumeChange called for device = XBR-75X940D with NewValue = 22 and CurrentValue = 0
              1/2/2017 6:53:06 PM : DeviceTrigger called for device - XBR-75X940D with Trigger = Volume Up
              1/2/2017 6:53:06 PM : SetVolume is setting HS Status Volume for device - XBR-75X940D with Value = 22 and HSRef = 452
              1/2/2017 6:53:06 PM : PlayChangeNotifyCallback called for device - XBR-75X940D with ChangeType = SongChanged and Changevalue = UpdateHSServerOnly
              1/2/2017 6:53:06 PM : PlayChangeNotifyCallback called for device - XBR-75X940D with ChangeType = PlayStatusChanged and Changevalue = Stopped
              1/2/2017 6:53:06 PM : DeviceTrigger called for device - XBR-75X940D with Trigger = Player Stop
              1/2/2017 6:53:06 PM : PlayChangeNotifyCallback called for device - XBR-75X940D with ChangeType = SongChanged and Changevalue = Stopped
              1/2/2017 6:53:06 PM : DeviceTrigger called for device - XBR-75X940D with Trigger = Player Track Change
              1/2/2017 6:53:06 PM : ExtractAllServices for device = XBR-75X940D found DeviceManufacturer = Sony Corporation
              1/2/2017 6:53:06 PM : SetHSMainState called for device - XBR-75X940D and Current HSRef = 437 and AdminStateActive = True and DeviceStatus = Online
              1/2/2017 6:53:06 PM : SetAdministrativeState called for device - XBR-75X940D and Active = True
              1/2/2017 6:53:06 PM : SetHSMainState called for device - XBR-75X940D and Current HSRef = 437 and AdminStateActive = True and DeviceStatus = Online
              1/2/2017 6:53:06 PM : SetHSMainState called for device - XBR-75X940D and Current HSRef = 437 and AdminStateActive = True and DeviceStatus = Online
              1/2/2017 6:53:06 PM : CreateUPnPControllers created an instance of UPnPDeviceController for UPnPDevice = XBR-75X940D
              1/2/2017 6:53:06 PM : CreateWebLink called with DeviceUDN = 23456789-1234-1010-8000-104fa8d26af2 and PageName = MediaConfig9-1234-1010-8000-104fa8d26af2
              1/2/2017 6:53:06 PM : GetPagePlugin for Zoneplayer = XBR-75X940D set ZoneUDN = 23456789-1234-1010-8000-104fa8d26af2
              1/2/2017 6:53:06 PM : CreateConfigLink called with DeviceUDN = 23456789-1234-1010-8000-104fa8d26af2 and PageName = MediaConfig9-1234-1010-8000-104fa8d26af2
              1/2/2017 6:53:06 PM : GetPagePlugin for Zoneplayer = XBR-75X940D set ZoneUDN = 23456789-1234-1010-8000-104fa8d26af2
              1/2/2017 6:53:06 PM : SetDeviceStringConnected called
              1/2/2017 6:53:06 PM : InitializeUPnPDevices: Done Initializing UPnPDevice Devices
              1/2/2017 6:53:07 PM : ExtractSourceProtocolInfo called for device - XBR-75X940D
              1/2/2017 6:53:07 PM : ExtractSinkProtocolInfo called for device - XBR-75X940D
              1/2/2017 6:53:07 PM : TransportChangeCallback for device = XBR-75X940D. VarName = LastChange
              1/2/2017 6:53:07 PM : ConnectionManager Change callback for device = XBR-75X940D. Var Name = CurrentConnectionIDs Value = 0
              1/2/2017 6:53:07 PM : RenderingControlStateChange for device = XBR-75X940D. Var Name = LastChange
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (TransportState) = NO_MEDIA_PRESENT
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (TransportStatus) = OK
              1/2/2017 6:53:07 PM : XBR-75X940D : PresetNameList = FactoryDefaults
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (PlaybackStorageMedium) = NONE
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (RecordStorageMedium) = NOT_IMPLEMENTED
              1/2/2017 6:53:07 PM : XBR-75X940D : Rendering (Mute Volume) = 0
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (PossiblePlaybackStorageMedia) = NONE,NETWORK
              1/2/2017 6:53:07 PM : XBR-75X940D : Rendering (Master Volume) = 67
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (PossibleRecordStorageMedia) = NOT_IMPLEMENTED
              1/2/2017 6:53:07 PM : InformHSVolumeChange called for device = XBR-75X940D with NewValue = 67 and CurrentValue = 22
              1/2/2017 6:53:07 PM : DeviceTrigger called for device - XBR-75X940D with Trigger = Volume Up
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (CurrentPlayMode) = NORMAL
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (TransportPlaySpeed) = 1
              1/2/2017 6:53:07 PM : SetVolume is setting HS Status Volume for device - XBR-75X940D with Value = 67 and HSRef = 452
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (RecordMediumWriteStatus) = NOT_IMPLEMENTED
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (CurrentRecordQualityMode) = NOT_IMPLEMENTED
              1/2/2017 6:53:07 PM : PlayChangeNotifyCallback called for device - XBR-75X940D with ChangeType = SongChanged and Changevalue = UpdateHSServerOnly
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (PossibleRecordQualityModes) = NOT_IMPLEMENTED
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (NumberOfTracks) = 0
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (CurrentTrack) =
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (CurrentTrackDuration) = 00:00:00
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (CurrentMediaDuration) = 00:00:00
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (CurrentTrackMetaData) =
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (CurrentTrackURI) =
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (AVTransportURI) =
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (AVTransportURIMetaData) =
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (NextAVTransportURI) =
              1/2/2017 6:53:07 PM : ProcessAVTransportXML for UPnPDevice = XBR-75X940D received (NextAVTransportURIMetaData) =
              1/2/2017 6:53:08 PM : InformHSVolumeChange called for device = XBR-75X940D with NewValue = 22 and CurrentValue = 67
              1/2/2017 6:53:08 PM : DeviceTrigger called for device - XBR-75X940D with Trigger = Volume Down
              1/2/2017 6:53:08 PM : SetVolume is setting HS Status Volume for device - XBR-75X940D with Value = 22 and HSRef = 452
              1/2/2017 6:53:08 PM : PlayChangeNotifyCallback called for device - XBR-75X940D with ChangeType = SongChanged and Changevalue = UpdateHSServerOnly
              1/2/2017 6:53:08 PM : PlayChangeNotifyCallback called for device - XBR-75X940D with ChangeType = SongChanged and Changevalue = UpdateHSServerOnly
              1/2/2017 6:53:08 PM : hspi.GetPagePlugin called for instance =  and pageName = MediaControl and user = default and userRights = 6 and queryString =
              1/2/2017 6:53:08 PM : GetPagePlugin for PlugInConfig called with pageName = MediaControl and user = default and userRights = 6 and queryString =
              1/2/2017 6:53:41 PM : hspi.GetPagePlugin called for instance =  and pageName = MediaControl and user = default and userRights = 6 and queryString =
              1/2/2017 6:53:41 PM : GetPagePlugin for PlugInConfig called with pageName = MediaControl and user = default and userRights = 6 and queryString =
              1/2/2017 6:53:47 PM : PostBackProc for PluginControl called with page = MediaControl and data = &id=AddPlayerBtn_5&AddPlayerBtn_5=Submit and user = default and userRights = 6
              1/2/2017 6:53:47 PM : postBackProc for PluginControl found Key = id
              1/2/2017 6:53:47 PM : postBackProc for PluginControl found Value = AddPlayerBtn_5
              1/2/2017 6:53:47 PM : postBackProc for PluginControl found Key = AddPlayerBtn
              1/2/2017 6:53:47 PM : postBackProc for PluginControl found Value = Submit
              1/2/2017 6:53:47 PM : ItemChange called with DeviceTableItems = ptiAddBtn and Value = Submit and RowIndex = 5
              1/2/2017 6:53:47 PM : GetZoneUDNByIndex called with Index = 5
              1/2/2017 6:53:47 PM : AddDevicetoHS called with DeviceUDN = 22d14f77-b8b5-45c3-a1bb-c1218fcc3bb2
              1/2/2017 6:53:47 PM : CreateHSRootDevice called with DevType = RCR and DeviceName = Family Room TV and DeviceUDN = 22d14f77-b8b5-45c3-a1bb-c1218fcc3bb2
              1/2/2017 6:53:47 PM : CreateHSRootDevice: Created device Family Room TV with reference 457
              1/2/2017 6:53:47 PM : CreateUPnPControllers found 2 devices and ActivateTheZone = True
              1/2/2017 6:53:47 PM : AddInstance called with InstanceName = 22d14f77-b8b5-45c3-a1bb-c1218fcc3bb2
              1/2/2017 6:53:47 PM : InitIO for Instance = 22d14f77-b8b5-45c3-a1bb-c1218fcc3bb2 found CurrentAppPath = /home/hs3/HomeSeer
              1/2/2017 6:53:47 PM : InitIO for Instance = 22d14f77-b8b5-45c3-a1bb-c1218fcc3bb2 found HS running on Linux = True
              1/2/2017 6:53:47 PM : InitIO Called for Instance = 22d14f77-b8b5-45c3-a1bb-c1218fcc3bb2 and running on OS = Unix
              1/2/2017 6:53:47 PM : InitIO for Instance = 22d14f77-b8b5-45c3-a1bb-c1218fcc3bb2 found this plugin running on Linux = True
              1/2/2017 6:53:47 PM : InitIO Called for Instance = 22d14f77-b8b5-45c3-a1bb-c1218fcc3bb2
              1/2/2017 6:53:47 PM : InitMusicAPI called for device =
              1/2/2017 6:53:48 PM : DeviceName called for device -  with value = Family Room TV
              1/2/2017 6:53:48 PM : DeviceServiceType Set called  for device - Family Room TV with ServiceType = RCR
              1/2/2017 6:53:48 PM : DeviceHSCode Set called  for device - Family Room TV  with DeviceRef = 457
              1/2/2017 6:53:48 PM : PlayerIconURL called for device = Family Room TV and IConURL =
              1/2/2017 6:53:48 PM : GetNextFreeDeviceIndex called
              1/2/2017 6:53:48 PM : GetNextFreeDeviceIndex found Index = 1
              1/2/2017 6:53:48 PM : DeviceAPIIndex called for device = Family Room TV with API Index = 1
              1/2/2017 6:53:48 PM : ReadDeviceIniSettings called for device - Family Room TV
              1/2/2017 6:53:48 PM : CreateUPnPControllers has found UPnpDevice = Family Room TV with on-line status = True and Adminstate = True
              1/2/2017 6:53:48 PM : DirectConnect called for Family Room TV
              1/2/2017 6:53:48 PM : DirectConnect for Device = Family Room TV found IconURL = http://192.168.1.42:55972/sony/webapi/ssdp/icon/xfh_65_120.jpg
              1/2/2017 6:53:48 PM : DirectConnect for Device = Family Room TV checking for file = /home/hs3/HomeSeer/html/images/MediaController/Artwork/PlayerIcon_22d14f77-b8b5-45c3-a1bb-c1218fcc3bb2.png
              1/2/2017 6:53:48 PM : DirectConnect for Device = Family Room TV stored Icon at MediaController/Artwork/PlayerIcon_22d14f77-b8b5-45c3-a1bb-c1218fcc3bb2.png
              1/2/2017 6:53:48 PM : DirectConnect for Device = Family Room TV added Image = /images/MediaController/Artwork/PlayerIcon_22d14f77-b8b5-45c3-a1bb-c1218fcc3bb2.png for HSRef = 457
              1/2/2017 6:53:48 PM : PlayChangeNotifyCallback called for device - Family Room TV with ChangeType = DeviceStatusChanged and Changevalue = Online
              1/2/2017 6:53:48 PM : DeviceTrigger called for device - Family Room TV with Trigger = Player Online
              1/2/2017 6:53:48 PM : ProcessServiceDocument called for device = Family Room TV with URL = http://192.168.1.42:55972/sony/webapi/ssdp/dd.xml
              1/2/2017 6:53:48 PM : Error in ProcessServiceDocument2 for device = Family Room TV  with error = Method not found: 'System.Web.Script.Serialization.JavaScriptSerializer.Deserialize'.
              1/2/2017 6:53:48 PM : ExtractAllServices for device = Family Room TV found 2 Services
              1/2/2017 6:53:48 PM : ExtractAllServices for device = Family Room TV found additional service with ID = urn:schemas-sony-com:serviceId:ScalarWebAPI
              1/2/2017 6:53:48 PM : ExtractAllServices found IRCC for device = Family Room TV
              1/2/2017 6:53:48 PM : SonySetupRemoteInfo called for device = Family Room TV with RegisterMode =
              1/2/2017 6:53:48 PM : SetHSRemoteState called for device - Family Room TV and Current Remote HSRef = -1 and AdminStateActive = True and DeviceStatus = Online
              1/2/2017 6:53:48 PM : ExtractAllServices for device = Family Room TV found DeviceManufacturer = Sony Corporation
              1/2/2017 6:53:48 PM : SetHSMainState called for device - Family Room TV and Current HSRef = 457 and AdminStateActive = True and DeviceStatus = Online
              1/2/2017 6:53:48 PM : SetAdministrativeState called for device - Family Room TV and Active = True
              1/2/2017 6:53:48 PM : SetHSMainState called for device - Family Room TV and Current HSRef = 457 and AdminStateActive = True and DeviceStatus = Online
              1/2/2017 6:53:48 PM : SetHSMainState called for device - Family Room TV and Current HSRef = 457 and AdminStateActive = True and DeviceStatus = Online
              1/2/2017 6:53:48 PM : CreateUPnPControllers created an instance of UPnPDeviceController for UPnPDevice = Family Room TV
              1/2/2017 6:53:48 PM : ReadIniFile called
              1/2/2017 6:53:48 PM : hspi.GetPagePlugin called for instance =  and pageName = MediaControl and user = default and userRights = 6 and queryString =
              1/2/2017 6:53:48 PM : GetPagePlugin for PlugInConfig called with pageName = MediaControl and user = default and userRights = 6 and queryString =
              1/2/2017 6:54:09 PM : PostBackProc for PluginControl called with page = MediaControl and data = DebugChkBox=unchecked&id=DebugChkBox and user = default and userRights = 6
              1/2/2017 6:54:09 PM : postBackProc for PluginControl found Key = DebugChkBox
              1/2/2017 6:54:09 PM : postBackProc for PluginControl found Value = unchecked
              1/2/2017 6:54:09 PM : postBackProc for PluginControl found Key = id
              1/2/2017 6:54:09 PM : postBackProc for PluginControl found Value = DebugChkBox

              Comment


                #8
                Originally posted by denisl View Post
                Hi Dirk,
                Here is the MediaController.ini file as it exists right now.

                For step 1, you say click on the delete button then remove. I don't see the delete button. I have a button "Config" and one "Remove" as indicated in the screen shot above. Can you clarify for me - I don't want to make a mistake.

                Thank you very much for working through this.
                Looked at the ini file. It appears that the remote device was created at one point. Did you by any chance delete it from the HS devices page? If so, that's a big no-no as it will cause the ini file and the HS database to be out of sync. Only delete devices from the PI's config page which should also delete the devices from the HS database. In case all went to sh*t, you can stop HS, delete the PI's ini file and start HS again. Upon start of the PI, it will delete all devices and start from scratch.

                On a good note, I think your TV can be used to control CONTENT via UPNP, so if you add a UPNP server to your LAN, have it discovered from this PI, you should be able (might be able :-)) to play pictures, movies, music controlled from this PI. To do so, you should add the DMR function, which I think you already did. In case of doubt read the help file for more info on media servers etc.

                Dirk

                Comment


                  #9
                  Originally posted by denisl View Post
                  Just did it - and no "authenticate" button. I clicked on Add the got "Config" which takes me to the 404 error page.

                  Here's the debug log:
                  OK, here's the problem:
                  1/2/2017 6:53:48 PM : ProcessServiceDocument called for device = Family Room TV with URL = http://192.168.1.42:55972/sony/webapi/ssdp/dd.xml
                  1/2/2017 6:53:48 PM : Error in ProcessServiceDocument2 for device = Family Room TV with error = Method not found: 'System.Web.Script.Serialization.JavaScriptSerializer.Deseri alize'.

                  So either this file http://192.168.1.42:55972/sony/webapi/ssdp/dd.xml has something in it that .NET chokes on OR (I believe) you are running this under Linux, in which case it could be a MONO issue. Which version of MONO are you using? Does it have the latest updates?

                  Could you enter this URL in your brower http://192.168.1.42:55972/sony/webapi/ssdp/dd.xml and than save source and post that as an attachment. It needs to be unmodified so it MUST be the source with all spaces and tags 100% intact.

                  Dirk

                  Comment


                    #10
                    I did delete a device from HS device page. I had 2 identical devices for my TV (with the activate/deactivate) buttons. So I deleted one of them. Should I start over? Delete the ini file and restart the plugin / restart HS3? Then see what happens? (I had the same issue before I deleted the device- that was part of my troubleshooting which I guess was wrong to do)

                    Comment


                      #11
                      Originally posted by denisl View Post
                      I did delete a device from HS device page. I had 2 identical devices for my TV (with the activate/deactivate) buttons. So I deleted one of them. Should I start over? Delete the ini file and restart the plugin / restart HS3? Then see what happens? (I had the same issue before I deleted the device- that was part of my troubleshooting which I guess was wrong to do)

                      You are probably fine now. You should now see at least 2 devices under HS. One is your remote and the other is the renderer. Unfortunately you see no buttons on the remote, due to the other error I described in my previous post. I suspect that you will now see this error each time you restart the PI, if you can get me that unmodified xml file that would be very helpful.

                      Dirk

                      Comment


                        #12
                        I do see two devices now.

                        Here's my mono version - which is the latest recommended for HS3.
                        root@p-vubuhs301:/home/hs3/HomeSeer/html/MediaController/Logs# mono --version
                        Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1.1)
                        Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
                        TLS: __thread
                        SIGSEGV: altstack
                        Notifications: epoll
                        Architecture: amd64
                        Disabled: none
                        Misc: softdebug
                        LLVM: supported, not enabled.
                        GC: sgen
                        XML is attached.
                        Last edited by denisl; January 4, 2017, 10:09 AM.

                        Comment


                          #13
                          Originally posted by denisl View Post
                          I do see two devices now.

                          Here's my mono version - which is the latest recommended for HS3.


                          XML is attached.
                          Still digging ....
                          in the <hs root>\html\Mediacontroller directory, do you see a file called AuthenticationCookie.json?

                          Comment


                            #14
                            No - that file is not there. There are no json files under html/MediaController or any files beginning with Authentication

                            Comment


                              #15
                              Originally posted by denisl View Post
                              I do see two devices now.

                              Here's my mono version - which is the latest recommended for HS3.


                              XML is attached.
                              Have been Googling a bit. There are posting dated 2011/2012 where Mono appeared not to support the JSON functions.

                              People have been complaining of issues w/ HS when going to Mono version 4.x

                              I seem to recall that there were some typos in the instruction to install mono. Can you verify that all parts are installed properly

                              apt-get install mono-vbnc
                              apt-get install libmono-system-web4.0.cil
                              apt-get install libmono-system-design4.0.cil
                              apt-get install libmono-system-web-extensions4.0-cil
                              apt-get install libmono-system-runtime-caching4.0-cil
                              apt-get install mono-complete

                              (good reference https://forums.homeseer.com/showthre...version&page=2 )

                              I might have never testing these function on a Linux install and unfortunately, my Sony TV is not here anymore so I have no easy way to test anything.

                              Dirk

                              Comment

                              Working...
                              X