kbr / fritzconnection

Python-Tool to communicate with the AVM Fritz!Box by the TR-064 protocol and the AHA-HTTP-Interface
MIT License
304 stars 59 forks source link

Enable auth for DeviceManager #48

Closed viaregio closed 4 years ago

viaregio commented 4 years ago

During the initilization of a FritzConnection a DeviceManager object is created with the session of the FritzConnection but this session doesn't contain the authentification data of the FritzConnection.

So for a connection using a address of the form my-fritzbox-id.myfritz.net and a port of the form my-port/tr064 the connection fails.

After applying the changes of this pull request the connection can be established and calling call_action works.