System

System Config [UNSTABLE]

SystemConfig has the following attributes:

SystemConfig
firmware_version string Read-only

freebox firmware version

mac string Read-only

freebox mac address

serial string Read-only

freebox serial number

uptime string Read-only

readable freebox uptime

uptime_val int Read-only

freebox uptime (in seconds)

board_name string Read-only

freebox hardware revision

temp_cpum int Read-only

temp cpum (°C)

temp_sw int Read-only

temp sw (°C)

temp_cpub int Read-only

temp cpub (°C)

fan_rpm int Read-only

fan rpm

box_authenticated bool Read-only

is the box authenticated (“étape 6”)

disk_status enum 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_flavor enum 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_storage string

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 SystemConfig

Example 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"
      }
}

Reboot the system

POST /api/v4/system/reboot/

Reboot the Freebox

Example request:

POST /api/v4/system/reboot/ HTTP/1.1
Host: mafreebox.freebox.fr

Example response:

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
    "success": true
}