Announcement

Collapse
No announcement yet.

DirecTV Plug-In

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

    #16
    Check this out...

    http://www.mythtv.org/wiki/Controlli..._USB_or_Serial

    This has lots of good info, even for the boxes.

    Here is the windows API for dtv.

    http://www.pdp8.net/directv/directv.shtml

    Here is the IP control API from cedia this year...
    http://f1.grp.yahoofs.com/v1/gMMUTRj...20Set-V1.0.pdf
    Last edited by Dafunktyfunk; December 24, 2010, 11:05 AM.
    Transitioning to HS3Pro .298 - WinXPEmbedded

    Hometroller S3 Pro - WinXPEmbedded - HSP 2.5.0.81 - BLStat - HSPhone - HSTouch Srvr 1.0.0.73 - Touchpad - BLLan - BLOccupied - DSC Plug 2.0.0.14 - BLStat .38

    Comment


      #17
      Originally posted by lpitman View Post
      I will have to research...what I need is to have an API published from DirecTV that shows the command structure for internet connect.
      Hey Lpitman,

      Did what I post above help at all?

      These are the new API's direct from DirecTV from Cedia this year. I would love to see your pluggie..

      Crap just noticed that the links are broken...

      Here is the API from Cedia
      Attached Files
      Transitioning to HS3Pro .298 - WinXPEmbedded

      Hometroller S3 Pro - WinXPEmbedded - HSP 2.5.0.81 - BLStat - HSPhone - HSTouch Srvr 1.0.0.73 - Touchpad - BLLan - BLOccupied - DSC Plug 2.0.0.14 - BLStat .38

      Comment


        #18
        Originally posted by Dafunktyfunk View Post
        Hey Lpitman,

        Did what I post above help at all?

        These are the new API's direct from DirecTV from Cedia this year. I would love to see your pluggie..

        Crap just noticed that the links are broken...

        Here is the API from Cedia
        Yes, I will study this document, the previous posts were not very useful, the links worked for me but the info was not API specific.
        -Larry

        A member of "The HA Pioneer Group", MyWebSite

        Plugins:
        VWS, AB8SS, lrpSpeak, Calendar, Arduino, Harmony, BlueIris, Sprinklers, ZipBackup...

        Hardware:
        Intel NUC8i7BEH1 running Windows 10 Pro headless, HS3 Pro, Plex running on Synology dual High Availability DS-1815+ NAS (24Tb each), Synology Surveillance Station running on DS-416 Slim (8Tb), Samsung SmartThings, Google Home, Alexa, Hubitat Elevation, ZNET, Ubiquiti UniFi Network, Davis Vantage Pro II Weather Station. Whole house speaker system using a couple of AB8SS switches. Vantage Pro II Weather Station, Rain8Net Sprinklers, Hubitat Elevation, Google Home, Alexa, DSC Security System, Ubiquiti UniFi Network.

        Comment


          #19
          I'm still having problems getting the plugin to work. I followed the innstructions above.

          The dtvcon.exe works on COM3, but the plugin does nothing on the same port.

          Any more sugestions?

          A snippet of the debug log is below:
          1/16/2011 5:20:40 PM~Entering ShutdownIO()...
          1/16/2011 5:20:40 PM~Entering CloseComPort()....
          1/16/2011 5:20:40 PM~Entering RegisterCallback()...
          1/16/2011 5:20:40 PM~Entering InitIO()....
          1/16/2011 5:20:40 PM~WriteDebugLog()- Log directory already exists.
          1/16/2011 5:20:40 PM~About to read config file entries
          1/16/2011 5:20:40 PM~Entering LoadConfigSettings()....
          1/16/2011 5:20:40 PM~***************************************
          1/16/2011 5:20:40 PM~DirecTV Debug Enabled.
          1/16/2011 5:20:40 PM~DirecTV Debug Logging to AppDirPath\Logs\DirecTV.log.
          1/16/2011 5:20:40 PM~DirecTV HS-Version: 2.4.0.11
          1/16/2011 5:20:40 PM~DirecTV Plug-In Version: 2.2.0.12
          1/16/2011 5:20:40 PM~***************************************
          1/16/2011 5:20:40 PM~Entering InitHW()....
          1/16/2011 5:20:40 PM~Entering...InitDevices().
          1/16/2011 5:20:40 PM~Entering...EnumerateDevices().
          1/16/2011 5:20:40 PM~Found a plug-in device at (1
          1/16/2011 5:20:40 PM~Entering...CreateDevices().
          1/16/2011 5:20:40 PM~Entering InitCommon()....
          1/16/2011 5:20:40 PM~Entering InitDirecTV()....
          1/16/2011 5:20:40 PM~Entering ComPort()....
          1/16/2011 5:20:40 PM~InitIO()->Initialized DirecTV Plugin successfully
          1/16/2011 5:20:51 PM~GenPage called with: /directv_control
          1/16/2011 5:20:57 PM~Entering...PagePut()
          1/16/2011 5:20:57 PM~GenPage called with: /directv_control
          1/16/2011 5:21:00 PM~Entering...PagePut()
          1/16/2011 5:21:00 PM~GenPage called with: /directv_control
          1/16/2011 5:21:03 PM~Entering...PagePut()
          1/16/2011 5:21:03 PM~GenPage called with: /directv_control
          1/16/2011 5:23:11 PM~clsWebLink1--->GenPage() called with: /directv_config
          1/16/2011 5:24:05 PM~Entering ShutdownIO()...
          1/16/2011 5:24:05 PM~Entering CloseComPort()....
          1/16/2011 5:26:11 PM~***************************************
          1/16/2011 5:26:11 PM~DirecTV Debug Enabled.
          1/16/2011 5:26:11 PM~DirecTV Debug Logging to AppDirPath\Logs\DirecTV.log.
          1/16/2011 5:26:11 PM~DirecTV HS-Version: 2.4.0.11
          1/16/2011 5:26:11 PM~DirecTV Plug-In Version: 2.2.0.12
          1/16/2011 5:26:11 PM~***************************************
          1/16/2011 5:26:11 PM~Entering InitHW()....
          1/16/2011 5:26:11 PM~Entering...InitDevices().
          1/16/2011 5:26:11 PM~Entering...EnumerateDevices().
          1/16/2011 5:26:11 PM~Found a plug-in device at (1
          1/16/2011 5:26:11 PM~Entering...CreateDevices().
          1/16/2011 5:26:11 PM~Entering InitCommon()....
          1/16/2011 5:26:11 PM~Entering InitDirecTV()....
          1/16/2011 5:26:11 PM~Entering ComPort()....
          1/16/2011 5:26:11 PM~InitIO()->Initialized DirecTV Plugin successfully
          1/16/2011 5:26:58 PM~GenPage called with: /directv_control
          1/16/2011 5:27:05 PM~Entering...PagePut()
          1/16/2011 5:27:05 PM~GenPage called with: /directv_control
          1/16/2011 5:27:11 PM~Entering...PagePut()
          1/16/2011 5:27:11 PM~GenPage called with: /directv_control
          1/16/2011 5:27:25 PM~Entering...PagePut()
          1/16/2011 5:27:25 PM~GenPage called with: /directv_control
          1/16/2011 5:27:27 PM~Entering...PagePut()
          1/16/2011 5:27:27 PM~GenPage called with: /directv_control
          1/16/2011 5:27:38 PM~Entering...PagePut()
          1/16/2011 5:27:38 PM~GenPage called with: /directv_control
          1/16/2011 5:27:46 PM~Entering...PagePut()
          1/16/2011 5:27:46 PM~GenPage called with: /directv_control
          1/16/2011 5:27:54 PM~GenPage called with: /directv_control
          Mark

          Comment


            #20
            I need the DirecTV.log file...it is in the log directory and is verbose straight from the plug-in.

            If you can attach that here, I can use it to diagnose your issue.
            -Larry

            A member of "The HA Pioneer Group", MyWebSite

            Plugins:
            VWS, AB8SS, lrpSpeak, Calendar, Arduino, Harmony, BlueIris, Sprinklers, ZipBackup...

            Hardware:
            Intel NUC8i7BEH1 running Windows 10 Pro headless, HS3 Pro, Plex running on Synology dual High Availability DS-1815+ NAS (24Tb each), Synology Surveillance Station running on DS-416 Slim (8Tb), Samsung SmartThings, Google Home, Alexa, Hubitat Elevation, ZNET, Ubiquiti UniFi Network, Davis Vantage Pro II Weather Station. Whole house speaker system using a couple of AB8SS switches. Vantage Pro II Weather Station, Rain8Net Sprinklers, Hubitat Elevation, Google Home, Alexa, DSC Security System, Ubiquiti UniFi Network.

            Comment


              #21
              Originally posted by lpitman View Post
              I need the DirecTV.log file...it is in the log directory and is verbose straight from the plug-in.

              If you can attach that here, I can use it to diagnose your issue.
              I thought I did that in the post above.
              Mark

              Comment


                #22
                Hey Larry, just checking in to see how it oes with the ip control of the new h24 is going?
                Transitioning to HS3Pro .298 - WinXPEmbedded

                Hometroller S3 Pro - WinXPEmbedded - HSP 2.5.0.81 - BLStat - HSPhone - HSTouch Srvr 1.0.0.73 - Touchpad - BLLan - BLOccupied - DSC Plug 2.0.0.14 - BLStat .38

                Comment


                  #23
                  Originally posted by Mark S. View Post
                  I thought I did that in the post above.
                  you posted a clip from the HS log not the file in the log directory NAMED DirecTV.log
                  -Larry

                  A member of "The HA Pioneer Group", MyWebSite

                  Plugins:
                  VWS, AB8SS, lrpSpeak, Calendar, Arduino, Harmony, BlueIris, Sprinklers, ZipBackup...

                  Hardware:
                  Intel NUC8i7BEH1 running Windows 10 Pro headless, HS3 Pro, Plex running on Synology dual High Availability DS-1815+ NAS (24Tb each), Synology Surveillance Station running on DS-416 Slim (8Tb), Samsung SmartThings, Google Home, Alexa, Hubitat Elevation, ZNET, Ubiquiti UniFi Network, Davis Vantage Pro II Weather Station. Whole house speaker system using a couple of AB8SS switches. Vantage Pro II Weather Station, Rain8Net Sprinklers, Hubitat Elevation, Google Home, Alexa, DSC Security System, Ubiquiti UniFi Network.

                  Comment


                    #24
                    Originally posted by Dafunktyfunk View Post
                    Hey Larry, just checking in to see how it oes with the ip control of the new h24 is going?
                    Looking at new API...but it looks more like web based calls to on board web server...still need to investigate further...my knowledge of JAVA and ASP are limited.
                    -Larry

                    A member of "The HA Pioneer Group", MyWebSite

                    Plugins:
                    VWS, AB8SS, lrpSpeak, Calendar, Arduino, Harmony, BlueIris, Sprinklers, ZipBackup...

                    Hardware:
                    Intel NUC8i7BEH1 running Windows 10 Pro headless, HS3 Pro, Plex running on Synology dual High Availability DS-1815+ NAS (24Tb each), Synology Surveillance Station running on DS-416 Slim (8Tb), Samsung SmartThings, Google Home, Alexa, Hubitat Elevation, ZNET, Ubiquiti UniFi Network, Davis Vantage Pro II Weather Station. Whole house speaker system using a couple of AB8SS switches. Vantage Pro II Weather Station, Rain8Net Sprinklers, Hubitat Elevation, Google Home, Alexa, DSC Security System, Ubiquiti UniFi Network.

                    Comment


                      #25
                      Originally posted by lpitman View Post
                      Looking at new API...but it looks more like web based calls to on board web server...still need to investigate further...my knowledge of JAVA and ASP are limited.
                      Excellent! Please keep up the great work!
                      Transitioning to HS3Pro .298 - WinXPEmbedded

                      Hometroller S3 Pro - WinXPEmbedded - HSP 2.5.0.81 - BLStat - HSPhone - HSTouch Srvr 1.0.0.73 - Touchpad - BLLan - BLOccupied - DSC Plug 2.0.0.14 - BLStat .38

                      Comment


                        #26
                        Originally posted by lpitman View Post
                        you posted a clip from the HS log not the file in the log directory NAMED DirecTV.log
                        No, it is the DirecTV log. Nevertheless, I have attached the whole file here.

                        Again, the dtvcon program works fine on the same COM port, but the HS plugin does nothing.

                        The only error I see in the HS log is when I try to change the channel:
                        DirecTV Error~!~Exception error in PagePut()-->For-Next Loop.
                        Attached Files
                        Mark

                        Comment


                          #27
                          Strange, because the Log does not look complete...I will investigate why it is not being logged. The log should be giving me clues from every routine contained in the plug-in, to aid in troubleshooting issues.
                          -Larry

                          A member of "The HA Pioneer Group", MyWebSite

                          Plugins:
                          VWS, AB8SS, lrpSpeak, Calendar, Arduino, Harmony, BlueIris, Sprinklers, ZipBackup...

                          Hardware:
                          Intel NUC8i7BEH1 running Windows 10 Pro headless, HS3 Pro, Plex running on Synology dual High Availability DS-1815+ NAS (24Tb each), Synology Surveillance Station running on DS-416 Slim (8Tb), Samsung SmartThings, Google Home, Alexa, Hubitat Elevation, ZNET, Ubiquiti UniFi Network, Davis Vantage Pro II Weather Station. Whole house speaker system using a couple of AB8SS switches. Vantage Pro II Weather Station, Rain8Net Sprinklers, Hubitat Elevation, Google Home, Alexa, DSC Security System, Ubiquiti UniFi Network.

                          Comment


                            #28
                            Larry,

                            Just checking in on the progress of the IP connectivity. I just got a new HR23-700 and would love to get the plug-in working with it. I know the eithernet port is there, but not sure if it has a USB or serial (I'm not at home now). Do you happen to know if others have gotten to work with this box?

                            Thanks!

                            -John

                            Comment


                              #29
                              John...this is still pretty rough...but give it a try...remember it is BETA.
                              Attached Files
                              -Larry

                              A member of "The HA Pioneer Group", MyWebSite

                              Plugins:
                              VWS, AB8SS, lrpSpeak, Calendar, Arduino, Harmony, BlueIris, Sprinklers, ZipBackup...

                              Hardware:
                              Intel NUC8i7BEH1 running Windows 10 Pro headless, HS3 Pro, Plex running on Synology dual High Availability DS-1815+ NAS (24Tb each), Synology Surveillance Station running on DS-416 Slim (8Tb), Samsung SmartThings, Google Home, Alexa, Hubitat Elevation, ZNET, Ubiquiti UniFi Network, Davis Vantage Pro II Weather Station. Whole house speaker system using a couple of AB8SS switches. Vantage Pro II Weather Station, Rain8Net Sprinklers, Hubitat Elevation, Google Home, Alexa, DSC Security System, Ubiquiti UniFi Network.

                              Comment


                                #30
                                Larry, thanks for the beta. I thought I'd share my results... My HR23 does connect and the on/off"power" device does toggle the STB on and off. The status of the HS devices is not accurate, even the Power device which does work when controlling the power, is not reflecting any change (i.e. just show off). Since my STB is not in the drop down on the config page, I'm not sure what impact that may have on the fuctionality. Let me know if you'd like me to test anything or if I can help in anyway...

                                -John

                                Comment

                                Working...
                                X