Author Topic: Onkyo Receiver Plugin  (Read 67597 times)

Offline tommylad

  • Sr. Newbie
  • *
  • Posts: 22
  • Karma: +1/-0
Re: Onkyo Receiver Plugin
« Reply #30 on: December 26, 2013, 01:18:43 am »
Hi Julio,

I got my Veralite for xmas and have just started playing around with it. I got the TX-NR616 and I have installed your plugin. I have just filled in the correct IP in the config. I have a few questions:

1. I am able to switch the onkyo off, using your plugin and authomationhd, I have also set up a scene to switch it on, but nothing happens when this is actiavted. Any idea why?

2. I know the macro-bit is in beta, but I still wonder why I dont see my other inputs in the list (like cable or tv etc) I can only see Net, USB, XM etc. It would be nice to have a macro to switch to the hdmi that hosts the xbox etc.

Kind Regards
Tommy
Norway

Offline Sender

  • Hero Member
  • *****
  • Posts: 757
  • Karma: +532/-439
  • Sr. manager of my Vera
Re: Onkyo Receiver Plugin
« Reply #31 on: December 26, 2013, 08:20:28 am »
Hi tommylad. You have to enable the "always" on in the onkyo. Probably you have the wireless adapter? You will have to set up the onkyo that it is in network standby mode. I do not remember the name correctly. But it is not a vera or app issue.
Good firmware is more important than good karma. (and this costed me lots of Karma)

Offline tommylad

  • Sr. Newbie
  • *
  • Posts: 22
  • Karma: +1/-0
Re: Onkyo Receiver Plugin
« Reply #32 on: December 26, 2013, 12:29:14 pm »
You are absolutely right. :) After updating firmware inn my Onkyo that setting had been changed. Okay now. How about  my question regarding macros?

Offline jullio

  • Jr. Member
  • **
  • Posts: 67
  • Karma: +0/-1
Re: Onkyo Receiver Plugin
« Reply #33 on: December 26, 2013, 10:50:10 pm »
Looking at the code, looks like the service for setting the volume level needs to be changed to the appropriate service:

ServiceId: urn:upnp-org:serviceId:RenderingControl
Action: SetVolume
Variable: DesiredVolume

- Garrett

So if I change the volume serviceId to RenderingControll will the Onkyo receiver work in the AutHomationHD app of yours? Also is there anything else I could do to give more functionality in the AutHomationHD App.  Big fan of it.

Only if you are using the custom intent portion of the app like the home screen shortcuts or via tasker. I would still need to add full support of the plugin. However, by using the standard service types, it will make adding support easier and I will not have to create new code to support the custom service id's if I do not have to. That is why it is strongly encourage for plugin developers to use the standard services when ever possible for other developers to integrate it easily into their apps and to keep things clean and simple on the Vera end.

- Garrett

Just wondering what standard service type should be used for selecting input sources?  I am looking at upnp.org and there is no standard service type for selecting input sources.  What upnp service ID's have you implemented in the AutHomationHD app?  Does the device type matter with your app in the Descriptor_xml file?

Offline garrettwp

  • Beta Testers
  • Master Member
  • *****
  • Posts: 6376
  • Karma: +227/-128
  • Vera 3, Lite, ISY994
Re: Onkyo Receiver Plugin
« Reply #34 on: December 27, 2013, 02:00:47 am »
I rely on device types to figure out what type of view / controls to display for the plugin. I create custom views based on these device types and other 3rd party apps do something similar. I would need to add dedicated code to to support the plugin. By using the standard service types defined by upnp and MCV, it will make things much easier to support. Every plugin needs to have a unique device id / type. Here are service types to look into:

AVTransport: urn:upnp-org:serviceId:AVTransport
MediaNavigation1: urn:micasaverde-com:serviceId:MediaNavigation1
RenderingControl: urn:upnp-org:serviceId:RenderingControl
Volume1: urn:micasaverde-com:serviceId:Volume1
InputSelection1: urn:micasaverde-com:serviceId:InputSelection1

Look at the Sonos, Squeezebox, Russound plugins for examples on how to use these. Sonos and Squeezebox would be the better choices to start with.

For the inputs, you would use InputSelection1, the inputs range from input1 - 10 and some discrete inputs. I currently support Input[1-10].

- Garrett

Offline tommylad

  • Sr. Newbie
  • *
  • Posts: 22
  • Karma: +1/-0
Re: Onkyo Receiver Plugin
« Reply #35 on: December 28, 2013, 06:19:52 pm »
I am starting to love my VeraLite and even though I still dont own any z-wave devices I now wake up pc's and switch off Samsung smart TV's. The Onkyo now also works for om/off.

I have zone2 connected, via audio over cat5, to my daughters room. She has small computer speakers connected. So, I set up a scene powering up zone2,net input and choosing her favourite radio program. That worked... however I ended up upsetting (understatement) my wife as the main zone also switched to net and the same station..playing...well..LOUD.  Anyone know why that happens? Normally, when doing this in the Onkyo app, the main zone remains at its default input (pc) when playing around with zone 2 and 3.

Offline nottings

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: Onkyo Receiver Plugin
« Reply #36 on: December 28, 2013, 08:24:00 pm »
The onkyo receiver plugin was working great until today. Now I am getting Lua startup error and "unable to retrieve power status from onkyo".  Any suggestions on where to look to fix this?

