Query the list of options supported by a HDHomeRun device:
The get/set options supported by a specific HDHomeRun device can be queried using the get help
command:
hdhomerun_config <id> get help
Example output:
Supported configuration options:
/tuner<n>/channel <modulation>:<freq|ch> Get/set modulation and frequency
/tuner<n>/channelmap <channel map> Get/set channel to frequency map
/tuner<n>/filter 0x<nnnn>-0x<nnnn> [...] Get/set PID filter
/tuner<n>/program <program number> Get/set MPEG program filter
/tuner<n>/target <ip>:<port> Get/set target IP for tuner
/tuner<n>/status Display status of tuner
/tuner<n>/streaminfo Display stream info
/tuner<n>/debug Display debug info for tuner
/tuner<n>/lockkey Set/clear tuner lock
/sys/model Display model name
/sys/features Display supported features
/sys/version Display firmware version
/sys/copyright Display firmware copyright
/sys/debug Display debug info
Channel scan:
To run a channel scan:
Format: hdhomerun_config <id> scan /tuner<n> [log filename]
Example: hdhomerun_config FFFFFFFF scan /tuner0 scan0.log
This command will scan all channels on the selected channel map plus any additional channel
maps associated with the selected channel map. All standard modulation types for the selected
channel map are tested.
When a digital channel is found it will identify the programs on the channel.
The log filename is optional; if included it will log to the given filename.
Tuning a physical channel:
To set a channel use the set channel command:
Format: hdhomerun_config <id> set /tuner<n>/channel <modulation>:<frequency>
Format: hdhomerun_config <id> set /tuner<n>/channel <modulation>:<channel>
Example: hdhomerun_config FFFFFFFF set /tuner0/channel auto:651000000
Example: hdhomerun_config FFFFFFFF set /tuner0/channel auto:60
To auto-detect the modulation type use “auto” for the modulation.
Supported modulation types can be queried with the get sys-features command:
hdhomerun_config <id> get /sys/features
To stop the tuner set the channel to none:
Format: hdhomerun_config <id> set /tuner<n>/channel none
Example: hdhomerun_config FFFFFFFF set /tuner0/channel none
Checking the signal strength:
The basic signal information can be obtained by using the get status command:
Format: hdhomerun_config <id> get /tuner<n>/status
Example: hdhomerun_config FFFFFFFF get /tuner0/status