Homey Community Forum

Onkyo receiver app > when source changed

Hi all,

Not sure this will ever happen, but who knows. I have an onkyo receiver, and want to > when it switches to a certain source (s) then turn on the beamer.

However. That trigger card doesn’t exist.
Now I used to do it with “every 10 seconds” update a variable with the source in it, but that gets disabled because it runs to often…
Is there a better way, or can the Dev maybe add that trigger card? Or is there a way to monitor a variable from an app?

Cheers
Victor

I don’t know if you tried the custom command?
Maybe something like main.input=tv

            name: selector
            description: Input Selector Command
            values:
              '00':
                name: video1
                description: sets VIDEO1, VCR/DVR, STB/DVR
              '01':
                name: video2
                description: sets VIDEO2, CBL/SAT
              '02':
                name: video3
                description: sets VIDEO3, GAME/TV, GAME, GAME1
              '03':
                name: video4
                description: sets VIDEO4, AUX1(AUX)
              '04':
                name: video5
                description: sets VIDEO5, AUX2, GAME2
              '05':
                name: video6
                description: sets VIDEO6, PC
              '06':
                name: video7
                description: sets VIDEO7
              '07':
                name: '07'
                description: Hidden1     EXTRA1
              08:
                name: 08
                description: Hidden2     EXTRA2
              09:
                name: 09
                description: Hidden3     EXTRA3
              '10':
                name: dvd
                description: sets DVD, BD/DVD
              '11':
                name: strm-box
                description: sets STRM BOX
              '12':
                name: tv
                description: sets TV
              '20':
                name: tape-1
                description: sets TAPE(1), TV/TAPE
              '21':
                name: tape2
                description: sets TAPE2
              '22':
                name: phono
                description: sets PHONO
              '23':
                name: cd
                description: sets CD, TV/CD
              '24':
                name: fm
                description: sets FM
              '25':
                name: am
                description: sets AM
              "\u201C26\u201D":
                name: tuner
                description: sets TUNER
              '27':
                name: [music-server, p4s, dlna]
                description: sets MUSIC SERVER, P4S, DLNA
              '28':
                name: [internet-radio, iradio-favorite]
                description: sets INTERNET RADIO, iRadio Favorite
              '29':
                name: usb
                description: sets USB/USB(Front)
              2A:
                name: usb
                description: sets USB(Rear)
              2B:
                name: network
                description: sets NETWORK, NET
              2C:
                name: usb
                description: sets USB(toggle)
              2D:
                name: aiplay
                description: sets Aiplay
              2E:
                name: bluetooth
                description: sets Bluetooth
              '40':
                name: universal-port
                description: sets Universal PORT
              '30':
                name: multi-ch
                description: sets MULTI CH
              '31':
                name: xm
                description: sets XM
              '32':
                name: sirius
                description: sets SIRIUS
              '33':
                name: dab
                description: 'sets DAB '
              '55':
                name: hdmi-5
                description: sets HDMI 5
              '56':
                name: hdmi-6
                description: sets HDMI 6
              '57':
                name: hdmi-7
                description: sets HDMI 7
              UP:
                name: up
                description: sets Selector Position
              DOWN:
                name: down
                description: sets Selector Position
              QSTN:
                name: query
                description: gets The Selector Position

Source
From the Onkyo app topic:

Setting through such a command works fine but don’t know if it triggered when it is changed outside of homey.