Sony TV Network Remote Control Plugin

Questions and comments specific to a particular plugin should go here.

Re: Sony TV Network Remote Control Plugin

Postby kgschlosser » Wed Jun 07, 2017 11:41 pm

its not in a plugin form yet. that's why i said it would be easier to do it through a chat on github
If you like the work I have been doing then feel free to Image
User avatar
kgschlosser
Site Admin
 
Posts: 2715
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Sony TV Network Remote Control Plugin

Postby topix » Sat Jun 10, 2017 2:24 pm

blaher wrote:Unfortunately, it doesn't work:

...

14:39:49 File "C:\ProgramData\EventGhost\plugins\SonyNetworkRemote\__init__.py", line 180, in __call__
14:39:49 self.plugin.SendCommand(self.value)
14:39:49 TypeError: object() takes no parameters

Replace line 180 in File "C:\ProgramData\EventGhost\plugins\SonyNetworkRemote\__init__.py" with
Code: Select all
eg.plugins.SonyTVNetworkPlugin.SendCommand(self.value)
topix
Experienced User
 
Posts: 350
Joined: Sat May 05, 2007 3:43 pm
Location: Germany

Re: Sony TV Network Remote Control Plugin

Postby blaher » Thu Jun 15, 2017 6:03 am

topix wrote:
blaher wrote:Unfortunately, it doesn't work:

...

14:39:49 File "C:\ProgramData\EventGhost\plugins\SonyNetworkRemote\__init__.py", line 180, in __call__
14:39:49 self.plugin.SendCommand(self.value)
14:39:49 TypeError: object() takes no parameters

Replace line 180 in File "C:\ProgramData\EventGhost\plugins\SonyNetworkRemote\__init__.py" with
Code: Select all
eg.plugins.SonyTVNetworkPlugin.SendCommand(self.value)


That fixed it, thanks. I tried a few basic commands and they all seem to work without any errors.
blaher
Experienced User
 
Posts: 463
Joined: Thu Nov 17, 2011 1:27 am

Re: Sony TV Network Remote Control Plugin

Postby kgschlosser » Thu Jun 15, 2017 9:54 pm

just wait until the new one is finished up.the back end is looking good. still have a couple of things to hammer out but all in all it works. I really want to get the device discovery going. but I may release it before that

it's going to knock your socks off. going to be able to get the channel list from the TV with the channel designations. the names of the movies/MP3s/videos if you have the TV connected to a DLNA server. it's going to produce events for volume, mute, power, source, playing content, channel. and the cool thing is it is not going to be limited to just Sony TV's.

it is also going to support direct input for volume, power, mute, channels, content, channel by call letters. couple any of those with voice recognition... makes it super simple to make the macros to do that
If you like the work I have been doing then feel free to Image
User avatar
kgschlosser
Site Admin
 
Posts: 2715
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Sony TV Network Remote Control Plugin

Postby kgschlosser » Thu Jun 15, 2017 10:04 pm

topix wrote:
blaher wrote:Unfortunately, it doesn't work:

...

14:39:49 File "C:\ProgramData\EventGhost\plugins\SonyNetworkRemote\__init__.py", line 180, in __call__
14:39:49 self.plugin.SendCommand(self.value)
14:39:49 TypeError: object() takes no parameters

Replace line 180 in File "C:\ProgramData\EventGhost\plugins\SonyNetworkRemote\__init__.py" with
Code: Select all
eg.plugins.SonyTVNetworkPlugin.SendCommand(self.value)



ya know it's funny. shouldn't have to use eg.plugins.SonyTVNetworkPlugin.SendCommand(self.value) I thought when you add an action it returns that action


so when i added the action SendCommand i did

self.SendCommand = self.AddAction(SendCommand)

so self.plugin.SendCommand(self.value) should work... I will have to go and look at the core code again on that part of it and see what it returns.



****EDIT****


yeah it does return the action. wonder why it's not working then

Code: Select all
    def AddAction(
        self,
        actionCls,
        clsName=None,
        name=None,
        description=None,
        value=None,
        hidden=False
    ):
        if not issubclass(actionCls, eg.ActionBase):
            raise Exception("Actions must be subclasses of eg.ActionBase")
        if clsName is not None:
            actionCls = ClassType(
                clsName,
                (actionCls, ),
                dict(name=name, description=description, value=value),
            )
        plugin = self.plugin
        pluginInfo = plugin.info
        actionClsName = actionCls.__name__
        icon = pluginInfo.icon
        if actionCls.iconFile:
            try:
                path = join(pluginInfo.path, actionCls.iconFile + ".png")
                icon = eg.Icons.PathIcon(path)
            except:
                eg.PrintError(
                    "Error while loading icon file %s" % actionCls.iconFile
                )
        if icon == eg.Icons.PLUGIN_ICON:
            icon = eg.Icons.ACTION_ICON
        else:
            icon = eg.Icons.ActionSubIcon(icon)

        text = self.Translate(plugin, actionCls, actionClsName)
        actionCls = ClassType(
            actionClsName,
            (actionCls, ),
            dict(
                name=text.name,
                description=text.description,
                plugin=plugin,
                info=ActionInfo(icon),
                text=text,
                Exceptions=eg.Exceptions
            )
        )
        pluginInfo.actions[actionClsName] = actionCls
        actionCls.OnAddAction()
        if not hidden:
            self.items.append(actionCls)
        return actionCls


