Announcement

Collapse
No announcement yet.

SonyTV plugin - Beta Testing

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • SonyTV plugin - Beta Testing

    The SonyTV plugin is designed to allow HomeSeer to control and monitor Sony TVs using the "Sony Simple IP Protocol for BRAVIA"

    Please read the User Guide for detailed description

    Installation:
    • download the zip attached to this post and save it in the HS3 application folder in /Updates3/Zips
    • download the file named updater_override.txt attached to this post and save it in the HS3 application folder.
    • go to the "PLUG-INS > Manage" page and click the "Update Listing" button, then click "Additional interfaces > Test Plugin" and check the SonyTV line.
    • click the "Download and Install" button
    • enable the plugin from the "PLUG-INS > Manage" page
    • delete updater_override.txt from your HS3 application folder


    Changes to version 3.0.0.6
    - Fixed problem with port which was hard coded to 20060

    Changes to version 3.0.0.5
    - Fixed User Guide link
    - Added instance name as location1 for devices.
    Attached Files
    Last edited by spud; March 17th, 2018, 04:32 PM.

  • #2

    Comment


    • #3
      Originally posted by kideon View Post
      What TVs work on this?
      I'm not 100% sure but I think it's any Sony BRAVIA TV which can connect to your local network through IP.
      All LCD Sony TV are BRAVIA TV since 2005

      I personally tested the plugin on a Sony XBR-49X800E

      Comment


      • #4
        So far, so good. The plugin would not connect to the TV until I restarted HS, but fine after that. I do get one minor frequently recurring error: WARNING Plug-in: SonyTV provided no link for registered link name: User Guide

        Everything seems to work fine, except for switching input to TV - nothing happens. Not sure how to fix that.

        I realize this is just beta, but do you plan provisions for multiple TVs? I have a house full of Sony TVs.

        Thanks for developing this plugin.

        Mark
        Mark

        Hometroller S6 w/ HS3Pro, Way2Call
        BLAB8SS, BL Backup, Easy Trigger, HSTouch, Open Sprinkler, SONOS, Ultra1Wire3, UltraM1G, WeatherXML, Z-Wave

        Comment


        • #5
          Installation and tested: All went well and no issues encountered.
          Suggestions:
          1. Recommend moving Netflix under "inputs"

          Comment


          • #6
            Originally posted by Mark S. View Post
            So far, so good. The plugin would not connect to the TV until I restarted HS, but fine after that. I do get one minor frequently recurring error: WARNING Plug-in: SonyTV provided no link for registered link name: User Guide
            This warning is fixed in version 3.0.0.5

            Originally posted by Mark S. View Post
            Everything seems to work fine, except for switching input to TV - nothing happens. Not sure how to fix that.
            seems to work for me. Do you have an antenna plug to your TV and a few channels that you can receive?
            Please post some debug logs if you can.

            Originally posted by Mark S. View Post
            I realize this is just beta, but do you plan provisions for multiple TVs? I have a house full of Sony TVs.
            You can already do that, go to the PLUG-INS > Manage page then click the green + button on the SonyTV line, enter a name and it will create a new instance for the plug-in. Once you enable this instance a new set of devices and a new config page will be accessible.

            I will add that to the user guide.

            Comment


            • #7
              Originally posted by brientim View Post
              Installation and tested: All went well and no issues encountered.
              Suggestions:
              1. Recommend moving Netflix under "inputs"
              well Netflix is not really treated as an input by the TV, when you watch Netflix the input returned by the TV is "unknown", so the status of the input device would never shows as Netflix.

              Comment


              • #8
                I do have antenna for my TV input, and it works fine via the TV remote control. If I try to change to TV input via the plugin, I get HDMI1 instead. This is the debug from a few input changes (sorry, reverse order):

                Mar-15 9:19:20 PM SonyTV DEBUG Answer message received
                Mar-15 9:19:20 PM SonyTV DEBUG RX:*SAPOWR0000000000000000
                Mar-15 9:19:20 PM SonyTV DEBUG TX:*SEPOWR################
                Mar-15 9:18:33 PM SonyTV DEBUG Notify message received
                Mar-15 9:18:33 PM SonyTV DEBUG RX:*SNPOWR0000000000000000
                Mar-15 9:18:28 PM SonyTV DEBUG Answer message received
                Mar-15 9:18:28 PM SonyTV DEBUG RX:*SAPOWR0000000000000000
                Mar-15 9:18:28 PM SonyTV DEBUG TX:*SCPOWR0000000000000000
                Mar-15 9:18:28 PM Device Control Device: SonyTV Power to Off (0) by/from: CAPI Control Handler
                Mar-15 9:18:20 PM SonyTV DEBUG Answer message received
                Mar-15 9:18:20 PM SonyTV DEBUG RX:*SAINPT0000000000000000
                Mar-15 9:18:19 PM SonyTV DEBUG TX:*SCINPT0000000100000001
                Mar-15 9:18:19 PM Device Control Device: SonyTV Input to HDMI 1 (10001) by/from: CAPI Control Handler
                Mar-15 9:18:13 PM SonyTV DEBUG Notify message received
                Mar-15 9:18:13 PM SonyTV DEBUG RX:*SNINPT0000000100000001
                Mar-15 9:18:10 PM SonyTV DEBUG Answer message received
                Mar-15 9:18:10 PM SonyTV DEBUG RX:*SAINPT0000000000000000
                Mar-15 9:18:10 PM SonyTV DEBUG TX:*SCINPT0000000000000000
                Mar-15 9:18:10 PM Device Control Device: SonyTV Input to TV (0) by/from: CAPI Control Handler
                Mar-15 9:18:03 PM SonyTV DEBUG Notify message received
                Mar-15 9:18:03 PM SonyTV DEBUG RX:*SNINPT0000000100000003
                Mar-15 9:18:00 PM SonyTV DEBUG Answer message received
                Mar-15 9:18:00 PM SonyTV DEBUG RX:*SAINPT0000000000000000
                Mar-15 9:18:00 PM SonyTV DEBUG TX:*SCINPT0000000100000003
                Mar-15 9:18:00 PM Device Control Device: SonyTV Input to HDMI 3 (10003) by/from: CAPI Control Handler
                Mar-15 9:17:56 PM SonyTV DEBUG Answer message received
                Mar-15 9:17:56 PM SonyTV DEBUG RX:*SAINPT0000000000000000
                Mar-15 9:17:56 PM SonyTV DEBUG TX:*SCINPT0000000100000001
                Mar-15 9:17:56 PM Device Control Device: SonyTV Input to HDMI 1 (10001) by/from: CAPI Control Handler
                Mar-15 9:17:48 PM SonyTV DEBUG Notify message received
                Mar-15 9:17:48 PM SonyTV DEBUG RX:*SNINPT0000000100000001
                Mar-15 9:17:45 PM SonyTV DEBUG Answer message received
                Mar-15 9:17:45 PM SonyTV DEBUG RX:*SAINPT0000000000000000
                Mar-15 9:17:45 PM SonyTV DEBUG TX:*SCINPT0000000000000000
                Mar-15 9:17:45 PM Device Control Device: SonyTV Input to TV (0) by/from: CAPI Control Handler
                Mar-15 9:17:43 PM SonyTV DEBUG Notify message received
                Mar-15 9:17:43 PM SonyTV DEBUG RX:*SNINPT0000000100000002
                Mar-15 9:17:39 PM SonyTV DEBUG Answer message received
                Mar-15 9:17:39 PM SonyTV DEBUG RX:*SAINPT0000000000000000
                Mar-15 9:17:39 PM SonyTV DEBUG TX:*SCINPT0000000100000002
                Mar-15 9:17:39 PM Device Control Device: SonyTV Input to HDMI 2 (10002) by/from: CAPI Control Handler
                Mar-15 9:17:23 PM SonyTV DEBUG Notify message received
                Mar-15 9:17:23 PM SonyTV DEBUG RX:*SNPOWR0000000000000001
                Mar-15 9:17:22 PM SonyTV DEBUG Answer message received
                Mar-15 9:17:22 PM SonyTV DEBUG RX:*SAPOWR0000000000000000
                Mar-15 9:17:22 PM SonyTV DEBUG TX:*SCPOWR0000000000000001
                Mar-15 9:17:22 PM Device Control Device: SonyTV Power to On (1) by/from: CAPI Control Handler
                Mark

                Hometroller S6 w/ HS3Pro, Way2Call
                BLAB8SS, BL Backup, Easy Trigger, HSTouch, Open Sprinkler, SONOS, Ultra1Wire3, UltraM1G, WeatherXML, Z-Wave

                Comment


                • #9
                  I added a second instance of the plugin. Again, it would not connect without restarting HS. I can live with that.

                  But interestingly, this second instance has no problem changing to TV input on the second TV. The first TV is still a problem.
                  Mark

                  Hometroller S6 w/ HS3Pro, Way2Call
                  BLAB8SS, BL Backup, Easy Trigger, HSTouch, Open Sprinkler, SONOS, Ultra1Wire3, UltraM1G, WeatherXML, Z-Wave

                  Comment


                  • #10
                    There are different generation of the API and the registration as indicated is an indication of different models.

                    Have you enabled Simple IP Control as detailed in the User Guide?

                    Media Controller can register via the pin for example.



                    https://www.codeproject.com/Articles/875948/SonyAPILib

                    Comment


                    • #11
                      By what means can you control the tv? By voice?
                      Hector
                      ____________________________________
                      Win.2003 OS, HS3
                      BLDSC,BLstat,BLRadar,BLRamdom,BLOccupied
                      BLups,BLrain8,HSTouch,Ultrajones Weatherbug,
                      MyTrigger,ACRF2,W800,Zwave
                      AP800,Honeywell Stat

                      Comment


                      • #12
                        Originally posted by Rotech View Post
                        By what means can you control the tv? By voice?
                        The plugin create some devices (see screenshot in the User Guide) with controls for power, volume, channel, input, etc... that you can use in events.

                        As the volume device is configured as a dimmer and power device as a on/off device, you can control them directly by voice using Alexa or Google Home. As for other devices you can create events to control them by voice too.

                        Comment


                        • #13
                          Would it be possible for the plugin to monitor play/pause/stop state in Android TV apps on a Bravia Android TV? I would like to use it to control, for example, room lighting based on play/pause/stop state of an Amazon Prime or Netflix movie. Given that the API doesn't even return a proper TV state when Netflix is in use, I'm supposing the answer is no.

                          And a follow-on question. If the above isn't possible, do you suppose an android app could be created to push the information from the TV to the HS3? I have no ability to create such a thing but am curious about the possibilities.
                          -Wade

                          Comment


                          • #14
                            Originally posted by cc4005 View Post
                            Would it be possible for the plugin to monitor play/pause/stop state in Android TV apps on a Bravia Android TV? I would like to use it to control, for example, room lighting based on play/pause/stop state of an Amazon Prime or Netflix movie. Given that the API doesn't even return a proper TV state when Netflix is in use, I'm supposing the answer is no.

                            And a follow-on question. If the above isn't possible, do you suppose an android app could be created to push the information from the TV to the HS3? I have no ability to create such a thing but am curious about the possibilities.
                            As far as I know there isn't a common API for play/pause/stop that is used by all Android apps, so neither the plugin nor an Android app can push this information to HS3.

                            Comment


                            • #15
                              Thanks for the reply.
                              -Wade

                              Comment

                              Working...
                              X