System¶
System Config [UNSTABLE]¶
SystemConfig has the following attributes:
-
SystemConfig¶ -
firmware_versionstring Read-only¶ freebox firmware version
-
macstring Read-only¶ freebox mac address
-
serialstring Read-only¶ freebox serial number
-
uptimestring Read-only¶ readable freebox uptime
-
uptime_valint Read-only¶ freebox uptime (in seconds)
-
board_namestring Read-only¶ freebox hardware revision
-
temp_cpumint Read-only¶ temp cpum (°C)
-
temp_swint Read-only¶ temp sw (°C)
-
temp_cpubint Read-only¶ temp cpub (°C)
-
fan_rpmint Read-only¶ fan rpm
-
box_authenticatedbool Read-only¶ is the box authenticated (“étape 6”)
-
disk_statusenum Read-only¶ the internal disk status
Value Description not_detected The disk as not been detected disabled The disk is disabled initializing The disk is initializing error The disk failed to mount active The disk is ready
-
box_flavorenum Read-only¶ the box ‘flavor’ for a given model
Value Description full The box has an internal storage light The box has no internal storage
-
user_main_storagestring¶ The label of the storage partition to use for user data. (Matches the label of the
DiskPartition) In case of ‘light’ box flavor, it must be set by to a permanently attached external storage
-
System API¶
Get the current system info [UNSTABLE]¶
-
GET/api/v4/system/¶ Get the
SystemConfigExample request:
GET /api/v4/system/ HTTP/1.1 Host: mafreebox.freebox.fr
Example response:
HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8
{ "success": true, "result": { "mac": "F4:CA:E5:5C:EA:14", "box_flavor": "light", "temp_cpub": 63, "disk_status": "active", "box_authenticated": true, "board_name": "fbxgw1r", "fan_rpm": 1832, "temp_sw": 52, "uptime": "6 jours 22 heures 9 minutes 46 secondes", "uptime_val": 598186, "user_main_storage": "Disque 1", "temp_cpum": 62, "serial": "805400T144100853", "firmware_version": "6.6.6" } }