***EDIT***

OK i know why. it's because the action has not been initialized. if you change line 180 to

Code: Select all
self.plugin.SendCommand()(self.value)


it will work

that's just bonkers.
If you like the work I have been doing then feel free to Image
User avatar
kgschlosser
Site Admin
 
Posts: 2715
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Sony TV Network Remote Control Plugin

Postby blaher » Fri Jun 16, 2017 1:17 am

kgschlosser wrote:it's going to knock your socks off.


Sounds great. Happy to test it out with my TV, but I don't have any other Sony stuff at the moment.
blaher
Experienced User
 
Posts: 463
Joined: Thu Nov 17, 2011 1:27 am

Re: Sony TV Network Remote Control Plugin

Postby kgschlosser » Fri Jun 16, 2017 3:37 am

well I don't own sony anything
If you like the work I have been doing then feel free to Image
User avatar
kgschlosser
Site Admin
 
Posts: 2715
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Sony TV Network Remote Control Plugin

Postby Mannyma » Sun Aug 06, 2017 5:48 am

I have a sony android tv and a sony avr.
Mannyma
 
Posts: 2
Joined: Sun Aug 06, 2017 5:38 am

Re: Sony TV Network Remote Control Plugin

Postby kgschlosser » Mon Aug 14, 2017 5:34 am

I will be getting back into developing this in about 2 weeks or so. if someone is available to help test i am game.
If you like the work I have been doing then feel free to Image
User avatar
kgschlosser
Site Admin
 
Posts: 2715
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Sony TV Network Remote Control Plugin

Postby Mannyma » Mon Aug 14, 2017 5:08 pm

YAY!
Mannyma
 
Posts: 2
Joined: Sun Aug 06, 2017 5:38 am

Re: Sony TV Network Remote Control Plugin

Postby blaher » Tue Aug 15, 2017 3:55 am

kgschlosser wrote:I will be getting back into developing this in about 2 weeks or so. if someone is available to help test i am game.


Certainly, thank you.
blaher
Experienced User
 
Posts: 463
Joined: Thu Nov 17, 2011 1:27 am

Re: Sony TV Network Remote Control Plugin

Postby kgschlosser » Wed Aug 23, 2017 7:24 am

OK so I have been working on this plugin.

this is what you will be able to do

set mhl_power_feed_mode
set mhl_auto_input_change_mode
set cec_control_mode
set cec_power_sync_mode
get time_format
get date_format
get, set time
get, set postal_code
get, set power_saving_mode
get interface_server_name
get interface_model_name
get interface_product_name
get interface_product_category
get interface_version
set led_indicator_status
get, set language
get, set wol_mode
get color_keys_layout
get product
get mac
get name
get cid
get generation
get region
get area
get model
get serial
get network_ipv4
get network_netif
get network_ipv6
get network_subnet_mask
get network_mac
get network_gateway
get wol_mac
get chinese_software_keyboard_suypported
get, set pip_sub_screen_position
get, set audio_source_screen
set pap_screen_size
get, set multi_screen_mode
get, set multi_screen_internet_mode
get external_input_status
get parental_rating_setting_country
get parental_rating_setting_unrated
get parental_rating_setting_age
get parental_rating_setting_sony
get parental_rating_setting_tv
get parental_rating_setting_mpaa
get parental_rating_setting_french
get parental_rating_setting_english
set play_tv_content
set delete_protection
get scheme_list
get source_list
get, set playing_content
delete_content
get content_count
set tv_content_visibility
get favorite_content_list
get application_status_list
get application_list
set active_application
terminate_applications
get, set browser_text_url
get browser_bookmark_list
get recording_supported_repeat_type
recording_delete_schedule
recording_add_schedule
get recording_history_list
get recording_schedule_list
get recording_conflict_list
get content_list
get channel_linup
get source_list
get remote_command_list
get, set power either via WOL or command for the new android TV's
get, set channel
channel_up
channel_down
get, set volume
volume_up
volume_down
mute_toggle
get, set mute
get, set source
If you like the work I have been doing then feel free to Image
User avatar
kgschlosser
Site Admin
 