Offline jullio

  • Jr. Member
  • **
  • Posts: 67
  • Karma: +0/-1
Re: Onkyo Receiver Plugin
« Reply #37 on: December 28, 2013, 09:35:59 pm »
The onkyo receiver plugin was working great until today. Now I am getting Lua startup error and "unable to retrieve power status from onkyo".  Any suggestions on where to look to fix this?
I am pushing an update right now to fix some errors.  I would just make sure your ip address is in the advanced tab is right.  Your receiver might be turned off or the receiver might have changed ip addresses.

Offline jullio

  • Jr. Member
  • **
  • Posts: 67
  • Karma: +0/-1
Re: Onkyo Receiver Plugin
« Reply #38 on: December 28, 2013, 09:41:12 pm »
I rely on device types to figure out what type of view / controls to display for the plugin. I create custom views based on these device types and other 3rd party apps do something similar. I would need to add dedicated code to to support the plugin. By using the standard service types defined by upnp and MCV, it will make things much easier to support. Every plugin needs to have a unique device id / type. Here are service types to look into:

AVTransport: urn:upnp-org:serviceId:AVTransport
MediaNavigation1: urn:micasaverde-com:serviceId:MediaNavigation1
RenderingControl: urn:upnp-org:serviceId:RenderingControl
Volume1: urn:micasaverde-com:serviceId:Volume1
InputSelection1: urn:micasaverde-com:serviceId:InputSelection1

Look at the Sonos, Squeezebox, Russound plugins for examples on how to use these. Sonos and Squeezebox would be the better choices to start with.

For the inputs, you would use InputSelection1, the inputs range from input1 - 10 and some discrete inputs. I currently support Input[1-10].

- Garrett

Just submitted version 1.3 which adds support for the following service id's
MediaNavigation1: urn:micasaverde-com:serviceId:MediaNavigation1
RenderingControl: urn:upnp-org:serviceId:RenderingControl
Volume1: urn:micasaverde-com:serviceId:Volume1
InputSelection1: urn:micasaverde-com:serviceId:InputSelection1

I haven't implemented AV transport.  Still looking into it.  I hope that I can get support within your app.  If I have to change the device type I can.  Don't know if that changes anything in your app code. 

Looking to change my device type to "urn:schemas-micasaverde-com:device:receiver:1" so that all receiver apps can be supported by your android app.  With the base serviceIDs implemented it should be easier to support all the receiver plugins.  I think that would make your coding job easier.  I don't know what you think of that but I hope I am heading in the right direction.

Just tested your app with on/off, volume, and mute control.  My beta version 1.3 seems to work.  If you could give me any feedback, I would greatly appreciate it.
« Last Edit: December 29, 2013, 03:40:23 am by jullio »

Offline garrettwp

  • Beta Testers
  • Master Member
  • *****
  • Posts: 6376
  • Karma: +227/-128
  • Vera 3, Lite, ISY994
Re: Onkyo Receiver Plugin
« Reply #39 on: December 30, 2013, 08:21:22 am »
I'll have a look at the plugin and add it to my list of plugins to support.

- Garrett

Offline MrVera

  • Newbie
  • *
  • Posts: 13
  • Karma: +13/-1
Re: Onkyo Receiver Plugin
« Reply #40 on: December 31, 2013, 04:00:53 am »
I only keep seeyinh the On and off button on my Vera2. No matter what I try.

Offline jullio

  • Jr. Member
  • **
  • Posts: 67
  • Karma: +0/-1
Re: Onkyo Receiver Plugin
« Reply #41 on: December 31, 2013, 05:08:37 pm »
I only keep seeyinh the On and off button on my Vera2. No matter what I try.

On your vera2 what version of UI do you have?  UI4 or UI5?  What version of the plugin are you using?

Offline Sender

  • Hero Member
  • *****
  • Posts: 757
  • Karma: +532/-439
  • Sr. manager of my Vera
Re: Onkyo Receiver Plugin
« Reply #42 on: January 02, 2014, 04:25:03 am »
I only keep seeyinh the On and off button on my Vera2. No matter what I try.

On your vera2 what version of UI do you have?  UI4 or UI5?  What version of the plugin are you using?

UI5 I have. Version 1.1. I have unistalled it and reinstalled it and now it is viewing ok. And I have to say: WOW! That looks good!
Any idea on when the version 1.3 will be published? I want to test authomationHD with it  ;D
Good firmware is more important than good karma. (and this costed me lots of Karma)

Offline mrcobra

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Onkyo Receiver Plugin
« Reply #43 on: January 02, 2014, 08:45:12 am »
Hi ,

Thank you for this app, truly appreciate it.

Did anyone investigate the possibilities to play google TTS direct on the reciever, is it even possible?

Offline Sender

  • Hero Member
  • *****
  • Posts: 757
  • Karma: +532/-439
  • Sr. manager of my Vera
Re: Onkyo Receiver Plugin
« Reply #44 on: January 02, 2014, 10:40:21 am »
what is a 'typical approval time' to approve this app by MCV? Shouldn't take more than a day isn't it?
Good firmware is more important than good karma. (and this costed me lots of Karma)