miracle2k / onkyo-eiscp

Control Onkyo A/V receivers over the network; usuable as a script, or as a Python library.
MIT License
466 stars 110 forks source link

Directly set tuning frequency #142

Open djarvis opened 1 year ago

djarvis commented 1 year ago

I cannot for the life of me figure out how to directly tune to a frequency on my TX-NR797.

I can query for it:

./onkyo --host=onkyo main.tuning=query TX-NR797: tuning = 37200

I cannot set it:

./onkyo --host=onkyo main.tuning=37200 Error: "37200" is not a valid argument for command "tuning" in zone "main"

Tried this:

./onkyo --host=onkyo main.tuning=freq-37200 Error: "freq-37200" is not a valid argument for command "tuning" in zone "main"

./onkyo --host=onkyo main.tuning=freq-nnnnn TX-NR797: tuning = N/A

up and down do work, and I can see the direct input show up when I select "direct" but I cannot figure out how to simply set the frequency.

mitchcapper commented 1 year ago

Here are the raw command examples:

Ex: FM 100.5 MHz(100/200kHz Step) Direct Tuning is [!1SLI24][!1TUNDIRECT][!1TUN1][!1TUN0][!1TUN0][!1TUN5]           
Ex: FM 100.55 MHz(50kHz Step) Direct Tuning is [!1SLI24][!1TUNDIRECT][!1TUN1][!1TUN0][!1TUN0][!1TUN5][!1TUN5]           
Ex: FM 90.0 MHz(100kHz Step) Direct Tuning is [!1SLI24][!1TUNDIRECT][!1TUN9][!1TUN0][!1TUN0]            
Ex: FM 90.00 MHz(50kHz Step) Direct Tuning is [!1SLI24][!1TUNDIRECT][!1TUN9][!1TUN0][!1TUN0][!1TUN0]            
Ex: AM 1230 kHz(10kHz Step) Direct Tuning is [!1SLI25][!1TUNDIRECT][!1TUN1][!1TUN2][!1TUN3]         
Ex: AM 1341 kHz(9kHz Step) Direct Tuning is [!1SLI25][!1TUNDIRECT][!1TUN1][!1TUN3][!1TUN4][!1TUN1]