Announcement

Collapse
No announcement yet.

404 error on Sony remote

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

    404 error on Sony remote

    Hi,

    I've seen a thread that probably discusses this issue

    My Sony tv has a player and a remote option to add. The player works only the remote stays yellow (see screenshot) and the config button gives me the error

    404 Bad Request: /MediaPlayerConfig:60eb4257-5e32-4859-8fb6-0c2e917e6345

    Is it possible to solve this issue without running the PI on a windows client?

    Click image for larger version

Name:	Screen Shot 2017-03-16 at 12.33.26.jpg
Views:	1
Size:	53.5 KB
ID:	1210778

    This is part of my normal log
    Code:
    Mar-16 10:39:01 AM	 	MC Error	Error in ProcessServiceDocument2 for device = KDL-55W809C-Remote with error = Method not found: 'System.Web.Script.Serialization.JavaScriptSerializer.Deserialize'.
    Mar-16 10:39:00 AM	 	MC	InitIO Called for Instance = 60eb4257-5e32-4859-8fb6-0c2e917e6345 and running on OS = Unix
    Mar-16 10:39:00 AM	 	Info	Plugin MediaController with instance 60eb4257-5e32-4859-8fb6-0c2e917e6345 has connected. IP:127.0.0.1:37372
    I have authentication on normal and simple IP control On (this way it doesn't need a pre shared key).

    I haven't have installed 'mono-complete' because I've read that this can mess-up my HSserver.

    This is my mono version
    Code:
    Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-10)
    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
    These are my installed mono packages
    Code:
    dpkg-query -f '${binary:Package}\n' -W | grep mono
    libmono-2.0-dev
    libmono-accessibility2.0-cil
    libmono-accessibility4.0-cil
    libmono-c5-1.1-cil
    libmono-cairo2.0-cil
    libmono-cairo4.0-cil
    libmono-cecil-private-cil
    libmono-cecil-vb0.9-cil
    libmono-cil-dev
    libmono-codecontracts4.0-cil
    libmono-compilerservices-symbolwriter4.0-cil
    libmono-corlib2.0-cil
    libmono-corlib4.0-cil
    libmono-corlib4.5-cil
    libmono-cscompmgd8.0-cil
    libmono-csharp4.0c-cil
    libmono-custommarshalers4.0-cil
    libmono-data-tds2.0-cil
    libmono-data-tds4.0-cil
    libmono-db2-1.0-cil
    libmono-debugger-soft2.0a-cil
    libmono-debugger-soft4.0a-cil
    libmono-entityframework-sqlserver6.0-cil
    libmono-entityframework6.0-cil
    libmono-http4.0-cil
    libmono-i18n-cjk4.0-cil
    libmono-i18n-mideast4.0-cil
    libmono-i18n-other4.0-cil
    libmono-i18n-rare4.0-cil
    libmono-i18n-west2.0-cil
    libmono-i18n-west4.0-cil
    libmono-i18n2.0-cil
    libmono-i18n4.0-all
    libmono-i18n4.0-cil
    libmono-ldap2.0-cil
    libmono-ldap4.0-cil
    libmono-management2.0-cil
    libmono-management4.0-cil
    libmono-messaging-rabbitmq2.0-cil
    libmono-messaging-rabbitmq4.0-cil
    libmono-messaging2.0-cil
    libmono-messaging4.0-cil
    libmono-microsoft-build-engine4.0-cil
    libmono-microsoft-build-framework4.0-cil
    libmono-microsoft-build-tasks-v4.0-4.0-cil
    libmono-microsoft-build-utilities-v4.0-4.0-cil
    libmono-microsoft-build2.0-cil
    libmono-microsoft-build4.0-cil
    libmono-microsoft-csharp4.0-cil
    libmono-microsoft-visualbasic10.0-cil
    libmono-microsoft-visualbasic11.0-cil
    libmono-microsoft-visualbasic8.0-cil
    libmono-microsoft-visualc10.0-cil
    libmono-microsoft-web-infrastructure1.0-cil
    libmono-microsoft8.0-cil
    libmono-npgsql2.0-cil
    libmono-npgsql4.0-cil
    libmono-opensystem-c4.0-cil
    libmono-oracle2.0-cil
    libmono-oracle4.0-cil
    libmono-parallel4.0-cil
    libmono-peapi2.0a-cil
    libmono-peapi4.0a-cil
    libmono-posix2.0-cil
    libmono-posix4.0-cil
    libmono-rabbitmq2.0-cil
    libmono-rabbitmq4.0-cil
    libmono-relaxng2.0-cil
    libmono-relaxng4.0-cil
    libmono-security2.0-cil
    libmono-security4.0-cil
    libmono-sharpzip2.6-cil
    libmono-sharpzip2.84-cil
    libmono-sharpzip4.84-cil
    libmono-simd2.0-cil
    libmono-simd4.0-cil
    libmono-sqlite2.0-cil
    libmono-sqlite4.0-cil
    libmono-system-componentmodel-composition4.0-cil
    libmono-system-componentmodel-dataannotations4.0-cil
    libmono-system-configuration-install4.0-cil
    libmono-system-configuration4.0-cil
    libmono-system-core4.0-cil
    libmono-system-data-datasetextensions4.0-cil
    libmono-system-data-linq2.0-cil
    libmono-system-data-linq4.0-cil
    libmono-system-data-services-client4.0-cil
    libmono-system-data-services2.0-cil
    libmono-system-data-services4.0-cil
    libmono-system-data2.0-cil
    libmono-system-data4.0-cil
    libmono-system-design4.0-cil
    libmono-system-drawing-design4.0-cil
    libmono-system-drawing4.0-cil
    libmono-system-dynamic4.0-cil
    libmono-system-enterpriseservices4.0-cil
    libmono-system-identitymodel-selectors4.0-cil
    libmono-system-identitymodel4.0-cil
    libmono-system-io-compression-filesystem4.0-cil
    libmono-system-io-compression4.0-cil
    libmono-system-json-microsoft4.0-cil
    libmono-system-json2.0-cil
    libmono-system-json4.0-cil
    libmono-system-ldap-protocols4.0-cil
    libmono-system-ldap2.0-cil
    libmono-system-ldap4.0-cil
    libmono-system-management4.0-cil
    libmono-system-messaging2.0-cil
    libmono-system-messaging4.0-cil
    libmono-system-net-http-formatting4.0-cil
    libmono-system-net-http-webrequest4.0-cil
    libmono-system-net-http4.0-cil
    libmono-system-net2.0-cil
    libmono-system-net4.0-cil
    libmono-system-numerics4.0-cil
    libmono-system-reactive-core2.2-cil
    libmono-system-reactive-debugger2.2-cil
    libmono-system-reactive-experimental2.2-cil
    libmono-system-reactive-interfaces2.2-cil
    libmono-system-reactive-linq2.2-cil
    libmono-system-reactive-observable-aliases0.0-cil
    libmono-system-reactive-platformservices2.2-cil
    libmono-system-reactive-providers2.2-cil
    libmono-system-reactive-runtime-remoting2.2-cil
    libmono-system-reactive-windows-forms2.2-cil
    libmono-system-reactive-windows-threading2.2-cil
    libmono-system-runtime-caching4.0-cil
    libmono-system-runtime-durableinstancing4.0-cil
    libmono-system-runtime-serialization-formatters-soap4.0-cil
    libmono-system-runtime-serialization4.0-cil
    libmono-system-runtime2.0-cil
    libmono-system-runtime4.0-cil
    libmono-system-security4.0-cil
    libmono-system-servicemodel-activation4.0-cil
    libmono-system-servicemodel-discovery4.0-cil
    libmono-system-servicemodel-routing4.0-cil
    libmono-system-servicemodel-web4.0-cil
    libmono-system-servicemodel4.0a-cil
    libmono-system-serviceprocess4.0-cil
    libmono-system-threading-tasks-dataflow4.0-cil
    libmono-system-transactions4.0-cil
    libmono-system-web-abstractions4.0-cil
    libmono-system-web-applicationservices4.0-cil
    libmono-system-web-dynamicdata4.0-cil
    libmono-system-web-extensions-design4.0-cil
    libmono-system-web-extensions4.0-cil
    libmono-system-web-http-selfhost4.0-cil
    libmono-system-web-http-webhost4.0-cil
    libmono-system-web-http4.0-cil
    libmono-system-web-mvc1.0-cil
    libmono-system-web-mvc2.0-cil
    libmono-system-web-mvc3.0-cil
    libmono-system-web-razor2.0-cil
    libmono-system-web-routing4.0-cil
    libmono-system-web-services4.0-cil
    libmono-system-web-webpages-deployment2.0-cil
    libmono-system-web-webpages-razor2.0-cil
    libmono-system-web-webpages2.0-cil
    libmono-system-web2.0-cil
    libmono-system-web4.0-cil
    libmono-system-windows-forms-datavisualization4.0a-cil
    libmono-system-windows-forms4.0-cil
    libmono-system-windows4.0-cil
    libmono-system-xaml4.0-cil
    libmono-system-xml-linq4.0-cil
    libmono-system-xml-serialization4.0-cil
    libmono-system-xml4.0-cil
    libmono-system2.0-cil
    libmono-system4.0-cil
    libmono-tasklets2.0-cil
    libmono-tasklets4.0-cil
    libmono-wcf3.0a-cil
    libmono-web4.0-cil
    libmono-webbrowser2.0-cil
    libmono-webbrowser4.0-cil
    libmono-webmatrix-data4.0-cil
    libmono-windowsbase3.0-cil
    libmono-windowsbase4.0-cil
    libmono-winforms2.0-cil
    libmono-xbuild-tasks2.0-cil
    libmono-xbuild-tasks4.0-cil
    libmono2.0-cil
    libmonoboehm-2.0-1
    libmonoboehm-2.0-dev
    mono-4.0-gac
    mono-csharp-shell
    mono-devel
    mono-gac
    mono-mcs
    mono-runtime
    mono-runtime-common
    mono-runtime-sgen
    mono-vbnc
    mono-xbuild
    mono-xsp4
    mono-xsp4-base
    root@Aperture:/hom

    #2
    Click image for larger version