Posts: 2715
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Sony TV Network Remote Control Plugin

Postby blaher » Fri Aug 25, 2017 3:45 am

Sweet, the get application list is a good one, because then you can boot straight into Kodi for example, without having to rely on direction key macros from the main menu.

Likewise, getting the power mode, and source can really improve macros, so you don't have to send HDMI1, or ON, for example, if they're already on that.
blaher
Experienced User
 
Posts: 463
Joined: Thu Nov 17, 2011 1:27 am

Re: Sony TV Network Remote Control Plugin

Postby kgschlosser » Fri Aug 25, 2017 5:16 am

well I do have the back end pretty much done up if you wanted to test it.. tho it will only work from a python script.

I am sure it is riddled with issues. because I do not have a sony bravia TV. But I am sure I will be able to fumble through them and correct the problems.

But if you can run this code below in a python script and then paste the output to me it will help me to narrow down specific features. I have tried to compile as much as i could but there are differences between tv models and years. You will need to change IP_ADDRESS to the ip address of your TV. This output will help me add anything that your TV might support.

Code: Select all

IP_ADDRESS = '192.168.1.10'


import requests
import json

def send(url, method, params):
    json_data = json.dumps(
        {'method': method, 'params': params, 'id': 1, 'version': '1.0'}
    )

    try:
        response = requests.post(
            'http://%s/sony/%s' % (IP_ADDRESS, url),
            data=json_data.encode('UTF-8')
        )
        response = json.loads(response.content.decode('utf-8'))

        if response.get('error'):
            print response
        else:
            return response

    except requests.exceptions.RequestException:
        import traceback
        traceback.print_exc()

PROTOCOLS = []

VER = send('guide', 'getVersions', [])['result'][0]

for ver in VER:
    results = send('guide', 'getServiceProtocols', [ver])['results']
    print results
    for protocol, _ in results:
        versions = send('guide', 'getVersions', [])['result'][0]
        for version in versions:
            print json.dumps(send(protocol, 'getMethodTypes', [version]), indent=4)
If you like the work I have been doing then feel free to Image
User avatar
kgschlosser
Site Admin
 
Posts: 2715
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Sony TV Network Remote Control Plugin

Postby blaher » Sat Aug 26, 2017 3:20 am

12:50:59 Python Script
12:50:59 {u'id': 1, u'error': [3, u'Illegal Argument']}
12:50:59 Traceback (most recent call last):
12:50:59 Python script "15", line 33, in <module>
12:50:59 results = send('guide', 'getServiceProtocols', [ver])['results']
12:50:59 TypeError: 'NoneType' object has no attribute '__getitem__'

But here is the output of me doing what I think you're after manually:

{"method":"getApplicationList","params":[],"id":10, "version":"1.0"}

