Onkyo Receiver Plugin

Dimming is part of the Echo bridge. It should be blank unless you’re passing it % parameters for volume control, for example.

Dimming is part of the Echo bridge. It should be blank unless you’re passing it % parameters for volume control, for example.[/quote]

Ok so it automatically adds these parameters when you create a device? Also if you want to use this for volume control the url should look like
http://[VERA_IP]:3480/data_request?id=action&DeviceNum=386&serviceId=urn:onkyo-com:serviceId:Receiver1&action=SetVolumeTarget&newTargetValue=

[quote=“dramaking9, post:280, topic:178032”]Hi, I am a newbie to Vera (UI17) and am trying to get the Onkyo plugin sorted. It’s working but most of the input parameters are wrong (ie Tuner in Vera switches receiver to CD) so wondering which file I should edit to correct. Also how to add others and where I can locate the correct input numbers for my receiver.

I have an Onkyo TX-NR646 and have loaded the following files
device_file: D_OnkyoReceiver1.xml
Impl_file: I_OnkyoReceiver1.xml
device_json: D_OnkyoReceiver1_UI7.json

Thank you,
dramaking9[/quote]

I think the easiest way is to edit the D_OnkyoReceiver1_UI7.json if you using the Vera UI to control the Onkyo.

"Command": { "Service": "urn:micasaverde-com:serviceId:InputSelection1", "Action": "DiscreteinputHDTV", "Parameters": [] }

Switch the Action parameters with the correct ones.

