Free is a French telecom operator providing advanced equipments to manage your broadband access.
This binding integrates the [Freebox Revolution](https://www.free.fr/freebox/freebox-revolution/) and [Freebox Delta](https://www.free.fr/freebox/freebox-delta/) to your openHAB installation.
The server can be connected to Free infrastructures either by xDSL or fiber optic.
This binding provides metrics about your network bridge/router and attached devices (wifi repeaters, TV boxes ...).
It also provides home automation capabilities when appropriate dongle has been inserted in the server.
IliadBox, italian version of the Freebox Pop are also compatible.
The API bridge is discovered automatically through mDNS in the local network.
After the bridge is discovered and available to openHAB, the binding will automatically discover phone, network devices available on the local network.
Note that the discovered thing will be setup to use only HTTP API (and not HTTPS) because only an IP can be automatically determined while a domain name is required to use HTTPS with a valid certificate.
You will have to authorize openHAB to connect to your Freebox. Here is the process described:
**Step 1** At binding startup, if no token is recorded in the Freebox Server (bridge) configuration, the binding will run a pairing request
**Step 2** Run to your Freebox and approve the pairing request for openHAB FreeboxOS Binding that is displayed on the Freebox screen
**Step 3** the application token is automatically recorded in the Freebox Server (bridge) configuration
**Step 4** you can use the console command `freeboxos apptoken` to display the application token and use it later to set up your thing in a configuration file
**Step 5** log in your Freebox admin console to allocate needed rights to FreeboxOS Binding
Once initialized, the thing will generate all available channels.
| revolution | display | lcd-brightness | Number:Dimensionless | RW | Brightness level of the screen in percent |
| revolution | display | lcd-orientation | Number | RW | Screen Orientation in degrees (0 or 90 or 180 or 270) |
| revolution | display | lcd-forced | Switch | RW | Indicates whether the screen orientation is forced |
| revolution, delta | file-sharing | ftp-status | Switch | RW | Indicates whether the FTP server is enabled |
| revolution, delta | file-sharing | samba-file-status | Switch | RW | Indicates whether Windows File Sharing is enabled |
| revolution, delta | file-sharing | samba-printer-status | Switch | RW | Indicates whether Windows Printer Sharing is enabled |
| revolution, delta | file-sharing | afp-file-status | Switch | RW | Indicates whether Mac OS File Sharing is enabled |
| revolution, delta | sysinfo | uptime | Number:Time | R | Time since last reboot of the equipment |
| revolution, delta | sysinfo | ip-address | String | R | Internal IPv4 Address of the Freebox Server |
| revolution, delta | sysinfo | box-event | Trigger | - | Triggers when an event related to the Freebox server has been detected. Possible event: "restarted", "firmware_updated" and "reboot_requested" |
| revolution, delta | actions | wifi-status | Switch | RW | Indicates whether the WiFi network is enabled |
| revolution, delta | actions | upnpav-status | Switch | RW | Indicates whether UPnP AV is enabled |
| revolution, delta | actions | airmedia-status | Switch | RW | Indicates whether Air Media is enabled |
| revolution, delta | connection-status | line-status | String | R | Status of network line connection |
| revolution, delta | connection-status | line-type | String | R | Type of network line connection |
| revolution, delta | connection-status | line-media | String | R | Media of network line connection |
| revolution, delta | connection-status | ip-address | String | R | Public IPv4 Address of the Freebox Server |
| revolution, delta | connection-status | ipv6-address | String | R | Public IPv6 Address of the Freebox Server |
| revolution, delta | connection-status | bandwidth-up | Number:DataTransferRate | R | Raw value of the upload bandwidth |
| revolution, delta | connection-status | bandwidth-down | Number:DataTransferRate | R | Raw value of the download bandwidth |
| revolution, delta | connection-status | bandwidth-usage-up | Number:Dimensionless | R | Portion of the upload bandwidth currently used |
| revolution, delta | connection-status | bandwidth-usage-down | Number:Dimensionless | R | Portion of the download bandwidth currently used |
| revolution, delta | connection-status | rate-up | Number:DataTransferRate | R | Current upload rate |
| revolution, delta | connection-status | rate-down | Number:DataTransferRate | R | Current download rate |
| revolution, delta | connection-status | bytes-up | Number:DataAmount | R | Total data uploaded since last restart |
| revolution, delta | connection-status | bytes-down | Number:DataAmount | R | Total data downloaded since last restart |
| active-player, player | player-actions | key-code | String | W | Simulates pushing a remote control button |
| active-player | player-status | player-status | String | R | Status of the Freebox TV player |
| active-player | player-status | package | String | R | Name of the package currently active on the player |
| active-player | sysinfo | uptime | Number:Time | R | Time since last reboot of the equipment |
| active-player | sysinfo | box-event | Trigger | - | Triggers when an event related to the Freebox Player has been detected. Possible event: "restarted", "firmware_updated" and "reboot_requested" |
| vm | vmstatus | status | Switch | RW | Status of the virtual machine |
| (*) | connectivity | reachable | Switch | R | Indicates if the network device is reachable or not |
| (*) | connectivity | last-seen | DateTime | R | Date and time of last activity for the network device |
| (*) | connectivity | ip-address | String | R | IPv4 Address of the network device |
| fxs, dect | | telephony-service | String | R | Status of the telephony service |
| fxs, dect | | ringing | Switch | RW | Is the phone ringing |
| fxs, dect | | hardware-status | String | R | Hardware status of the phone line |
| fxs | | onhook | Switch | R | Indicates whether the phone is on hook |
| dect | | dect-active | Switch | RW | Activates / stops the integrated DECT base |