Code: Select all
{"result":[[{"title":"Album","uri":"com.sony.dtv.com.sony.dtv.osat.album.com.sonyericsson.album.MainActivity","icon":"http:\/\/192.168.168.198\/DIAL\/icon\/com.sony.dtv.com.sony.dtv.osat.album.com.sonyericsson.album.MainActivity.png"},{"title":"Music","uri":"com.sony.dtv.com.sony.dtv.osat.music.com.sonyericsson.music.MusicActivity","icon":"http:\/\/192.168.168.198\/DIAL\/icon\/com.sony.dtv.com.sony.dtv.osat.music.com.sonyericsson.music.MusicActivity.png"},{"title":"Programme Guide","uri":"com.sony.dtv.com.sony.dtv.tvx.com.sony.dtv.tvx.MainActivity","icon":"http:\/\/192.168.168.198\/DIAL\/icon\/com.sony.dtv.com.sony.dtv.tvx.com.sony.dtv.tvx.MainActivity.png"},{"title":"Recorded Title List","uri":"com.sony.dtv.com.sony.dtv.tvx.com.sony.dtv.tvx.rec.ui.screen.recorded.TitleListLauncherActivity","icon":"http:\/\/192.168.168.198\/DIAL\/icon\/com.sony.dtv.com.sony.dtv.tvx.com.sony.dtv.tvx.rec.ui.screen.recorded.TitleListLauncherActivity.png"},{"title":"Play Music","uri":"com.sony.dtv.com.google.android.music.com.android.music.activitymanagement.TopLevelActivity","icon":"http:\/\/192.168.168.198\/DIAL\/icon\/com.sony.dtv.com.google.android.music.com.android.music.activitymanagement.TopLevelActivity.png"},{"title":"YouTube","uri":"com.sony.dtv.com.google.android.youtube.tv.com.google.android.apps.youtube.tv.cobalt.app.ShellActivity","icon":"http:\/\/192.168.168.198\/DIAL\/icon\/com.sony.dtv.com.google.android.youtube.tv.com.google.android.apps.youtube.tv.cobalt.app.ShellActivity.png"},{"title":"Play Store","uri":"com.sony.dtv.com.android.vending.com.google.android.finsky.activities.TvMainActivity","icon":"http:\/\/192.168.168.198\/DIAL\/icon\/com.sony.dtv.com.android.vending.com.google.android.finsky.activities.TvMainActivity.png"},{"title":"Amazon Video","uri":"com.sony.dtv.com.amazon.aiv.us.com.amazon.ignition.IgnitionActivity","icon":"http:\/\/192.168.168.198\/DIAL\/icon\/com.sony.dtv.com.amazon.aiv.us.com.amazon.ignition.IgnitionActivity.png"},{"title":"PlayStation Video","uri":"com.sony.dtv.com.sony.snei.video.hhvu.com.sony.snei.video.hhvu.MainActivity","icon":"http:\/\/192.168.168.198\/DIAL\/icon\/com.sony.dtv.com.sony.snei.video.hhvu.com.sony.snei.video.hhvu.MainActivity.png"},{"title":"Photo Sharing Plus","uri":"com.sony.dtv.com.sony.dtv.photosharingplus.com.sony.dtv.photosharingplus.ui.PSSinglePlayScreenActivity","icon":"http:\/\/192.168.168.198\/DIAL\/icon\/com.sony.dtv.com.sony.dtv.photosharingplus.com.sony.dtv.photosharingplus.ui.PSSinglePlayScreenActivity.png"},{"title":"Screen mirroring","uri":"com.sony.dtv.screnmirroring.com.screnmirroring.com.StartScreenMirroringHomeActivity","icon":"http:\/\/192.168.168.198\/DIAL\/icon\/com.sony.dtv.screnmirroring.com.screnmirroring.com.StartScreenMirroringHomeActivity.png"},{"title":"Video","uri":"com.sony.dtv.com.sony.dtv.osat.video.com.sonyericsson.video.browser.BrowserActivity","icon":"http:\/\/192.168.168.198\/DIAL\/icon\/com.sony.dtv.com.sony.dtv.osat.video.com.sonyericsson.video.browser.BrowserActivity.png"},{"title":"Internet Browser","uri":"com.sony.dtv.com.opera.sdk.example.com.opera.sdk.example.SonyBrowserUiActivity","icon":"http:\/\/192.168.168.198\/DIAL\/icon\/com.sony.dtv.com.opera.sdk.example.com.opera.sdk.example.SonyBrowserUiActivity.png"},{"title":"Crackle","uri":"com.sony.dtv.com.crackle.androidtv.com.crackle.androidtv.CrackleBootActivity","icon":"http:\/\/192.168.168.198\/DIAL\/icon\/com.sony.dtv.com.crackle.androidtv.com.crackle.androidtv.CrackleBootActivity.png"},{"title":"Play Games","uri":"com.sony.dtv.com.google.android.play.games.com.google.android.gms.games.pano.activity.MainPanoActivity","icon":"http:\/\/192.168.168.198\/DIAL\/icon\/com.sony.dtv.com.google.android.play.games.com.google.android.gms.games.pano.activity.MainPanoActivity.png"},{"title":"Netflix","uri":"com.sony.dtv.com.netflix.ninja.com.netflix.ninja.MainActivity","icon":"http:\/\/192.168.168.198\/DIAL\/icon\/com.sony.dtv.com.netflix.ninja.com.netflix.ninja.MainActivity.png"},{"title":"Kodi","uri":"com.sony.dtv.org.xbmc.kodi.org.xbmc.kodi.Splash","icon":"http:\/\/192.168.168.198\/DIAL\/icon\/com.sony.dtv.org.xbmc.kodi.org.xbmc.kodi.Splash.png"},{"title":"Foxtel Play","uri":"com.sony.dtv.sonyselect-e9a19035bce66679973b5149f973abc708ad5cdb","icon":"https:\/\/content.erabu.sonymobile.com\/icons\/7928caf6-b96a-4dc5-8fd0-21a64f19dcac.png"},{"title":"Stan","uri":"com.sony.dtv.sonyselect-28bf30a6a7c8318359b76157c6123d5de91a26ee","icon":"https:\/\/content.erabu.sonymobile.com\/icons\/f51d1fac-6c05-46c4-8031-bba5cf5660c8.png"},{"title":"ABC iView","uri":"com.sony.dtv.sonyselect-436bfc9b5bd4e592539a08096f1341bcc3ca9604","icon":"https:\/\/content.erabu.sonymobile.com\/icons\/a5d0fed8-9f47-4479-8f61-3e464ef650db.png"},{"title":"SBS on Demand","uri":"com.sony.dtv.sonyselect-2e7fc758efc5f086a750ae20011633dbe25935cc","icon":"https:\/\/content.erabu.sonymobile.com\/icons\/93ce67ff-467c-4410-8bfe-2c1896c30e0c.png"},{"title":"9Now","uri":"com.sony.dtv.sonyselect-405f43aecbe92073ac3913eaa7500778e0cc8d3a","icon":"https:\/\/content.erabu.sonymobile.com\/icons\/b79f8b8b-82a4-46b9-b5a4-c4b426ae5044.png"},{"title":"tenplay","uri":"com.sony.dtv.sonyselect-5a6a8ea601ee32ec482e251d176641048f96afbf","icon":"https:\/\/content.erabu.sonymobile.com\/icons\/17bdeccd-36cb-43db-ab07-75ddd059fe26.png"},{"title":"Quickflix","uri":"com.sony.dtv.sonyselect-d7e0d74abb5fd8bc9dac138794987899dd8d34c5","icon":"https:\/\/content.erabu.sonymobile.com\/icons\/184ebc56-4f3f-400d-9a6f-1520d4b74a4c.png"},{"title":"500px","uri":"com.sony.dtv.sonyselect-e20c74d9c4c824d97dfa921dfa107f966bd3947f","icon":"https:\/\/content.erabu.sonymobile.com\/icons\/08bbabc3-e8e0-4620-891a-3b8d9e80f8bb.png"},{"title":"Digital Concert Hall","uri":"com.sony.dtv.ceb-5114","icon":"http:\/\/sonybivstatic-a.akamaihd.net\/bivl-ww\/static\/service\/icons\/service_55\/sub_1\/x180.png"},{"title":"Activate Enhanced Features","uri":"com.sony.dtv.ceb-4834","icon":"http:\/\/sonybivstatic-a.akamaihd.net\/bivl-ww\/static\/service\/icons\/service_0\/h.png"},{"title":"Garage Entertainment","uri":"com.sony.dtv.ceb-3343","icon":"http:\/\/sonybivstatic-a.akamaihd.net\/bivl-ww\/static\/service\/icons\/service_314\/x180.png"},{"title":"Service will end on 09-6-2017","uri":"com.sony.dtv.ceb-3661","icon":"http:\/\/sonybivstatic-a.akamaihd.net\/bivl-ww\/static\/service\/icons\/service_423\/h.png"},{"title":"KiddoVid","uri":"com.sony.dtv.ceb-4278","icon":"http:\/\/sonybivstatic-a.akamaihd.net\/bivl-ww\/static\/service\/icons\/service_493\/h.png"},{"title":"Service will end on 09-6-2017","uri":"com.sony.dtv.ceb-4276","icon":"http:\/\/sonybivstatic-a.akamaihd.net\/bivl-ww\/static\/service\/icons\/service_492\/x180.png"},{"title":"Funny For Free","uri":"com.sony.dtv.ceb-4282","icon":"http:\/\/sonybivstatic-a.akamaihd.net\/bivl-ww\/static\/service\/icons\/service_494\/x180.png"},{"title":"iFood.tv","uri":"com.sony.dtv.ceb-3499","icon":"http:\/\/sonybivstatic-a.akamaihd.net\/bivl-ww\/static\/service\/icons\/service_384\/x180.png"},{"title":"Meteonews TV","uri":"com.sony.dtv.ceb-5216","icon":"http:\/\/sonybivstatic-a.akamaihd.net\/bivl-ww\/static\/service\/icons\/service_382\/x180.png"},{"title":"SKAI.gr","uri":"com.sony.dtv.ceb-4506","icon":"http:\/\/sonybivstatic-a.akamaihd.net\/bivl-ww\/static\/service\/icons\/service_185\/h.png"},{"title":"euronews","uri":"com.sony.dtv.ceb-4420","icon":"http:\/\/sonybivstatic-a.akamaihd.net\/bivl-ww\/static\/service\/icons\/service_150\/h.png"},{"title":"uStudio","uri":"com.sony.dtv.ceb-4386","icon":"http:\/\/sonybivstatic-a.akamaihd.net\/bivl-ww\/static\/service\/icons\/service_109\/h.png"}]],"id":10}


