hthiery / python-fritzhome

Python Library to access AVM Fritz!Box homeautomation
MIT License
52 stars 37 forks source link

Support non-standard ports #25

Closed tobox closed 4 years ago

tobox commented 4 years ago

I had to configure my Fritz!Box to a TCP port different from 443. Can you provide a parameter to specify the port?

I am not using python-fritzhome directly, but through home assistant, where I have also opened a related issue:

https://github.com/home-assistant/core/issues/36903

hthiery commented 4 years ago

just take a quick look on it but as far as I can see you should set the right port just in the url.

e.g. for port 1234: host=10.0.0.1:1234

https://stackoverflow.com/questions/25582875/set-port-in-requests

tobox commented 4 years ago

The problem seems to be somewhere else... I will first check the home assistant part.

python-fritzhome seems to work fine on the command line without any specific port setting.