As alansmithee noted, the easiest way to control this receiver using Amazon Echo is using Luup Requests ([url=http://wiki.micasaverde.com/index.php/Luup_Requests]http://wiki.micasaverde.com/index.php/Luup_Requests[/url]).

I have this software ([url=https://github.com/bwssytems/ha-bridge]https://github.com/bwssytems/ha-bridge[/url]) running on my NAS server (although you could put it on any computer in your network), to listen for Alexa commands and forward them to your Vera.

In the ha-bridge software interface, you can set up Vera devices by ID, for example my Onkyo TX-NR646 is device ID 18 in the Vera UI. So I simply need to set up a device in the ha-bridge UI, with an “On” URL as follows:
http://{VERA_IP}:{VERA_PORT}/data_request?id=lu_action&output_format=json&DeviceNum=18&serviceId=urn:micasaverde-com:serviceId:InputSelection1&action=DiscreteinputDVI
Just be sure to change the IP and port to your Vera IP/Port (default port is 3480) and the device from 18 to your device ID.

The easiest way to get the correct URL to switch receiver inputs is to install the Onkyo app in the Vera UI, open the control panel, open your browser’s network inspector, and copy the URL that is sent when you click on the buttons in the browser. Paste that URL into the On button configuration for a device in the ha-bridge interface, and then use the Alexa app to search for new Smart Home devices.

As long as your ha-bridge is up and running, with the devices correctly configured in it, you should be able to detect the device and be off and running!

In my setup, I have an Atari 2600 connected to the Onkyo receiver modulated using a VCR, connected to a receiver input I labeled “Atari”. I set up a device in the bridge called Atari, and now I can say “Alexa, turn on Atari”, and the echo will switch the receiver input to the one my VCR is on, and I’m a kid again! :stuck_out_tongue: HTH!

Any update on the Onkyo Can’t detect device issue?

The plugin doesn’t seem to work with the TX-8160 :cry:

Who can I bribe to get it to work?

Will this plug in work with an Integra DRX-4 receiver? Made by Onkyo?

It works with my Integra DHC-9.9 pre/pro, so there’s a good chance it will.

Since a few days I have a strange problem. I use my Onkyo AV receiver as a client for Twonkymedia.
A few seconds after I start playing a song, the Onkyo receiver stops playback and jumps back to the server overview where the TwonkyMedia ist listed.

I have nothing changed on the hardware or software firmwares,firewall,…

Is there anyboy else with such a problem and can post some hints/tips?

I am wondering if anyone has figured out how to navigate to the bluetooth input with this app?

I have a support receiver tx-nr626. I would greatly appreciate any help. This is actually the only function that I really need this app to do.

Thanks

Finally found some time to play around with this plugin and see if I could get it to do a few things. Am starting to get the lay of the land…

Tried to tackle the most recent problem, posted by carracc, and was successful, thanks to Adding commands from ISCP v1.34 · Issue #35 · miracle2k/onkyo-eiscp · GitHub. That thread has a note about how to receive the latest ISCP spec, and I sent off an email, so if I’m successful in getting those, I’ll share them with the group as it looks like others are wanting to work on this too. Might set up a github repo for us with the app files, so we can do some version control, but that’s for another day…

Here are instructions to be able to switch to the Bluetooth input (assuming you’ve already installed the Onkyo plugin):

  1. From your Vera home screen, click Apps, Develop Apps, Luup files
  2. Download the attached files and drag/drop them into the box near the top of the page. Click Done when each has uploaded.
  3. Click on Devices, your Onkyo, Advanced, and note the device id at the top of the page (also next to “id” down below)
  4. In a browser, load this url: [font=courier]http://{vera_ip}:{vera_port_default_is_3480}/data_request?id=lu_action&output_format=json&DeviceNum={id_from_step_3}&serviceId=urn:micasaverde-com:serviceId:InputSelection1&action=DiscreteinputBluetooth[/font]
  5. Enjoy!

I haven’t yet added a button to the UI for this, but that should be pretty easy. This method works well if, like me (see my other post on this below), you’re using an Amazon Echo with a bridge. I can now switch the input to Bluetooth by saying “Alexa, turn on Bluetooth”. Am also starting to test out the new Vera Alexa Beta integration to see if I can ditch the bridge altogether, and so far with the lights, things are working great. Will try it out with the Onkyo soon…

Will also see if I can find some time to resolve the errors (e.g. Can’t detect device) and add a few other features (update the input mappings, etc).

EDIT: @zoot1612 and @kendad identified a fix for the “Can’t detect device” error earlier in this thread: [url=http://forum.micasaverde.com/index.php/topic,17811.msg221898.html#msg221898]http://forum.micasaverde.com/index.php/topic,17811.msg221898.html#msg221898[/url]

Received the latest codes spec version this AM from Onkyo…too big to attach here, even with max compression, so posting it to Google Drive here:
[url=https://drive.google.com/open?id=0B1Due7hngFNkWUZEc3ZBakwyS2s]https://drive.google.com/open?id=0B1Due7hngFNkWUZEc3ZBakwyS2s[/url]

It’s Version 1.34, last updated Jan-2016, but filename has August 2016 in it.

Is this plugin still supported? am i right in thinking that I cant change the port it uses from 60128 default in the plugin gui.

I found i can change it manually in the L_OnkyoReceiver1.lua file but ideally be able to change in the gui?

Stu

Hi Stu, unfortunately, the plugin is not in a good state and doesn’t work for most people’s Onkyo receivers at this point. Changing the port via the GUI is probably the least of the problems here.

Sad to hear just upgrade to UI7 can’t find the receivers at all now

I have used this plugin with great success and have two Onkyo receivers setup in my home to switch inputs, turn on or off, adjust volume, sound mode, etc

I can verify it works with my HT-R360 and TX-NR509 - The biggest issue I’ve seen with getting the onkyo’s to work is the network itself. I have 4-5 gigabit switches and for some reason my Onkyo and Vera won’t talk to each other if the Onkyo is connected to a certain switch. If I move the Onkyo into another switch (TP-Link 8 port gigabit) I can see it with my vera. Keep in mind I have a FLAT network, so there is no NAT issue etc, it’s got to do with a switch not wanting to talk to the network controller (NIC) in the onkyo

Try connecting the Vera and Onkyo to the same router or on the same switch and you should be able to get it to work if you have an Onkyo Network enabled receiver. Make sure you also turn on Ethernet, and network standby. Before you start to pull your hair out try your smartphone or windows app to try and install an Onkyo Remote software and search on that. Once you can see the Onkyo in the app on your phone or computer, then Vera should see it.

Good luck!

Hi.
I want to create a scene that will play a sound file from the front or rear usb input. So far the scene can switch the receiver on and select the usb input but I can’t get further than the USB Storage page.

The sequence on my remote is to press enter and enter again to play the track. I’ve tried multiple options but just can’t get past this block. It’s fustrating cos my plan was to play a sound file when my outside camera detects motion as a deterant for would be burglars!

Cheers.
Onkyo TX-NR535, Vera Plus Ver1.7.3532. Foscam F19803EP

It works with Onkyo TX-N656 (UI7, veraEdge).

cant seem to get vera, onkyo plugin and onkyo tx-rx820 to work. anybody who have this combination? have used the correct ip, are using the newest ui 7 version on a vera secure eu.

Solved:
Did it through Advance Editor.
Select my USB Front which is input 7.
Then I added a delay of 30secs so the receiver has time to fully switch on, access the USB drive and play the first track.
The scene is activated when my living room window sensor is tripped and only in AWAY mode.
I’ll add some lights later I think…That should scare the shit out of any low life.

Cheers,
Paul

Well i wanted to update it a bit so i did some simple stuff, Added 4 more Macros and some net inputs that where missing.
My Receiver is a TXNR676E

Well let me know ho it goes for you guys, if it work drop here a reply and maybe i can do more for this Plug-in, i?m not a programmer but i have two around here that i can bug :smiley: