Reboot
Shutdown
GET
/setShutdown:{sec}
http://10.10.10.254/httpapi.asp?command=setShutdown:sec
Shutdown device in sec
sec:
0: shutdown immediately
-1: cancel the previous shutdown timer
Parameters
Path Parameters
sec*
Shutdown device in sec
0: shutdown immediately
-1: cancel the previous shutdown timer
Type
Requiredstring
Default
"0"Responses
Default response
text/html
JSON "status": "OK"
{
}
Get the shutdown timer
Turn on/off status LED ("Status Light" option from app)
Turn on/off touch controls
Get button enable status
Get firmware version
Get device name changeable status
Restoring the factory setting
Setting the name of device
GET
/setDeviceName:{name}
Example: http://10.10.10.254/httpapi.asp?command=setDeviceName:%s
Sets the name UPnP, DLNA and Airplay of the device (Hex)
Parameters
Path Parameters
name*
The new device name to set for UPnP, DLNA, and Airplay, in hexadecimal format.
Type
Requiredstring
Responses
Successful response
Set hex device name
Disable sending more device events
Get hardware error information
GET
/getHwErrorInfo
...
Returns: { "ethError": 0, "mfiChipError": 0, "flashSpaceError": 0, "badBlockNum": 3, "totalBlockNum": 2000, "hdmiError": 0, "temperatureSensorError": 0, "ledError": 0, "soundCardHwError": { "es9018": 0, "pcm5121": 0 } }
Responses
Successful response
application/json
JSON "ethError": 0, "mfiChipError": 0, "flashSpaceError": 0, "badBlockNum": 3, "totalBlockNum": 2000, "hdmiError": 0, "temperatureSensorError": 0, "ledError": 0, "soundCardHwError": { "es9018": 0, "pcm5121": 0 }
{
}