I arrived at this post starting from Begging for Onkyo Help:
Let me lead off that I am not a programmer - I know enough to be dangerous - and the programmers in my life don’t work in languages similar enough to Groovy to be helpful anytime soon.
Allan Klein wrote a Device Handler for Onkyo Receivers 3 years ago that overall works pretty well. It has tiles for the different inputs that are configurable, etc. However, as tiles, they cannot be addressed in automations. I was reading up on the Composite Devices functionality, and that seems to me to be the solution. I have read the tutorial repeatedly, and stared blankly at the Groovy code, and I still don’t have a clue even where to start.
Could someone with Composite Device Handler experience take a few minutes to convert the tiles into addressable devices? I’d be forever grateful.
Allan’s code: ht…
Granzy consigliava di seguire questa procedura:
Expose Onkyo A/V receiver functionality as a series of switches - HOWTO?
I have an Onkyo A/V receiver that is controllable using commands sent over the network. I’m writing a node.js proxy that converts the proprietary Onkyo command set into http commands which are more consumable by ST.
What I would like to do is expose various basic functions of the device (on/off, volume, input select) as a series of switches. On/Off is obviously a regular on/off switch, volume would be a “dimmer” that toggles mute when it is off, and input select would be a series of momentary switches. I then want to use these switches to allow control of the receiver via Google Home voice commands.
My question is how do I go about exposing multiple “switches” for a single device? Will a single DTH be able to expose all these switches so that they all show up as separate Things in ST …
I would like to submit my problem in the hope that someone will be able to clarify my big problem in using my Onkyo TX-NR636 with SmartThings
I did exactly what was requested but it doesn’t work.
I bring you all the information of what I did, maybe I did something wrong:
I created the Device Handler by simply copying the code from here:
/**
* Onkyo IP Control Device Type for SmartThings
* Allan Klein (@allanak)
* Originally based on: Mike Maxwell's code
*
* Usage:
* 1. Be sure you have enabled control of the receiver via the network under the settings on your receiver.
* 2. Add this code as a device handler in the SmartThings IDE
* 3. Create a device using OnkyoIP as the device handler using a hexadecimal representation of IP:port as the device network ID value
* For example, a receiver at 192.168.1.222:60128 would have a device network ID of C0A801DE:EAE0
* Note: Port 60128 is the default Onkyo eISCP port so you shouldn't need to change anything after the colon
* 4. Enjoy the new functionality of the SmartThings app
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
This file has been truncated. show original
I pasted it on code, I do “create” , “save” and “Publish for me”
I created the device from my control panel:
https://graph-eu01-euwest1.api.smartthings.com/device/list
Name Onkyo TX-NR636
Label Onkyo TX-NR636
Type onkyoIP (Device Handlers)
Version Published
Device Network Id C0A80107:EAE0
Status ACTIVE
Data No data found for device
Execution Location Cloud
The device is added, I see it among my devices from the app, but whatever I press does not work, nothing happens.
Being in Italy I use SmartThings on European servers, among the messages I only see American users. Could it be that this device handler only works for America?
Granzy helped me a lot and we did a lot of tests, but we had to give up because we don’t know what to try anymore.