Fritzbox SmartHome C++ Interface
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Steffen Pohle e272276cf8
Merge branch 'master' of steffen.gulpe.de:steffen/FBSmartHome
4 years ago
.gitignore FritzBox Login is working now 4 years ago
Makefile FritzBox Login is working now 4 years ago
README.md Update 'README.md' 4 years ago
cfg.cc FritzBox Login is working now 4 years ago
cfg.h FritzBox Login is working now 4 years ago
fb-login-test.sh FritzBox Login is working now 4 years ago
fbsh-cli.cc adding SID line on connect 4 years ago
fbsh.cc FritzBox Login is working now 4 years ago
fbsh.h FritzBox Login is working now 4 years ago
tcp.cc FritzBox Login is working now 4 years ago
tcp.h FritzBox Login is working now 4 years ago

README.md

FBSmartHome

fbsh-cli - FritzBox SmartHome Console Client

Configuration File

To set some default settings and create the configuration file, just run the command.

./fbsh-cli -host http://192.168.0.1 -user SOMEUSER -pass SOMEPASSWORD saveconfig

The default configuration will be saved under $HOME/.fbsh.config. In addition the client will save a SID file .fbsh.sid which contains the last known SID (session ID). This file will also be located inside the home directory.

Check the Login

Test the connection with ./fbsh-cli connect. The successfull conntion will look like:

user@desktop ~/FBSmartHome $ ./fbsh-cli connect
SID:989346018a2dca53
user@desktop ~/FBSmartHome $  

Supported Commands

  • saveconfig
  • connect
  • list
  • help

Currently Not Working

  • HTTPS is yet not supported