Open SjurWarEagle opened 3 years ago
401 is an authentication error. You need to authenticate the operation by using the --username
and --password
arguments.
It somehow feels strange, that the connection is working, it can read the os version, but getting other data is not possible.
The operation you want to perform requires a login, whereas listing the device info does not.
@SjurWarEagle do other commands work, for example
$ fritzhosts -i 192.168.178.1 -p blabla123
fritzconnection v1.13.2
FRITZ!Box 5530 Fiber at http://192.168.178.1
FRITZ!OS: 7.58
FritzHosts:
List of registered hosts:
n: ip name mac status
1: 192.168.178.22 DiskStation 00:11:32:15:7F:EE -
2: 192.168.178.33 Galaxy-S20-FE-5G 22:4C:CC:C0:8F:AA active
3: 192.168.178.31 Google-Home-Mini 44:07:0B:5F:8B:BB active
...
``
Hi,
I'm trying to get your code running, sadly with not much success, maybe you can give me a hint of what I'm doing wrong.
-e
or no encryption makes no difference.Of course when make the call using my own python script and not the provided script I get the same message.
In the webfrontend the home automation device list is filled (sorry for German screenshot in English error report)
It somehow feels strange, that the connection is working, it can read the os version, but getting other data is not possible. Is there some permission on Fritzbox Side I have to provide?