Set lockkey
hdhomerun_set_lockkeyLocks or releases a specified tuner by setting its lock key, returning a generated key when locking so you can release it later.
Instructions
/tuner<n>/lockkey lock or release a tuner.
The device lock is taken by setting the item to the caller's own 32-bit key
(a random key is generated when none is given and returned as the result, so
the caller can release it). Releasing sets the item to none while
presenting the same key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tuner": "<tuner>",
"lock": "<lock>"
},
"name": "hdhomerun_set_lockkey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock | Yes | ||
| tuner | Yes | ||
| lockkey | No |