csdozier / device-pioneer-vsx

Smartthings Device Type for Pioneer VSX 1130/1124 Receivers
MIT License
16 stars 10 forks source link

VSX-1131 #1

Open jthacker48 opened 7 years ago

jthacker48 commented 7 years ago

I was excited to find your this device handler because I assumed it was a long shot to find any smartthings integration. I just got the VXS-1131 delivered yesterday. Do you think this might work for that model as well? Where were you able to find the command information for your receiver? Mine only has the basic manual and doesn't offer any level of detail on network functionality other than connecting to the network.

csdozier commented 7 years ago

It likely will work for the VSX-1131, but I don't know for sure. It seems Pioneer has keep portions of the remote control API the same over the years. For the development, I used a combination of this manual: http://www.pioneerelectronics.com/StaticFiles/PUSA/Files/Home%20Custom%20Install/VSX-1120-K-RS232.PDF and decoding the commands send by the android app (mostly for the HDZONE which was not in manual)

fahim- commented 7 years ago

@jthacker48 did you try this with your 1131?

popwarfour commented 7 years ago

Trying to setup for my 1131. I'm new to smarthings, where do I get the appID and deviceID?

Is the ip address I enter in the smartthings app my public ip? And I should setup port forwarding to my machine running the python script?

fahim- commented 7 years ago

This won't work with the 1131, because the API was changed for this receiver. The newer receivers now use an API which is more similar to Onkyo API than the older Pioneer API.

csdozier commented 7 years ago

Fabir, Is there any documentation on the API for the 1131? Maybe I can update .

On Wed, Jun 14, 2017 at 9:58 AM Fahim Sabir notifications@github.com wrote:

This won't work with the 1131, because the API was changed for this receiver. The newer receivers now use an API which is more similar to Onkyo API than the older Pioneer API.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/csdozier/device-pioneer-vsx/issues/1#issuecomment-308439663, or mute the thread https://github.com/notifications/unsubscribe-auth/ANJf9wUEu3gkNvbG3mrl2Utd90oDOTSpks5sD-cGgaJpZM4LE1Vp .

fahim- commented 7 years ago

https://www.snapav.com/wcsstore/ExtendedSitesCatalogAssetStore/attachments/documents/Pioneer/ManualsAndGuides/Pioneer%20Serial%20AVR_101P%20Protocol.xlsx

I built something basic (turn on/turn off/change volume) for this in node.js using this guide.

csdozier commented 7 years ago

Thanks I'll look in to this next week, it seems like I can modify the current code to work with this API. I can't test it though.

On Wed, Jun 14, 2017 at 10:31 AM Fahim Sabir notifications@github.com wrote:

https://www.snapav.com/wcsstore/ExtendedSitesCatalogAssetStore/attachments/documents/Pioneer/ManualsAndGuides/Pioneer%20Serial%20AVR_101P%20Protocol.xlsx

I built something basic (turn on/turn off/change volume) for this in node.js using this guide.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/csdozier/device-pioneer-vsx/issues/1#issuecomment-308449650, or mute the thread https://github.com/notifications/unsubscribe-auth/ANJf9x7PgpCLCad0dayqQ2rAN9yG7r5Lks5sD-6fgaJpZM4LE1Vp .

csdozier commented 7 years ago

Ok Ive added a new file based that should work with 1131. I don't have the receiver, so I cant really test it.

  1. Edit vsxproxysrvr.cfg to set the receiver IP address under [receiver] host=
  2. python vsxproxysrvr_eiscp.py

Ill work on some instructions on how to get the app id and such. This guide goes over some of the steps: https://developer.ibm.com/recipes/tutorials/sending-command-to-devices-with-a-switch-capability-to-turn-onoff-based-on-a-rule-or-a-condition/

popwarfour commented 7 years ago

thanks, I'll take a look and see if I can get it working on the 1131

csdozier commented 7 years ago

Check out the instructions on the main page

On Mon, Jun 19, 2017 at 6:25 PM Anders Melen notifications@github.com wrote:

thanks, I'll take a look. Where do I get appID and deviceID from smartthings?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/csdozier/device-pioneer-vsx/issues/1#issuecomment-309590840, or mute the thread https://github.com/notifications/unsubscribe-auth/ANJf93mmGNm79qN41xCgd4FjwsNhyI0qks5sFvVogaJpZM4LE1Vp .

dscarty commented 6 years ago

Works for vsx-1021k thanks. Users should change Smartthings port from 80 to 8102

Heini71 commented 3 years ago

