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 when the device is added? Or is it not so straightforward?
I have the Onkyo TX-NR585 and have not had any luck making the OnkyoIP.groovy work. Any suggestions would be awesome.
Edit: I had the wrong IP address. it does work for the TX-NR585
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.
your onkyo work fine with new app? I ask becouse today I try again, and now work… not fine mut work… i can power off, but after now power on again. This is the only button work, with the same for the volume, dusplay only 0%, i can remove volume but not turn on volume mute. I do not understand if is my problem or a problem with the new app.
I hope you can help me to understand