{"method":"getRemoteControllerInfo","params":[],"id":10, "version":"1.0"}

Code: Select all
{"result":[{"bundled":true,"type":"IR_REMOTE_BUNDLE_TYPE_AUS"},[{"name":"Num1","value":"AAAAAQAAAAEAAAAAAw=="},{"name":"Num2","value":"AAAAAQAAAAEAAAABAw=="},{"name":"Num3","value":"AAAAAQAAAAEAAAACAw=="},{"name":"Num4","value":"AAAAAQAAAAEAAAADAw=="},{"name":"Num5","value":"AAAAAQAAAAEAAAAEAw=="},{"name":"Num6","value":"AAAAAQAAAAEAAAAFAw=="},{"name":"Num7","value":"AAAAAQAAAAEAAAAGAw=="},{"name":"Num8","value":"AAAAAQAAAAEAAAAHAw=="},{"name":"Num9","value":"AAAAAQAAAAEAAAAIAw=="},{"name":"Num0","value":"AAAAAQAAAAEAAAAJAw=="},{"name":"Num11","value":"AAAAAQAAAAEAAAAKAw=="},{"name":"Num12","value":"AAAAAQAAAAEAAAALAw=="},{"name":"Enter","value":"AAAAAQAAAAEAAAALAw=="},{"name":"GGuide","value":"AAAAAQAAAAEAAAAOAw=="},{"name":"ChannelUp","value":"AAAAAQAAAAEAAAAQAw=="},{"name":"ChannelDown","value":"AAAAAQAAAAEAAAARAw=="},{"name":"VolumeUp","value":"AAAAAQAAAAEAAAASAw=="},{"name":"VolumeDown","value":"AAAAAQAAAAEAAAATAw=="},{"name":"Mute","value":"AAAAAQAAAAEAAAAUAw=="},{"name":"TvPower","value":"AAAAAQAAAAEAAAAVAw=="},{"name":"Audio","value":"AAAAAQAAAAEAAAAXAw=="},{"name":"MediaAudioTrack","value":"AAAAAQAAAAEAAAAXAw=="},{"name":"Tv","value":"AAAAAQAAAAEAAAAkAw=="},{"name":"Input","value":"AAAAAQAAAAEAAAAlAw=="},{"name":"TvInput","value":"AAAAAQAAAAEAAAAlAw=="},{"name":"TvAntennaCable","value":"AAAAAQAAAAEAAAAqAw=="},{"name":"WakeUp","value":"AAAAAQAAAAEAAAAuAw=="},{"name":"PowerOff","value":"AAAAAQAAAAEAAAAvAw=="},{"name":"Sleep","value":"AAAAAQAAAAEAAAAvAw=="},{"name":"Right","value":"AAAAAQAAAAEAAAAzAw=="},{"name":"Left","value":"AAAAAQAAAAEAAAA0Aw=="},{"name":"SleepTimer","value":"AAAAAQAAAAEAAAA2Aw=="},{"name":"Analog2","value":"AAAAAQAAAAEAAAA4Aw=="},{"name":"TvAnalog","value":"AAAAAQAAAAEAAAA4Aw=="},{"name":"Display","value":"AAAAAQAAAAEAAAA6Aw=="},{"name":"Jump","value":"AAAAAQAAAAEAAAA7Aw=="},{"name":"PicOff","value":"AAAAAQAAAAEAAAA+Aw=="},{"name":"PictureOff","value":"AAAAAQAAAAEAAAA+Aw=="},{"name":"Teletext","value":"AAAAAQAAAAEAAAA\/Aw=="},{"name":"Video1","value":"AAAAAQAAAAEAAABAAw=="},{"name":"Video2","value":"AAAAAQAAAAEAAABBAw=="},{"name":"AnalogRgb1","value":"AAAAAQAAAAEAAABDAw=="},{"name":"Home","value":"AAAAAQAAAAEAAABgAw=="},{"name":"Exit","value":"AAAAAQAAAAEAAABjAw=="},{"name":"PictureMode","value":"AAAAAQAAAAEAAABkAw=="},{"name":"Confirm","value":"AAAAAQAAAAEAAABlAw=="},{"name":"Up","value":"AAAAAQAAAAEAAAB0Aw=="},{"name":"Down","value":"AAAAAQAAAAEAAAB1Aw=="},{"name":"ClosedCaption","value":"AAAAAgAAAKQAAAAQAw=="},{"name":"Component1","value":"AAAAAgAAAKQAAAA2Aw=="},{"name":"Component2","value":"AAAAAgAAAKQAAAA3Aw=="},{"name":"Wide","value":"AAAAAgAAAKQAAAA9Aw=="},{"name":"EPG","value":"AAAAAgAAAKQAAABbAw=="},{"name":"PAP","value":"AAAAAgAAAKQAAAB3Aw=="},{"name":"TenKey","value":"AAAAAgAAAJcAAAAMAw=="},{"name":"BSCS","value":"AAAAAgAAAJcAAAAQAw=="},{"name":"Ddata","value":"AAAAAgAAAJcAAAAVAw=="},{"name":"Stop","value":"AAAAAgAAAJcAAAAYAw=="},{"name":"Pause","value":"AAAAAgAAAJcAAAAZAw=="},{"name":"Play","value":"AAAAAgAAAJcAAAAaAw=="},{"name":"Rewind","value":"AAAAAgAAAJcAAAAbAw=="},{"name":"Forward","value":"AAAAAgAAAJcAAAAcAw=="},{"name":"DOT","value":"AAAAAgAAAJcAAAAdAw=="},{"name":"Rec","value":"AAAAAgAAAJcAAAAgAw=="},{"name":"Return","value":"AAAAAgAAAJcAAAAjAw=="},{"name":"Blue","value":"AAAAAgAAAJcAAAAkAw=="},{"name":"Red","value":"AAAAAgAAAJcAAAAlAw=="},{"name":"Green","value":"AAAAAgAAAJcAAAAmAw=="},{"name":"Yellow","value":"AAAAAgAAAJcAAAAnAw=="},{"name":"SubTitle","value":"AAAAAgAAAJcAAAAoAw=="},{"name":"CS","value":"AAAAAgAAAJcAAAArAw=="},{"name":"BS","value":"AAAAAgAAAJcAAAAsAw=="},{"name":"Digital","value":"AAAAAgAAAJcAAAAyAw=="},{"name":"Options","value":"AAAAAgAAAJcAAAA2Aw=="},{"name":"Media","value":"AAAAAgAAAJcAAAA4Aw=="},{"name":"Prev","value":"AAAAAgAAAJcAAAA8Aw=="},{"name":"Next","value":"AAAAAgAAAJcAAAA9Aw=="},{"name":"DpadCenter","value":"AAAAAgAAAJcAAABKAw=="},{"name":"CursorUp","value":"AAAAAgAAAJcAAABPAw=="},{"name":"CursorDown","value":"AAAAAgAAAJcAAABQAw=="},{"name":"CursorLeft","value":"AAAAAgAAAJcAAABNAw=="},{"name":"CursorRight","value":"AAAAAgAAAJcAAABOAw=="},{"name":"ShopRemoteControlForcedDynamic","value":"AAAAAgAAAJcAAABqAw=="},{"name":"FlashPlus","value":"AAAAAgAAAJcAAAB4Aw=="},{"name":"FlashMinus","value":"AAAAAgAAAJcAAAB5Aw=="},{"name":"AudioQualityMode","value":"AAAAAgAAAJcAAAB7Aw=="},{"name":"DemoMode","value":"AAAAAgAAAJcAAAB8Aw=="},{"name":"Analog","value":"AAAAAgAAAHcAAAANAw=="},{"name":"Mode3D","value":"AAAAAgAAAHcAAABNAw=="},{"name":"DigitalToggle","value":"AAAAAgAAAHcAAABSAw=="},{"name":"DemoSurround","value":"AAAAAgAAAHcAAAB7Aw=="},{"name":"*AD","value":"AAAAAgAAABoAAAA7Aw=="},{"name":"AudioMixUp","value":"AAAAAgAAABoAAAA8Aw=="},{"name":"AudioMixDown","value":"AAAAAgAAABoAAAA9Aw=="},{"name":"PhotoFrame","value":"AAAAAgAAABoAAABVAw=="},{"name":"Tv_Radio","value":"AAAAAgAAABoAAABXAw=="},{"name":"SyncMenu","value":"AAAAAgAAABoAAABYAw=="},{"name":"Hdmi1","value":"AAAAAgAAABoAAABaAw=="},{"name":"Hdmi2","value":"AAAAAgAAABoAAABbAw=="},{"name":"Hdmi3","value":"AAAAAgAAABoAAABcAw=="},{"name":"Hdmi4","value":"AAAAAgAAABoAAABdAw=="},{"name":"TopMenu","value":"AAAAAgAAABoAAABgAw=="},{"name":"PopUpMenu","value":"AAAAAgAAABoAAABhAw=="},{"name":"OneTouchTimeRec","value":"AAAAAgAAABoAAABkAw=="},{"name":"OneTouchView","value":"AAAAAgAAABoAAABlAw=="},{"name":"DUX","value":"AAAAAgAAABoAAABzAw=="},{"name":"FootballMode","value":"AAAAAgAAABoAAAB2Aw=="},{"name":"iManual","value":"AAAAAgAAABoAAAB7Aw=="},{"name":"Netflix","value":"AAAAAgAAABoAAAB8Aw=="},{"name":"Assists","value":"AAAAAgAAAMQAAAA7Aw=="},{"name":"FeaturedApp","value":"AAAAAgAAAMQAAABEAw=="},{"name":"FeaturedAppVOD","value":"AAAAAgAAAMQAAABFAw=="},{"name":"GooglePlay","value":"AAAAAgAAAMQAAABGAw=="},{"name":"ActionMenu","value":"AAAAAgAAAMQAAABLAw=="},{"name":"Help","value":"AAAAAgAAAMQAAABNAw=="},{"name":"TvSatellite","value":"AAAAAgAAAMQAAABOAw=="},{"name":"WirelessSubwoofer","value":"AAAAAgAAAMQAAAB+Aw=="}]],"id":10}


