# \[APP\]\[Pro\] Onkyo Receiver - Control your sound at home

**URL:** <https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554>\
**Category:** Apps\
**Tags:** app, community-app\
**Created:** [May 28, 2020, 8:51pm UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554 "2020-05-28T20:51:53Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![Mickel\_Luiten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mickel_luiten/32/12404_2.png) [@Mickel\_Luiten](https://community.homey.app/u/Mickel_Luiten)\
**Post date:** [June 28, 2020, 12:26pm UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/81 "2020-06-28T12:26:32Z")

</div>

Its is indead designed this way by athom:-(.

---

<div class="post-metadata">

**Author:** ![Mickel\_Luiten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mickel_luiten/32/12404_2.png) [@Mickel\_Luiten](https://community.homey.app/u/Mickel_Luiten)\
**Post date:** [June 29, 2020, 6:01pm UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/82 "2020-06-29T18:01:04Z")

</div>

In test [Onkyo Receiver App for Homey | Homey](https://homey.app/a/com.onkyo/test/) version 3.2.8 and in certification by Athom.  
FIx for zone2 and zone3 that stays available but most inportant fix for **Pioneer** receivers.

Let me know if there (still) are problems.  
Thanks all for waiting.

---

<div class="post-metadata">

**Author:** ![Sven1971](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sven1971/32/16716_2.png) [@Sven1971](https://community.homey.app/u/Sven1971)\
**Post date:** [June 29, 2020, 6:32pm UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/83 "2020-06-29T18:32:01Z")

</div>

tested 3.2.8: I can succesfully connect to my Pioneer set (on the standard Onkyo) port so thumbs up for that.  
Only thing I can’t do is connect to Spotify Connect. Will try tomorrow after updating my receiver.

---

<div class="post-metadata">

**Author:** ![Mickel\_Luiten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mickel_luiten/32/12404_2.png) [@Mickel\_Luiten](https://community.homey.app/u/Mickel_Luiten)\
**Post date:** [June 29, 2020, 7:06pm UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/84 "2020-06-29T19:06:00Z")

</div>

@Sven1971, great to hear, Don’t kow what you mean by “can’t connect to spotify” but my app doesn;t do anything with spotify. So as you suggested maybe it has something to do with the receiver

I know from another user (@Martijn_Hoogenbosch with a Onkyo receiver) it does work.  
So thru Spotify select receiver, receiver will go ON and plays spotify.  
In my app, receiver gets status ON(main zone) and input change to NET.

---

<div class="post-metadata">

**Author:** ![Some1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/some1/32/8283_2.png) [@Some1](https://community.homey.app/u/Some1)\
**Post date:** [June 29, 2020, 9:53pm UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/85 "2020-06-29T21:53:38Z")

</div>

@Mickel_Luiten Can I make use of a wildcard for receiving custom commands and using what is matched by the wildcard in a variable?

For example receive main.listening-mode=\* and have the new selector in a variable?

I just found the tag containing the current selector, that is just not all that I can query from my receiver, there is so much more.

---

<div class="post-metadata">

**Author:** ![Mickel\_Luiten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mickel_luiten/32/12404_2.png) [@Mickel\_Luiten](https://community.homey.app/u/Mickel_Luiten)\
**Post date:** [June 29, 2020, 10:40pm UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/86 "2020-06-29T22:40:43Z")

</div>

At this moment you can’t.  
Also i missing why this will be usedull?  
Can you explain why?

---

<div class="post-metadata">

**Author:** ![Some1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/some1/32/8283_2.png) [@Some1](https://community.homey.app/u/Some1)\
**Post date:** [June 29, 2020, 10:47pm UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/87 "2020-06-29T22:47:15Z")

</div>

I like to change things back when my little child messes with the receiver, but would rather not write too many flows for that. It would basically allow me to check, something changed and it’s not what I want it to be, so reset it.

---

<div class="post-metadata">

**Author:** ![Jackass](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jackass/32/145293_2.png) [@Jackass](https://community.homey.app/u/Jackass)\
**Post date:** [June 30, 2020, 2:50pm UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/88 "2020-06-30T14:50:10Z")

</div>

@Mickel_Luiten

Previously when I came home the Onkyo would automatically power ON and automatically selects an input (for example NET). On the NET input I always had a internet radio stream active so that I had music when I enter the front door.

Now Vtuner had stopped working on the Onkyo (due to finance issues or whatever… Not your fault 😁) However, now I need to set it up in a different way but can’t figure out how.

I have deleted the old app and installed all Onkyo cards.

So, my best bet was just listen to ordinary FM radio (input = FM). But when I am trying to setup a flow:

IF - me entering front door  
AND -   
THEN -  
Start MAIN zone  
set volume MAIN zone to 700% (why is it in percentage??)

But I am not able to select an INPUT channel anymore.

I am aware that I can give MAINZONE (as device) an INPUT channel (FM) but when someone had chosen a different input (GAME for example) and the Onkyo powers on again when I enter the front door the flow doesn’t switch back to (FM) as how I set it up

Any thoughts on this?

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [June 30, 2020, 3:08pm UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/89 "2020-06-30T15:08:06Z")

</div>

> [@Jackass](#):
>
> set volume MAIN zone to **700%**

looks a bit **LOUD** isn’t it?

---

<div class="post-metadata">

**Author:** ![Jackass](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jackass/32/145293_2.png) [@Jackass](https://community.homey.app/u/Jackass)\
**Post date:** [June 30, 2020, 3:11pm UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/90 "2020-06-30T15:11:43Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/7/f7743286a9cbe4fce540bc2e81c878a10f423971.jpeg)

@JPe4619 @Mickel_Luiten

---

<div class="post-metadata">

**Author:** ![Jackass](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jackass/32/145293_2.png) [@Jackass](https://community.homey.app/u/Jackass)\
**Post date:** [June 30, 2020, 3:14pm UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/91 "2020-06-30T15:14:54Z")

</div>

@Mickel_Luiten

✅ Fixed my above question.  
🥴 Why is the volume in %?

---

<div class="post-metadata">

**Author:** ![Mickel\_Luiten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mickel_luiten/32/12404_2.png) [@Mickel\_Luiten](https://community.homey.app/u/Mickel_Luiten)\
**Post date:** [June 30, 2020, 5:40pm UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/92 "2020-06-30T17:40:34Z")

</div>

The “set volume to” action (then) is a standard flowaction that cames with capabilty (volume\_set)  
Don;t now why this is in percent and can set from 0% to 3000%.

The volume\_set slider maximum is set by maximum volume settings and its from 0-100 (or with the 0.5 settings from 0-200)  
Also the token is a normal number.

WIll check this if i can be solved…  
For now i suggest using the custom command flow and set the volume : main.volume=

---

<div class="post-metadata">

**Author:** ![Mickel\_Luiten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mickel_luiten/32/12404_2.png) [@Mickel\_Luiten](https://community.homey.app/u/Mickel_Luiten)\
**Post date:** [June 30, 2020, 6:16pm UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/93 "2020-06-30T18:16:34Z")

</div>

After 10 times reading you last post 🙂 i see your point but a wildcard isn’t the right way.

Let me check if possible to make a token where the incoming argument is placed.  
After that you can do some compare with the logiic app. an do a action in 1 flow?

Will this works for you?

---

<div class="post-metadata">

**Author:** ![Some1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/some1/32/8283_2.png) [@Some1](https://community.homey.app/u/Some1)\
**Post date:** [July 1, 2020, 6:12am UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/94 "2020-07-01T06:12:17Z")

</div>

@Mickel_Luiten  
I suppose we’d get a trigger, xxx-changed with a token containing the new value?  
Yes, that will most definitely work. Will that work for more variables, such as selector, volume, listening-mode, tone-front (bass and treble)?

---

<div class="post-metadata">

**Author:** ![Mickel\_Luiten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mickel_luiten/32/12404_2.png) [@Mickel\_Luiten](https://community.homey.app/u/Mickel_Luiten)\
**Post date:** [July 1, 2020, 5:55pm UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/95 "2020-07-01T17:55:54Z")

</div>

@Some1, yes every received command will be placed on the token. so any variable such as selector, volume etc will work 🙂  
i have a working version(not in test yet) and did the following.

FIRST STEP

- Created a virtual device as on/off button.
- Created a flow.
- Flow is WHEN button turned on
- THEN  
Enable second flow  
Send query

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/c/1cb4d1fae1db68c4a18637336465495cb66769c8.png)

SECOND STEP.

- Created a second flow(by default disable this)
- Flow is WHEN (onkyo) receive a custom command **Nomore command to fill in on this**
- AND Received-Command(token) ISNOT main.muting=off (by the BetterLogic app)  
-THEN  
Do action  
Turn off virtual button  
Disable flow

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/a/eaa7c236014632cb476c56e76a2f1dce63363a29.png)  
The enable / disable flow is there because every incoming command will go to the second flow(when enebaled) and with the ISNOT function will always triggers. the THEN

this is one way… you also can copy the Received-Command(token) to a variable and do a compare what is the variable and what is expected.

Are above examples the way you how it works for you?

---

<div class="post-metadata">

**Author:** ![Some1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/some1/32/8283_2.png) [@Some1](https://community.homey.app/u/Some1)\
**Post date:** [July 1, 2020, 9:37pm UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/96 "2020-07-01T21:37:36Z")

</div>

@Mickel_Luiten  
Almost, this flow is trigered by homey, while in the perfect world an action on the receiver should be the trigger and allow the query command to be a backup.

Perfect would be to split the received command in two tokens. Seperated by the = sign. So main.selector=video6 command would result in an receivedCommandToken = main.selector and receivedValueToken = video6.

Then you would not need to do the first step and no need to disable the flow, as you can require the first token to match and the second to not match.

you could split on the first = found, and if no = is found set the second token to empty string to prevent errors.

---

<div class="post-metadata">

**Author:** ![Mickel\_Luiten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mickel_luiten/32/12404_2.png) [@Mickel\_Luiten](https://community.homey.app/u/Mickel_Luiten)\
**Post date:** [July 6, 2020, 2:39am UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/97 "2020-07-06T02:39:24Z")

</div>

@Pieter_Pessers, version 3.3.0 will be live in any days.  
Here you can build you own custom set of "and/or " cards,

Let me show you a example.

1. create a logic variable like : Mute.
2. create the flow

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/f/8fe77ce94dcbd647fe3112fed9778e4c697a991f.png)

On the flowtrigger “Receive a custom command” your getting 2 tokens.

First token(Received-Command) is the zone.command, e.g. main.muting or zone1.volume.  
Second toke(Received-Argument) is the argument e,.g. on/off or 22.

Action part is to save the argument in the variable if received command is e.g. main,muting.

With a second flow you can do anything with the variable.

---

<div class="post-metadata">

**Author:** ![Mickel\_Luiten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mickel_luiten/32/12404_2.png) [@Mickel\_Luiten](https://community.homey.app/u/Mickel_Luiten)\
**Post date:** [July 6, 2020, 2:44am UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/98 "2020-07-06T02:44:44Z")

</div>

@Some1

Version 3.3.0 will be live any days, or found in test [Onkyo Receiver App for Homey | Homey](https://homey.app/a/com.onkyo/test/)

As suggested spilt op the incoming command and put it on 2 tokens.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/4/74fb8f76f4b8959eda884e4e12564b847fd89a62.png)

There are also 2 global tokens that will always be updated by incoming event from receiver.  
Global Received-Command and Global Received-Argument.  
So if you don;t know the incoming event just check out those 2 tokens.

---

<div class="post-metadata">

**Author:** ![Mickel\_Luiten](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mickel_luiten/32/12404_2.png) [@Mickel\_Luiten](https://community.homey.app/u/Mickel_Luiten)\
**Post date:** [July 6, 2020, 2:49am UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/99 "2020-07-06T02:49:10Z")

</div>

@Jackass, version 3.3.0. will be live in any days.

volumeset on the actions card is now normal (0 - maxvolume)  
The % i can’t remove , its something from Athon ( same cardconfigs as for lights)

---

<div class="post-metadata">

**Author:** ![Some1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/some1/32/8283_2.png) [@Some1](https://community.homey.app/u/Some1)\
**Post date:** [July 6, 2020, 6:34am UTC](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554/100 "2020-07-06T06:34:27Z")

</div>

This is absolutely awesome, thanks!

[Previous page](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554.md?page=4)

[Next page](https://community.homey.app/t/app-pro-onkyo-receiver-control-your-sound-at-home/30554.md?page=6)
