ledset
Description
Sets the led state. This is useful to, for example, physically locate a mining unit in the warehouse.
Command
$ echo '{"command": "ledset", "parameter":"yJN2nlj1,red,blink"}' | nc $MINER_IP 4028 | jq
Examples
Setting all chips to the same frequency.
$ echo '{"command": "ledset", "parameter":"yJN2nlj1,red,blink"}' | nc $MINER_IP 4028 | jq
{
"STATUS": [
{
"Code": 320,
"Description": "LUXminer 0.1.0-15436f7140",
"Msg": "LED state set",
"STATUS": "S",
"When": 1667918080
}
],
"id": 1
}
Parameters
Parameter | Notes |
---|---|
session_id | A valid session ID. See Session Management for details. |
led | Which led to set. Currently, the only supported value is "red" . |
state | The desired state. Can be "on" , "off" or "blink" . |