Name:	Screen Shot 2017-03-16 at 13.06.21.jpg
Views:	1
Size:	91.7 KB
ID:	1190238

    This is another screenshot of all available upnp devices.

    I hope this helps

    Comment


      #3
      Originally posted by alan_smithee View Post
      Hi,

      I've seen a thread that probably discusses this issue

      My Sony tv has a player and a remote option to add. The player works only the remote stays yellow (see screenshot) and the config button gives me the error

      404 Bad Request: /MediaPlayerConfig:60eb4257-5e32-4859-8fb6-0c2e917e6345

      Is it possible to solve this issue without running the PI on a windows client?

      [ATTACH]60112[/ATTACH]

      This is part of my normal log

      Mar-16 10:39:01 AM MC Error Error in ProcessServiceDocument2 for device = KDL-55W809C-Remote with error = Method not found: 'System.Web.Script.Serialization.JavaScriptSerializer.Deseri alize'.
      Mar-16 10:39:00 AM MC InitIO Called for Instance = 60eb4257-5e32-4859-8fb6-0c2e917e6345 and running on OS = Unix
      Mar-16 10:39:00 AM Info Plugin MediaController with instance 60eb4257-5e32-4859-8fb6-0c2e917e6345 has connected. IP:127.0.0.1:37372


      I have authentication on normal and simple IP control On (this way it doesn't need a pre shared key).

      I haven't have installed 'mono-complete' because I've read that this can mess-up my HSserver.
      The config button for a remote doesn't do anything, that's a bug, it shouldn't show.

      The issue is with this:
      System.Web.Script.Serialization.JavaScriptSerializer.Deseria lize'
      Mono or the part you installed is not supportive of this .net function. I'm not a mono expert so suggest you do some googling in which version/package it is supported and if you find anything let us know.

      Dirk

      Comment


        #4
        Thank you, now I know were to search. I will update the thread when I find something.

        Comment


          #5
          JavaScriptSerializer.Deserialize Method
          Namespace: System.Web.Script.Serialization
          Assembly: System.Web.Extensions (in System.Web.Extensions.dll)

          System.Web.Script.Serialization is available in System.Web.Extensions
          Only System.Object Deserialize(System.String, System.Type) is missing but object DeserializeObject(string input) is there.

          I don't know what System.Web.Script.Serialization.JavaScriptSerializer.Deseria lize refers to

          I've run this before installing HS
          aptitude -y install mono-vbnc libmono-system-web4.0.cil libmono-system-design4.0.cil libmono-system-web-extensions4.0-cil libmono-system-runtime-caching4.0-cil mono-xsp4 flite chromiun
          So I do have system-web-extensions4.0

          Could you tell me which method the plugin is using? The included or the missing one? And if it's the missing one would it be possible to adjust the plugin that it uses that other one?

          Comment


            #6
            Originally posted by alan_smithee View Post
            JavaScriptSerializer.Deserialize Method
            Namespace: System.Web.Script.Serialization
            Assembly: System.Web.Extensions (in System.Web.Extensions.dll)

            System.Web.Script.Serialization is available in System.Web.Extensions
            Only System.Object Deserialize(System.String, System.Type) is missing but object DeserializeObject(string input) is there.

            I don't know what System.Web.Script.Serialization.JavaScriptSerializer.Deseria lize refers to

            I've run this before installing HS
            aptitude -y install mono-vbnc libmono-system-web4.0.cil libmono-system-design4.0.cil libmono-system-web-extensions4.0-cil libmono-system-runtime-caching4.0-cil mono-xsp4 flite chromiun
            So I do have system-web-extensions4.0

            Could you tell me which method the plugin is using? The included or the missing one? And if it's the missing one would it be possible to adjust the plugin that it uses that other one?
            I noted that System.Web.Script.Serialization.JavaScriptSerializer.Deseria lize is overloaded and one method was created in version .net 3.5 and the one I use in .net 4.0.
            So in attachement I used the method that was created in .net 3.5. I unfortunately don't have my Sony TV anymore so I can't even tryout whether it works and not break what was working under windows. Any chance to try the attached? You would have to unzip it and place it in the HS root directory.
            If this doesn't work, I can try to swap the function to DeserializeObject but must admit that the Microsoft help description is not very helpful.

            Dirk
            Last edited by dcorsus; March 19, 2017, 10:29 AM.

            Comment


              #7
              Hey that worked
              I removed all the config files in the config folder uploaded the newer PI and turned it on.

              After pressing the Add button the authenticate button showed up.
              After I authenticated the button create Remote Buttons and there were it stopped.

              I only get the Power button created
              Click image for larger version

Name:	Screen Shot 2017-03-18 at 18.23.18.jpg
Views:	1
Size:	25.9 KB
ID:	1190261

              This is my log but I cannot find anything in special

              Code:
              2017-03-18 17:56:55	MC	GetPagePlugin for PlugInConfig called with pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:56:55	MC	hspi.GetPagePlugin called for instance = and pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:56:28	Info	Running immediate script: /tmp/K1.vb
              2017-03-18 17:56:11	MC	CreateRemoteButtons called for device - KDL-55W809C
              2017-03-18 17:56:11	MC	CreateHSSonyRemoteButtons called for device - KDL-55W809C and Recreate = True
              2017-03-18 17:56:11	MC	TreatSetIOExSony called for UPnPDevice = KDL-55W809C and buttonvalue = 7
              2017-03-18 17:56:11	MC	TreatSetIOExRemoteControl called for UPnPDevice = KDL-55W809C and buttonvalue = 7
              2017-03-18 17:56:11	MC	TreatSetIOEx called for device = KDL-55W809C with Ref = 874,​ Index 0,​ controlFlag = False,​ ControlString,​ ControlType = Button,​ ControlValue = 7,​ Label = Create Remote Buttons
              2017-03-18 17:56:11	MC	SetIOEx called for Ref = 874,​ Index 0,​ controlFlag = False,​ ControlString,​ ControlType = Button,​ ControlValue = 7,​ Label = Create Remote Buttons
              2017-03-18 17:56:11	MC	SetIOMulti set value: 7->ref:874
              2017-03-18 17:56:11	MC	SetIOMulti called
              2017-03-18 17:56:11	Device Control	Device: MediaController KDL-55W809C Remote to Create Remote Buttons (7) by/from: CAPI Control Handler
              2017-03-18 17:55:28	Info	Running immediate script: /tmp/K1.vb
              2017-03-18 17:54:28	Info	Running immediate script: /tmp/K1.vb
              2017-03-18 17:53:52	MC	GetPagePlugin for PlugInConfig called with pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:53:52	MC	hspi.GetPagePlugin called for instance = and pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:53:45	MC	GetPagePlugin for PlugInConfig called with pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:53:45	MC	hspi.GetPagePlugin called for instance = and pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:53:43	MC	GetPagePlugin for PlugInConfig called with pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:53:43	MC	hspi.GetPagePlugin called for instance = and pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:53:42	MC	ReadIniFile called
              2017-03-18 17:53:42	MC	SendJSONAuthentication for device - KDL-55W809C received JSON = {"result":[],​"id":13}
              2017-03-18 17:53:42	MC	SendJSONAuthentication for device - KDL-55W809C has Cookie Comment:
              2017-03-18 17:53:42	MC	SendJSONAuthentication for device - KDL-55W809C has Cookie Discard: False
              2017-03-18 17:53:42	MC	SendJSONAuthentication for device - KDL-55W809C has Cookie Expired: False
              2017-03-18 17:53:42	MC	SendJSONAuthentication for device - KDL-55W809C has Cookie Expires: 4/1/2017 5:53:42 PM
              2017-03-18 17:53:42	MC	SendJSONAuthentication for device - KDL-55W809C has Cookie TimeStamp: 3/18/2017 5:53:42 PM
              2017-03-18 17:53:42	MC	SendJSONAuthentication for device - KDL-55W809C has Cookie Secure: False
              2017-03-18 17:53:42	MC	SendJSONAuthentication for device - KDL-55W809C has Cookie Port:
              2017-03-18 17:53:42	MC	SendJSONAuthentication for device - KDL-55W809C has Cookie Path: /sony/
              2017-03-18 17:53:42	MC	SendJSONAuthentication for device - KDL-55W809C has Cookie Domain: 172.16.148.13
              2017-03-18 17:53:42	MC	SendJSONAuthentication for device - KDL-55W809C has Cookie name: auth has Cookie value: E74A019EDBE12D01D8564DAFBA5071DA67B9548A
              2017-03-18 17:53:42	MC	SendJSONAuthentication for device - KDL-55W809C has Cookie: auth=E74A019EDBE12D01D8564DAFBA5071DA67B9548A
              2017-03-18 17:53:42	MC Warning	Warning for device - KDL-55W809C. Authentication will expire = 4/1/2017 5:53:42 PM
              2017-03-18 17:53:42	MC	SendJSONAuthentication for device - KDL-55W809C has Response Header = Content-Type: application/jsonContent-Length: 21Connection: closeSet-Cookie: auth=E74A019EDBE12D01D8564DAFBA5071DA67B9548A; Path=/sony/; Max-Age=1209600; Expires=Sat,​ 01 Apr 2017 16:53:32 GMT+00:00
              2017-03-18 17:53:42	MC	SendJSONAuthentication for device - KDL-55W809C created Authentication string = Basic OjAxMTI=
              2017-03-18 17:53:42	MC	SendJSONAuthentication called for device - KDL-55W809C with JSON = {"id":13,​"method":"actRegister",​"version":"1.0",​"params":[{"clientid":"TVSideView:00-0C-29-AB-BC-F4",​"nickname":"(MediaController)"},​[{"clientid":"TVSideView:00-0C-29-AB-BC-F4",​"value":"yes",​"nickname":"(MediaController)",​"function":"WOL"}]]}
              2017-03-18 17:53:42	MC	SonyRegister send Registration String for device - KDL-55W809C with String = {"id":13,​"method":"actRegister",​"version":"1.0",​"params":[{"clientid":"TVSideView:00-0C-29-AB-BC-F4",​"nickname":"(MediaController)"},​[{"clientid":"TVSideView:00-0C-29-AB-BC-F4",​"value":"yes",​"nickname":"(MediaController)",​"function":"WOL"}]]}
              2017-03-18 17:53:42	MC	SendJSONAuthentication called for device - KDL-55W809C with SonyRegisterURL = http://172.16.148.13/sony/accessControl and PIN = 0112
              2017-03-18 17:53:42	MC	AuthenticateSony called with DeviceUDN = 60eb4257-5e32-4859-8fb6-0c2e917e6345 and SonyPIN = 0112
              2017-03-18 17:53:42	MC	GetZoneUDNByIndex called with Index = 0
              2017-03-18 17:53:42	MC	ItemChange called with DeviceTableItems = ptiSonyAuthenticate and Value = Submit and RowIndex = 0
              2017-03-18 17:53:42	MC	postBackProc for PluginControl found Value = Submit
              2017-03-18 17:53:42	MC	postBackProc for PluginControl found Key = ovEnterSonyPINOverlaySubmit
              2017-03-18 17:53:42	MC	postBackProc for PluginControl found Value = ovEnterSonyPINOverlaySubmit_0
              2017-03-18 17:53:42	MC	postBackProc for PluginControl found Key = id
              2017-03-18 17:53:42	MC	UpdateDeviceName called for UDN = 63185299-dada-439b-eb06-47dc4b4e1265 and NewGivenName = XBMC (localhost)
              2017-03-18 17:53:42	MC	GetZoneUDNByIndex called with Index = 7
              2017-03-18 17:53:42	MC	ItemChange called with DeviceTableItems = ptiDeviceGivenName and Value = XBMC (localhost) and RowIndex = 7
              2017-03-18 17:53:42	MC	postBackProc for PluginControl found Value = XBMC (localhost)
              2017-03-18 17:53:42	MC	postBackProc for PluginControl found Key = DeviceGNBox
              2017-03-18 17:53:42	MC	UpdateDeviceName called for UDN = 68298a16-2c03-342e-b90d-a115252cb136 and NewGivenName = XBMC (localhost)
              2017-03-18 17:53:42	MC	GetZoneUDNByIndex called with Index = 6
              2017-03-18 17:53:42	MC	ItemChange called with DeviceTableItems = ptiDeviceGivenName and Value = XBMC (localhost) and RowIndex = 6
              2017-03-18 17:53:42	MC	postBackProc for PluginControl found Value = XBMC (localhost)
              2017-03-18 17:53:42	MC	postBackProc for PluginControl found Key = DeviceGNBox
              2017-03-18 17:53:42	MC	UpdateDeviceName called for UDN = 23456789-1234-1010-8000-ac9b0ac4a4c9 and NewGivenName = KDL-55W809C
              2017-03-18 17:53:42	MC	GetZoneUDNByIndex called with Index = 5
              2017-03-18 17:53:42	MC	ItemChange called with DeviceTableItems = ptiDeviceGivenName and Value = KDL-55W809C and RowIndex = 5
              2017-03-18 17:53:42	MC	postBackProc for PluginControl found Value = KDL-55W809C
              2017-03-18 17:53:42	MC	postBackProc for PluginControl found Key = DeviceGNBox
              2017-03-18 17:53:42	MC	UpdateDeviceName called for UDN = c7b07e63-b97e-63b9-ad77-6309b9b9b009 and NewGivenName = TX-NR545
              2017-03-18 17:53:42	MC	GetZoneUDNByIndex called with Index = 4
              2017-03-18 17:53:42	MC	ItemChange called with DeviceTableItems = ptiDeviceGivenName and Value = TX-NR545 and RowIndex = 4
              2017-03-18 17:53:42	MC	postBackProc for PluginControl found Value = TX-NR545
              2017-03-18 17:53:42	MC	postBackProc for PluginControl found Key = DeviceGNBox
              2017-03-18 17:53:42	MC	UpdateDeviceName called for UDN = f5896148-1037-21ff-11c7-63512fdd83cf and NewGivenName = KDL-55W809C
              2017-03-18 17:53:42	MC	GetZoneUDNByIndex called with Index = 3
              2017-03-18 17:53:42	MC	ItemChange called with DeviceTableItems = ptiDeviceGivenName and Value = KDL-55W809C and RowIndex = 3
              2017-03-18 17:53:42	MC	postBackProc for PluginControl found Value = KDL-55W809C
              2017-03-18 17:53:42	MC	postBackProc for PluginControl found Key = DeviceGNBox
              2017-03-18 17:53:42	MC	UpdateDeviceName called for UDN = 5F9EC1B3-ED59-79BB-4530-00E036EF6D20 and NewGivenName = BridgeCo EF6D20
              2017-03-18 17:53:42	MC	GetZoneUDNByIndex called with Index = 2
              2017-03-18 17:53:42	MC	ItemChange called with DeviceTableItems = ptiDeviceGivenName and Value = BridgeCo EF6D20 and RowIndex = 2
              2017-03-18 17:53:42	MC	postBackProc for PluginControl found Value = BridgeCo EF6D20
              2017-03-18 17:53:42	MC	postBackProc for PluginControl found Key = DeviceGNBox
              2017-03-18 17:53:41	MC	UpdateDeviceName called for UDN = daef9a21-457a-4bc4-8bd1-1374e2347edf and NewGivenName = KDL-55W809C
              2017-03-18 17:53:41	MC	GetZoneUDNByIndex called with Index = 1
              2017-03-18 17:53:41	MC	ItemChange called with DeviceTableItems = ptiDeviceGivenName and Value = KDL-55W809C and RowIndex = 1
              2017-03-18 17:53:41	MC	postBackProc for PluginControl found Value = KDL-55W809C
              2017-03-18 17:53:41	MC	postBackProc for PluginControl found Key = DeviceGNBox
              2017-03-18 17:53:41	MC	GetZoneUDNByIndex called with Index = 0
              2017-03-18 17:53:41	MC	ItemChange called with DeviceTableItems = ptiEnterSonyPINBtn and Value = 0112 and RowIndex = 0
              2017-03-18 17:53:41	MC	postBackProc for PluginControl found Value = 0112
              2017-03-18 17:53:41	MC	postBackProc for PluginControl found Key = ovIPAddressBox
              2017-03-18 17:53:41	MC	DeviceName called for device - KDL-55W809C with value = KDL-55W809C
              2017-03-18 17:53:41	MC	UpdateDeviceName called for UDN = 60eb4257-5e32-4859-8fb6-0c2e917e6345 and NewGivenName = KDL-55W809C
              2017-03-18 17:53:41	MC	GetZoneUDNByIndex called with Index = 0
              2017-03-18 17:53:41	MC	ItemChange called with DeviceTableItems = ptiDeviceGivenName and Value = KDL-55W809C and RowIndex = 0
              2017-03-18 17:53:41	MC	postBackProc for PluginControl found Value = KDL-55W809C
              2017-03-18 17:53:41	MC	postBackProc for PluginControl found Key = DeviceGNBox
              2017-03-18 17:53:41	MC	PostBackProc for PluginControl called with page = MediaControl and data = DeviceGNBox_0=KDL-55W809C&ovIPAddressBox_0=0112&DeviceGNBox_1=KDL-55W809C&DeviceGNBox_2=BridgeCo+EF6D20&DeviceGNBox_3=KDL-55W809C&DeviceGNBox_4=TX-NR545&DeviceGNBox_5=KDL-55W809C&DeviceGNBox_6=XBMC+(localhost)&DeviceGNBox_7=XBMC+(localhost)&id=ovEnterSonyPINOverlaySubmit_0&ovEnterSonyPINOverlaySubmit_0=Submit and user = admin and userRights = 6
              2017-03-18 17:53:29	MC	GetPagePlugin for PlugInConfig called with pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:53:29	MC	hspi.GetPagePlugin called for instance = and pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:53:28	MC	GetPagePlugin for PlugInConfig called with pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:53:28	MC	hspi.GetPagePlugin called for instance = and pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:53:28	Info	Running immediate script: /tmp/K1.vb
              2017-03-18 17:53:23	MC	GetPagePlugin for PlugInConfig called with pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:53:23	MC	hspi.GetPagePlugin called for instance = and pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:53:22	MC	ReadIniFile called
              2017-03-18 17:53:22	MC	CreateUPnPControllers created an instance of UPnPDeviceController for UPnPDevice = KDL-55W809C
              2017-03-18 17:53:22	MC	SetHSMainState called for device - KDL-55W809C and Current Remote HSRef = 874 and AdminStateActive = True and DeviceStatus = Online
              2017-03-18 17:53:22	MC	SetHSMainState called for device - KDL-55W809C and Current HSRef = 873 and AdminStateActive = True and DeviceStatus = Online
              2017-03-18 17:53:22	MC	SetHSMainState called for device - KDL-55W809C and Current Remote HSRef = 874 and AdminStateActive = True and DeviceStatus = Online
              2017-03-18 17:53:22	MC	SetHSMainState called for device - KDL-55W809C and Current HSRef = 873 and AdminStateActive = True and DeviceStatus = Online
              2017-03-18 17:53:22	MC	SetAdministrativeState called for device - KDL-55W809C and Active = True
              2017-03-18 17:53:22	MC	SetHSMainState called for device - KDL-55W809C and Current Remote HSRef = 874 and AdminStateActive = True and DeviceStatus = Online
              2017-03-18 17:53:22	MC	SetHSMainState called for device - KDL-55W809C and Current HSRef = 873 and AdminStateActive = True and DeviceStatus = Online
              2017-03-18 17:53:22	MC	ExtractAllServices for device = KDL-55W809C found DeviceManufacturer = Sony Corporation
              2017-03-18 17:53:22	MC	SetHSRemoteState called for device - KDL-55W809C and Current Remote HSRef = 874 and AdminStateActive = True and DeviceStatus = Online
              2017-03-18 17:53:22	MC	CreateHSServiceDevice updated HS info for device KDL-55W809C - Remote with HSRef 874
              2017-03-18 17:53:22	MC	CreateHSServiceDevice created device Remote with HSRef = 874
              2017-03-18 17:53:22	MC	CreateHSServiceDevice called for Device = KDL-55W809C and DeviceFunction = Remote and HSRef = -1
              2017-03-18 17:53:22	MC	CreateHSSonyRemoteButtons called for device - KDL-55W809C and Recreate = False
              2017-03-18 17:53:22	MC	GetSonyWebServices called for device - KDL-55W809C with URL =
              2017-03-18 17:53:22	MC	GetSonyRemoteCommandList called for device - KDL-55W809C with URL =
              2017-03-18 17:53:22	MC	SonySetupRemoteInfo called for device = KDL-55W809C with RegisterMode = JSON
              2017-03-18 17:53:22	MC	ExtractAllServices found IRCC for device = KDL-55W809C
              2017-03-18 17:53:22	MC	ExtractAllServices for device = KDL-55W809C found additional service with ID = urn:schemas-sony-com:serviceId:ScalarWebAPI
              2017-03-18 17:53:22	MC	ExtractAllServices for device = KDL-55W809C found 2 Services
              2017-03-18 17:53:22	MC	ProcessServiceDocument for device = KDL-55W809C retrieved SonyRDISEntryPort = 59817
              2017-03-18 17:53:22	MC Error	Error in SonyProcessIRCCInfo for device - KDL-55W809C processing RemoteControllerInfo with error = Cannot find the requested class member.
              2017-03-18 17:53:22	MC	processSonyCommand called for device - KDL-55W809C with CommandName = and CommandValue =
              2017-03-18 17:53:22	MC	SonyProcessIRCCInfo for device = KDL-55W809C Found JSON name = and Value =
              2017-03-18 17:53:22	MC	SonyProcessIRCCInfo for device = KDL-55W809C Found JSON ID = 20
              2017-03-18 17:53:22	MC	SendJSON called for device - KDL-55W809C with URL = http://172.16.148.13/sony/system and JSONin = {"id":20,​"method":"getRemoteControllerInfo",​"version":"1.0",​"params":[]}
              2017-03-18 17:53:22	MC Error	Error in SonyProcessIRCCInfo for device - KDL-55W809C processing SystemSupportedFunctions with error = Cannot find the requested class member.
              2017-03-18 17:53:22	MC	SendJSON called for device - KDL-55W809C with URL = http://172.16.148.13/sony/system and JSONin = {"id":19,​"method":"getSystemSupportedFunction",​"version":"1.0",​"params":[]}
              2017-03-18 17:53:22	MC	SonyProcessIRCCInfo for device = KDL-55W809C received JSON reply = {"result":[],​"id":3}
              2017-03-18 17:53:22	MC	SendJSON called for device - KDL-55W809C with URL = http://172.16.148.13/sony/system and JSONin = {"id":3,​"method":"setWolMode",​"version":"1.0",​"params":[{"enabled":true}]}
              2017-03-18 17:53:22	MC	SonyProcessIRCCInfo for device = KDL-55W809C received JSON reply = {"result":[{"enabled":true}],​"id":3}
              2017-03-18 17:53:22	MC	SendJSON called for device - KDL-55W809C with URL = http://172.16.148.13/sony/system and JSONin = {"id":3,​"method":"getWolMode",​"version":"1.0",​"params":[]}
              2017-03-18 17:53:22	MC	SonyProcessIRCCInfo for device = KDL-55W809C retrieved JSON AppControl URL = http://172.16.148.13/sony/accessControl
              2017-03-18 17:53:22	MC	SonyProcessIRCCInfo for device = KDL-55W809C retrieved JSON System URL = http://172.16.148.13/sony/system
              2017-03-18 17:53:22	MC	SonyProcessIRCCInfo for device = KDL-55W809C retrieved JSON AccessControl URL = http://172.16.148.13/sony/accessControl
              2017-03-18 17:53:22	MC Error	Error in SonyProcessIRCCInfo for device = KDL-55W809C while retieving av:X_ScalarWebAPI_ActionList_URL with Error = Object reference not set to an instance of an object
              2017-03-18 17:53:22	MC	SonyProcessIRCCInfo for device = KDL-55W809C retrieved X_ScalarWebAPI_BaseURL = http://172.16.148.13/sony
              2017-03-18 17:53:22	MC	SonyProcessIRCCInfo for device = KDL-55W809C retrieved X_IRCC_Category = AAIAAAAa
              2017-03-18 17:53:22	MC	SonyProcessIRCCInfo for device = KDL-55W809C retrieved X_IRCC_Category = AAIAAAB3
              2017-03-18 17:53:22	MC	SonyProcessIRCCInfo for device = KDL-55W809C retrieved X_IRCC_Category = AAIAAACX
              2017-03-18 17:53:22	MC	SonyProcessIRCCInfo for device = KDL-55W809C retrieved X_IRCC_Category = AAIAAACk
              2017-03-18 17:53:22	MC	SonyProcessIRCCInfo for device = KDL-55W809C retrieved X_IRCC_Category = AAEAAAAB
              2017-03-18 17:53:22	MC	processSonyCommand called for device - KDL-55W809C with CommandName = Power and CommandValue = AAAAAQAAAAEAAAAVAw==
              2017-03-18 17:53:22	MC	SonyProcessIRCCInfo for device = KDL-55W809C retrieved IRCC Command = Power and Value = AAAAAQAAAAEAAAAVAw==
              2017-03-18 17:53:22	MC	SonyProcessIRCCInfo called for device = KDL-55W809C
              2017-03-18 17:53:22	MC	ProcessServiceDocument called for device = KDL-55W809C with URL = http://172.16.148.13:56467/sony/webapi/ssdp/dd.xml
              2017-03-18 17:53:22	MC	DeviceTrigger called for device - KDL-55W809C with Trigger = Player Online
              2017-03-18 17:53:22	MC	PlayChangeNotifyCallback called for device - KDL-55W809C with ChangeType = DeviceStatusChanged and Changevalue = Online
              2017-03-18 17:53:22	MC	DirectConnect for Device = KDL-55W809C added Image = /images/MediaController/Artwork/PlayerIcon_60eb4257-5e32-4859-8fb6-0c2e917e6345.png for HSRef = 873
              2017-03-18 17:53:22	MC	DirectConnect for Device = KDL-55W809C stored Icon at MediaController/Artwork/PlayerIcon_60eb4257-5e32-4859-8fb6-0c2e917e6345.png
              2017-03-18 17:53:22	MC	DirectConnect for Device = KDL-55W809C checking for file = /etc/HomeSeer/html/images/MediaController/Artwork/PlayerIcon_60eb4257-5e32-4859-8fb6-0c2e917e6345.png
              2017-03-18 17:53:22	MC	DirectConnect for Device = KDL-55W809C found IconURL = http://172.16.148.13:56467/sony/webapi/ssdp/icon/xfh_65_120.jpg
              2017-03-18 17:53:22	MC	DirectConnect called for KDL-55W809C
              2017-03-18 17:53:22	MC	CreateUPnPControllers has found UPnpDevice = KDL-55W809C with on-line status = True and Adminstate = True
              2017-03-18 17:53:22	MC	ReadDeviceIniSettings called for device - KDL-55W809C
              2017-03-18 17:53:22	MC	DeviceAPIIndex called for device = KDL-55W809C with API Index = 1
              2017-03-18 17:53:22	MC	GetNextFreeDeviceIndex found Index = 1
              2017-03-18 17:53:22	MC	GetNextFreeDeviceIndex called
              2017-03-18 17:53:22	MC	PlayerIconURL called for device = KDL-55W809C and IConURL =
              2017-03-18 17:53:22	MC	DeviceHSCode Set called for device - KDL-55W809C with DeviceRef = 873
              2017-03-18 17:53:22	MC	DeviceServiceType Set called for device - KDL-55W809C with ServiceType = RCR
              2017-03-18 17:53:22	MC	DeviceName called for device - with value = KDL-55W809C
              2017-03-18 17:53:21	MC	InitMusicAPI called for device =
              2017-03-18 17:53:21	MC	InitIO Called for Instance = 60eb4257-5e32-4859-8fb6-0c2e917e6345
              2017-03-18 17:53:21	MC	InitIO for Instance = 60eb4257-5e32-4859-8fb6-0c2e917e6345 found this plugin running on Linux = True
              2017-03-18 17:53:21	MC	InitIO Called for Instance = 60eb4257-5e32-4859-8fb6-0c2e917e6345 and running on OS = Unix
              2017-03-18 17:53:21	MC	InitIO for Instance = 60eb4257-5e32-4859-8fb6-0c2e917e6345 found HS running on Linux = True
              2017-03-18 17:53:21	MC	InitIO for Instance = 60eb4257-5e32-4859-8fb6-0c2e917e6345 found CurrentAppPath = /etc/HomeSeer
              2017-03-18 17:53:21	Info	Plugin MediaController with instance 60eb4257-5e32-4859-8fb6-0c2e917e6345 has connected. IP:127.0.0.1:47069
              2017-03-18 17:53:21	MC	AddInstance called with InstanceName = 60eb4257-5e32-4859-8fb6-0c2e917e6345
              2017-03-18 17:53:21	MC	CreateUPnPControllers found 1 devices and ActivateTheZone = True
              2017-03-18 17:53:21	MC	CreateHSRootDevice: Created device KDL-55W809C with reference 873
              2017-03-18 17:53:21	MC	CreateHSRootDevice called with DevType = RCR and DeviceName = KDL-55W809C and DeviceUDN = 60eb4257-5e32-4859-8fb6-0c2e917e6345
              2017-03-18 17:53:21	MC	AddDevicetoHS called with DeviceUDN = 60eb4257-5e32-4859-8fb6-0c2e917e6345
              2017-03-18 17:53:21	MC	GetZoneUDNByIndex called with Index = 0
              2017-03-18 17:53:21	MC	ItemChange called with DeviceTableItems = ptiAddBtn and Value = Submit and RowIndex = 0
              2017-03-18 17:53:21	MC	postBackProc for PluginControl found Value = Submit
              2017-03-18 17:53:21	MC	postBackProc for PluginControl found Key = AddPlayerBtn
              2017-03-18 17:53:21	MC	postBackProc for PluginControl found Value = AddPlayerBtn_0
              2017-03-18 17:53:21	MC	postBackProc for PluginControl found Key = id
              2017-03-18 17:53:21	MC	PostBackProc for PluginControl called with page = MediaControl and data = &id=AddPlayerBtn_0&AddPlayerBtn_0=Submit and user = admin and userRights = 6
              2017-03-18 17:53:07	MC	GetPagePlugin for PlugInConfig called with pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:53:07	MC	hspi.GetPagePlugin called for instance = and pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:52:45	MC	GetPagePlugin for PlugInConfig called with pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:52:45	MC	hspi.GetPagePlugin called for instance = and pageName = MediaControl and user = admin and userRights = 6 and queryString =
              2017-03-18 17:52:28	MC	ReadIniFile called
              2017-03-18 17:52:28	MC	postBackProc has open slider
              2017-03-18 17:52:28	MC	postBackProc for PluginControl found Value = myPlayerListSlide_name_open
              2017-03-18 17:52:28	MC	postBackProc for PluginControl found Key = myPlayerListSlide
              2017-03-18 17:52:28	MC	PostBackProc for PluginControl called with page = MediaControl and data = myPlayerListSlide=myPlayerListSlide_name_open and user = admin and userRights = 6
              2017-03-18 17:52:28	Info	Running immediate script: /tmp/K1.vb
              2017-03-18 17:52:26	MC	ReadIniFile called
              2017-03-18 17:51:28	Info	Running immediate script: /tmp/K1.vb
              2017-03-18 17:51:26	MC	Registered SpeakerProxy
              2017-03-18 17:51:26	MC	FindUPnPDevice - Discovery succeeded: 11 UPnPDevice(s) found.
              2017-03-18 17:50:47	MC	FindUPnPDevice: Attempting to locate all connected devices. This may take up to 9 seconds.
              2017-03-18 17:50:47	HSTouch Server Warning	Exception on Value Change callback: Object reference not set to an instance of an object
              2017-03-18 17:50:47	MC	InitializeUPnPDevices is creating a new Masterdevices with Ref = 872
              2017-03-18 17:50:46	MC Warning	InitializeUPnPDevices is deleting all existing HS devices
              2017-03-18 17:50:46	Plug-In	Finished initializing plug-in MediaController
              2017-03-18 17:50:45	MC	Media Controller Plugin Initialized
              2017-03-18 17:50:45	MC	InitIO Called for Instance =
              2017-03-18 17:50:45	MC	InitIO for Instance = found this plugin running on Linux = True
              2017-03-18 17:50:45	MC	InitIO Called for Instance = and running on OS = Unix
              2017-03-18 17:50:45	MC	InitIO for Instance = found HS running on Linux = True
              2017-03-18 17:50:45	MC	InitIO for Instance = found CurrentAppPath = /etc/HomeSeer
              When I press the button without any description then this shows up in the log

              Code:
              Mar-18 6:29:28 PM	 	MC Error	Error in SonyX_SendIRCC for device = KDL-55W809C and IRCCCode = with UPNP Error = Read only tag / Transport is locked / Access denied. Error = MyUPnPService.InvokeAction for ServiceID = http://172.16.148.13/sony/ircc/IRCCSCPD.xml while sending Action = X_SendIRCC for URI = http://172.16.148.13/sony/ircc and Request = UPNP Error = faultcode = s:Client, faultstring = UPnPError, detail = 800Cannot accept the IRCC Code with error = The remote server returned an error: (500) Internal Server Error.
              Mar-18 6:29:28 PM	 	MC	SonyX_SendIRCC called for device KDL-55W809C and IRCCCode = compared date = 4/1/2017 5:53:42 PM with TimeNow and result = -1
              Mar-18 6:29:28 PM	 	MC	SonyX_SendIRCC called for device KDL-55W809C and IRCCCode =
              Mar-18 6:29:28 PM	 	MC	TreatSetIOExSony called for UPnPDevice = KDL-55W809C and Buttonvalue = 21 and Registration = True and DeviceState = Online
              Mar-18 6:29:28 PM	 	MC	TreatSetIOExSony called for UPnPDevice = KDL-55W809C and buttonvalue = 21
              Mar-18 6:29:28 PM	 	MC	TreatSetIOExRemoteControl called for UPnPDevice = KDL-55W809C and buttonvalue = 21
              Mar-18 6:29:28 PM	 	MC	TreatSetIOEx called for device = KDL-55W809C with Ref = 874, Index 2, controlFlag = False, ControlString, ControlType = Button, ControlValue = 21, Label =
              Mar-18 6:29:28 PM	 	MC	SetIOEx called for Ref = 874, Index 2, controlFlag = False, ControlString, ControlType = Button, ControlValue = 21, Label =
              Mar-18 6:29:28 PM	 	MC	SetIOMulti set value: 21->ref:874
              Mar-18 6:29:28 PM	 	MC	SetIOMulti called
              Mar-18 6:29:28 PM	 	Device Control	Device: MediaController KDL-55W809C Remote to (21) by/from: CAPI Control Handler
              Mar-18 6:28:59 PM	 	MC	CreateRemoteButtons called for device - KDL-55W809C
              Mar-18 6:28:59 PM	 	MC	CreateHSSonyRemoteButtons called for device - KDL-55W809C and Recreate = True
              Mar-18 6:28:59 PM	 	MC	TreatSetIOExSony called for UPnPDevice = KDL-55W809C and buttonvalue = 7
              Mar-18 6:28:59 PM	 	MC	TreatSetIOExRemoteControl called for UPnPDevice = KDL-55W809C and buttonvalue = 7
              Mar-18 6:28:59 PM	 	MC	TreatSetIOEx called for device = KDL-55W809C with Ref = 874, Index 0, controlFlag = False, ControlString, ControlType = Button, ControlValue = 7, Label = Create Remote Buttons
              Mar-18 6:28:59 PM	 	MC	SetIOEx called for Ref = 874, Index 0, controlFlag = False, ControlString, ControlType = Button, ControlValue = 7, Label = Create Remote Buttons
              Mar-18 6:28:59 PM	 	MC	SetIOMulti set value: 7->ref:874
              Mar-18 6:28:59 PM	 	MC	SetIOMulti called
              --Edit--
              After waiting some time the

              Activated Online unregistered changed to Activated Online but only buttons that shows and works is power.
              Last edited by alan_smithee; March 18, 2017, 01:15 PM.

              Comment


                #8
                Originally posted by alan_smithee View Post
                Hey that worked
                I removed all the config files in the config folder uploaded the newer PI and turned it on.

                After pressing the Add button the authenticate button showed up.
                After I authenticated the button create Remote Buttons and there were it stopped.

                I only get the Power button created
                [ATTACH]60163[/ATTACH]

                This is my log but I cannot find anything in special


                After waiting some time the

                Activated Online unregistered changed to Activated Online but only buttons that shows and works is power.
                The error is still there:

                2017-03-18 17:53:22 MC Error Error in SonyProcessIRCCInfo for device - KDL-55W809C processing SystemSupportedFunctions with error = Cannot find the requested class member.

                I've attached a new version. This time I'm not using the method Deserialize anymore but use DeserializeObject.

                Let's see if we can make some progress here.

                Dirk
                Last edited by dcorsus; March 19, 2017, 11:15 PM.

                Comment


                  #9
                  Well I can't find the error and the textless button is gone but the only button that shows up is power. I don't understand that I only adds that button and not any other.

                  Click image for larger version

Name:	Screen Shot 2017-03-19 at 17.38.35.jpg
Views:	1
Size:	21.0 KB
ID:	1190266

                  This is the log with super debug enabled

                  log.log.zip

                  Comment


                    #10
                    Originally posted by alan_smithee View Post
                    Well I can't find the error and the textless button is gone but the only button that shows up is power. I don't understand that I only adds that button and not any other.

                    [ATTACH]60170[/ATTACH]

                    This is the log with super debug enabled

                    [ATTACH]60172[/ATTACH]
                    Go to the PI config page and delete the device and start all over, including registration as per how described in the help file.
                    Dirk

                    Comment


                      #11
                      Did the following
                      - removed the device
                      - disabled the plugin
                      - removed all the ini files in the config folder | rm MediaController*
                      - removed the remote device on the Sony tv
                      - shutdown hs and restarted it
                      - enabled plugin
                      - added the tv and clicked authenticated.
                      - entered the code and clicked Create Remote Buttons

                      Only the power buttons shows up. I've read the manual thoroughly.
                      Did I miss something?

                      --Edit--

                      I've installed the windows version of HS and used the second plugin that you posted in this thread. This also only shows the power button.
                      The one that is in the store does show all the buttons on the windows client.
                      The power button is the first button that's created right? So the json file is loaded?
                      Does this help?
                      Last edited by alan_smithee; March 19, 2017, 04:06 PM.

                      Comment


                        #12
                        Originally posted by alan_smithee View Post
                        Did the following
                        - removed the device
                        - disabled the plugin
                        - removed all the ini files in the config folder | rm MediaController*
                        - removed the remote device on the Sony tv
                        - shutdown hs and restarted it
                        - enabled plugin
                        - added the tv and clicked authenticated.
                        - entered the code and clicked Create Remote Buttons

                        Only the power buttons shows up. I've read the manual thoroughly.
                        Did I miss something?

                        --Edit--

                        I've installed the windows version of HS and used the second plugin that you posted in this thread. This also only shows the power button.
                        The one that is in the store does show all the buttons on the windows client.
                        The power button is the first button that's created right? So the json file is loaded?
                        Does this help?
                        Did you take a debug log? If not do over and take log. Suspect it may still not work under mono or more code may have to change
                        Dirk

                        Comment


                          #13
                          Originally posted by alan_smithee View Post

                          --Edit--

                          I've installed the windows version of HS and used the second plugin that you posted in this thread. This also only shows the power button.
                          The one that is in the store does show all the buttons on the windows client.
                          The power button is the first button that's created right? So the json file is loaded?
                          Does this help?
                          Actually the power buttons is "published" somewhere else, and not through JSON. It is all the other buttons that require a JSON reply to be parsed. Given that the latest version doesn't work for Windows nor Linux, the DeserializeObject is either wrong or I'm using it wrong. Can you post a log of the none working one.

                          Dirk

                          Comment


                            #14
                            I have some good news. I managed to remote VPN into the site where my Sony TV ended up. So I was able to test and fix the issues when I changed going to DeserializeObject. It appears to work again under Windows. I can't do a remote VPN test from my Linux box, so can you test the attached and make sure it still works for your Windows install and your Linux install.
                            You may have to delete the device from the config page and start again.
                            Dirk
                            Last edited by dcorsus; March 20, 2017, 09:35 AM.

                            Comment


                              #15
                              Thank you very much for all your effort you put into this.

                              I've installed the new version after I
                              - removed the device
                              - disabled the plugin
                              - removed the ini files
                              - removed the authentication from the Sony tv

                              I did not restart the HSserver this time.
                              This time I also have a WOL button and a empty button but the rest of the buttons are still gone.

                              I did not turn on debug logging but I got this from the log

                              Code:
                              2017-03-20 06:21:49	MC Error	Error in SendJSONAuthentication for device - KDL-55W809C doing a GetResponse with error = The remote server returned an error: (401) Unauthorized. and Response = {"error":[401,​"Unauthorized"],​"id":13}
                              2017-03-20 06:21:45	MC	CreateUPnPControllers created an instance of UPnPDeviceController for UPnPDevice = KDL-55W809C
                              2017-03-20 06:21:45	MC	CreateHSServiceDevice created device Remote with HSRef = 886
                              2017-03-20 06:21:45	MC Error	Error in SendJSON for device - KDL-55W809C doing a GetResponse with error = The remote server returned an error: (403) Forbidden. and Response = {"auth_url":{"default":"http:\/\/172.16.148.13:80\/sony\/webauth\/auth_default",​"tv":"http:\/\/127.0.0.1:80\/sony\/webauth\/auth_tv"},​"error":[403,​"Forbidden"],​"id":3}
                              2017-03-20 06:21:45	MC Error	Error in SendJSON for device - KDL-55W809C doing a GetResponse with error = The remote server returned an error: (403) Forbidden. and Response = {"auth_url":{"default":"http:\/\/172.16.148.13:80\/sony\/webauth\/auth_default",​"tv":"http:\/\/127.0.0.1:80\/sony\/webauth\/auth_tv"},​"error":[403,​"Forbidden"],​"id":3}
                              2017-03-20 06:21:44	MC	InitIO Called for Instance = 60eb4257-5e32-4859-8fb6-0c2e917e6345 and running on OS = Unix
                              2017-03-20 06:21:44	Info	Plugin MediaController with instance 60eb4257-5e32-4859-8fb6-0c2e917e6345 has connected. IP:127.0.0.1:33990
                              2017-03-20 06:21:44	MC	CreateHSRootDevice: Created device KDL-55W809C with reference 885
                              2017-03-20 06:21:44	MC	CreateHSRootDevice called with DevType = RCR and DeviceName = KDL-55W809C and DeviceUDN = 60eb4257-5e32-4859-8fb6-0c2e917e6345
                              2017-03-20 06:21:44	MC	AddDevicetoHS called with DeviceUDN = 60eb4257-5e32-4859-8fb6-0c2e917e6345
                              2017-03-20 06:18:42	MC	CreateUPnPControllers called but no devices found
                              2017-03-20 06:17:29	MC	Registered SpeakerProxy
                              2017-03-20 06:17:29	MC	FindUPnPDevice - Discovery succeeded: 9 UPnPDevice(s) found.
                              2017-03-20 06:16:50	MC	FindUPnPDevice: Attempting to locate all connected devices. This may take up to 9 seconds.
                              2017-03-20 06:16:50	HSTouch Server Warning	Exception on Value Change callback: Object reference not set to an instance of an object
                              2017-03-20 06:16:50	MC	InitializeUPnPDevices is creating a new Masterdevices with Ref = 884
                              2017-03-20 06:16:50	MC Warning	InitializeUPnPDevices is deleting all existing HS devices
                              2017-03-20 06:16:49	Plug-In	Finished initializing plug-in MediaController
                              2017-03-20 06:16:49	MC	Media Controller Plugin Initialized
                              2017-03-20 06:16:48	MC	InitIO Called for Instance =
                              2017-03-20 06:16:48	MC	InitIO for Instance = found this plugin running on Linux = True
                              2017-03-20 06:16:48	MC	InitIO Called for Instance = and running on OS = Unix
                              2017-03-20 06:16:48	MC	InitIO for Instance = found HS running on Linux = True
                              2017-03-20 06:16:48	MC	InitIO for Instance = found CurrentAppPath = /etc/HomeSeer
                              2017-03-20 06:16:48	Info	Plugin MediaController has connected. IP:127.0.0.1:33906
                              When I get home tonight I'll try it on the Windows version and also turn on super debug on the Linux HSserver to capture that log.

                              Comment

                              Working...
                              X