Hi I realise this is a little old but I would like to use this on a VSX933. I keep getting a disconnect error from the server in the log so it will not connect up. Any ideas please? 2021-07-05 08:48:44,855 [vsxproxysrvr_eiscp.py:start_logger()] - INFO - Logging started.. 2021-07-05 08:48:44,855 [vsxproxysrvr_eiscp.py:logger()] - INFO - VSX Proxy Server Starting 2021-07-05 08:48:44,855 [vsxproxysrvr_eiscp.py:logger()] - INFO - Listening for HTTP(S) connections on port: 8033 2021-07-05 08:48:44,855 [vsxproxysrvr_eiscp.py:logger()] - INFO - Connected to xxx.xxx.xxx.xxx:60128 2021-07-05 08:48:44,920 [vsxproxysrvr_eiscp.py:logger()] - INFO - RX < Received: ISCP  + !1NJA2-http://xxx.xxx.xxx.xxx/album_art.cgi 2021-07-05 08:48:44,920 [vsxproxysrvr_eiscp.py:logger()] - INFO - Error, disconnected from xxx.xxx.xxx.xxx:60128 2021-07-05 08:48:44,920 [vsxproxysrvr_eiscp.py:logger()] - INFO - Connection failed, retrying in 10 seconds 2021-07-05 08:48:49,877 [vsxproxysrvr_eiscp.py:logger()] - INFO - TX > PWRQSTN 2021-07-05 08:48:49,877 [vsxproxysrvr_eiscp.py:logger()] - INFO - TX > ISCP   !1PWRQSTN

2021-07-05 08:48:49,970 [vsxproxysrvr_eiscp.py:logger()] - INFO - TX > MVLQSTN 2021-07-05 08:48:49,970 [vsxproxysrvr_eiscp.py:logger()] - INFO - TX > ISCP   !1MVLQSTN

2021-07-05 08:48:50,065 [vsxproxysrvr_eiscp.py:logger()] - INFO - TX > SLIQSTN 2021-07-05 08:48:50,065 [vsxproxysrvr_eiscp.py:logger()] - INFO - TX > ISCP   !1SLIQSTN

2021-07-05 08:48:50,158 [vsxproxysrvr_eiscp.py:logger()] - INFO - TX > ZPWQSTN 2021-07-05 08:48:50,158 [vsxproxysrvr_eiscp.py:logger()] - INFO - TX > ISCP   !1ZPWQSTN

2021-07-05 08:48:50,252 [vsxproxysrvr_eiscp.py:logger()] - INFO - TX > SLZQSTN 2021-07-05 08:48:50,252 [vsxproxysrvr_eiscp.py:logger()] - INFO - TX > ISCP   !1SLZQSTN

2021-07-05 08:48:50,345 [vsxproxysrvr_eiscp.py:logger()] - INFO - TX > ZVLQSTN 2021-07-05 08:48:50,345 [vsxproxysrvr_eiscp.py:logger()] - INFO - TX > ISCP   !1ZVLQSTN

2021-07-05 08:48:50,440 [vsxproxysrvr_eiscp.py:logger()] - INFO - Polling sleeping for 2000 seconds.. 2021-07-05 08:48:55,005 [vsxproxysrvr_eiscp.py:logger()] - INFO - Connected to xxx.xxx.xxx.xxx:60128 2021-07-05 08:48:55,005 [vsxproxysrvr_eiscp.py:logger()] - INFO - TX > ZVLQSTN 2021-07-05 08:48:55,005 [vsxproxysrvr_eiscp.py:logger()] - INFO - TX > ISCP   !1ZVLQSTN

2021-07-05 08:48:55,098 [vsxproxysrvr_eiscp.py:logger()] - INFO - RX < Received: ISCP  + !1NJA2-http://xxx.xxx.xxx.xxx/album_art.cgi 2021-07-05 08:48:55,098 [vsxproxysrvr_eiscp.py:logger()] - INFO - Error, disconnected from xxx.xxx.xxx.xxx:60128 2021-07-05 08:48:55,098 [vsxproxysrvr_eiscp.py:logger()] - INFO - Connection failed, retrying in 10 seconds 2021-07-05 08:49:05,154 [vsxproxysrvr_eiscp.py:logger()] - INFO - Connected to xxx.xxx.xxx.xxx:60128 2021-07-05 08:49:05,233 [vsxproxysrvr_eiscp.py:logger()] - INFO - RX < Received: ISCP  + !1NJA2-http://xxx.xxx.xxx.xxx/album_art.cgi 2021-07-05 08:49:05,233 [vsxproxysrvr_eiscp.py:logger()] - INFO - Error, disconnected from xxx.xxx.xxx.xxx:60128 2021-07-05 08:49:05,233 [vsxproxysrvr_eiscp.py:logger()] - INFO - Connection failed, retrying in 10 seconds