FirmwareAPI DocumentationLUXminer commands
updaterun
Triggers the user update action
updaterun
Description
Triggers the on_user action defined in the autoupdate configuration. By default, this does a full update.
Returns an error if the signal could not be sent to luxupdate (e.g. luxupdate is not running or its PID file is missing).
The current autoupdate configuration can be seen on the config command.
Command
$ echo '{"command": "updaterun", "parameter":"yJN2nlj1"}' | nc $MINER_IP 4028 | jqExamples
$ echo '{"command": "updaterun", "parameter":"yJN2nlj1"}' | nc $MINER_IP 4028 | jq
{
"STATUS": [
{
"Code": 333,
"Description": "LUXminer 2023.3.9-u0-38ac0913ca",
"Msg": "Update check triggered",
"STATUS": "S",
"When": 1667918173
}
],
"id": 1
}Error case (luxupdate process not found):
$ echo '{"command": "updaterun", "parameter":"sS1mA523"}' | nc $MINER_IP 4028 | jq
{
"STATUS": [
{
"Code": 334,
"Description": "LUXminer 2026.3.31.164710-89ce49f",
"Msg": "Unable to locate luxupdate process",
"STATUS": "E",
"When": 1775143509
}
],
"id": 1
}Parameters
| Parameter | Notes |
|---|---|
session_id | A valid session ID. See Session Management for details. |