{"id":2,"method":"getVersions","version":"1.0","params":[]}
{"result":[["1.0","1.1"]],"id":2}


{"id":3,"method":"getMethodTypes","version":"1.1","params":["1.1"]}
{"results":[["getCurrentTime",[],["{\"dateTime\":\"string\", \"timeZoneOffsetMinute\":\"int\", \"dstOffsetMinute\":\"int\"}"],"1.1"],["setLEDIndicatorStatus",["{\"mode\":\"string\", \"status\":\"string\"}"],[],"1.1"]],"id":3}

{"id":4,"method":"getMethodTypes","version":"1.0","params":["1.0"]}
Code: Select all
{"results":[["getCurrentTime",[],["string"],"1.0"],["getDeviceMode",["{\"value\":\"string\"}"],["{\"isOn\":\"bool\"}"],"1.0"],["getInterfaceInformation",[],["{\"productCategory\":\"string\", \"productName\":\"string\", \"modelName\":\"string\", \"serverName\":\"string\", \"interfaceVersion\":\"string\"}"],"1.0"],["getLEDIndicatorStatus",[],["{\"mode\":\"string\", \"status\":\"string\"}"],"1.0"],["getNetworkSettings",["{\"netif\":\"string\"}"],["{\"netif\":\"string\", \"hwAddr\":\"string\", \"ipAddrV4\":\"string\", \"ipAddrV6\":\"string\", \"netmask\":\"string\", \"gateway\":\"string\", \"dns\":\"string*\"}*"],"1.0"],["getPowerSavingMode",[],["{\"mode\":\"string\"}"],"1.0"],["getPowerStatus",[],["{\"status\":\"string\"}"],"1.0"],["getRemoteControllerInfo",[],["{\"bundled\":\"bool\", \"type\":\"string\"}","{\"name\":\"string\", \"value\":\"string\"}*"],"1.0"],["getRemoteDeviceSettings",["{\"target\":\"string\"}"],["{\"target\":\"string\", \"currentValue\":\"string\", \"deviceUIInfo\":\"string\", \"title\":\"string\", \"titleTextID\":\"string\", \"type\":\"string\", \"isAvailable\":\"Boolean\", \"candidate\":\"GeneralSettingsCandidate[]\"}*"],"1.0"],["getSystemInformation",[],["{\"product\":\"string\", \"region\":\"string\", \"language\":\"string\", \"model\":\"string\", \"serial\":\"string\", \"macAddr\":\"string\", \"name\":\"string\", \"generation\":\"string\", \"area\":\"string\", \"cid\":\"string\"}"],"1.0"],["getSystemSupportedFunction",[],["{\"option\":\"string\", \"value\":\"string\"}*"],"1.0"],["getWolMode",[],["{\"enabled\":\"bool\"}"],"1.0"],["requestReboot",[],[],"1.0"],["setDeviceMode",["{\"value\":\"string\", \"isOn\":\"bool\"}"],[],"1.0"],["setLanguage",["{\"language\":\"string\"}"],[],"1.0"],["setPowerSavingMode",["{\"mode\":\"string\"}"],[],"1.0"],["setPowerStatus",["{\"status\":\"bool\"}"],[],"1.0"],["setWolMode",["{\"enabled\":\"bool\"}"],[],"1.0"],["getMethodTypes",["string"],["string","string*","string*","string"],"1.0"],["getVersions",[],["string*"],"1.0"]],"id":4}



http://mendelonline.be/sony/sony.txt helped me to figure some of this out, and http://forums.whirlpool.net.au/archive/ ... #r53870078 was helpful too, just in case it's useful to you too.
blaher
Experienced User
 
Posts: 463
Joined: Thu Nov 17, 2011 1:27 am

PreviousNext

Return to Plugin Support

Who is online

Users browsing this forum: No registered users and 3 guests