Very simple tool to reboot your Freebox (using API library: fbx-delta-nba_bash_api.sh)
sourcing lib : fbx-delta-nba_bash_api.sh
You can get the library here on this branch (at the time I'm writing, changes are not merged on the original project, so use the branch): https://github.com/nbanb/fbx-delta-nba_bash_api.sh/tree/nbanb-freebox-api
You need to have curl
and openssl
installed.
Get the source:
$ curl -L https://github.com/nbanb/fbx-delta-nba_bash_api.sh/raw/nbanb-freebox-api/fbx-delta-nba_bash_api.sh > fbx-delta-nba_bash_api.sh
First get a token which allow this app to login Feebox Delta API :
It is used to obtain a token to identify a new application (need to be done only once)
$ source ./fbx-delta-nba_bash_api.sh
$ authorize_application 'MyWonderfull.app' 'My Wonderfull App' '1.0.0' 'Deb 11'
Please grant/deny access to the app on the Freebox LCD...
Authorization granted
MY_APP_ID="MyWonderfull.app"
MY_APP_TOKEN="4uZTLMMwSyiPB42tSCWLpSSZbXIYi+d+F32tVMx2j1p8oSUUk4Awr/OMZne4RRlY"
$ curl -L https://raw.githubusercontent.com/nbanb/fbx-reboot/main/fbx-reboot >fbx-reboot
$ chmod +x fbx-reboot
Update fbx-reboot
program with your just obtain values :
MY_APP_ID="YourNewFBXVM.app"
MY_APP_TOKEN="YourNewFBXVM.app.JustObtainToken"