kbr / fritzconnection

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

Additional host attributes #127

Closed 4ch1m closed 2 years ago

4ch1m commented 2 years ago

Fetches additional host attributes and adds them to the returned dictionary:

Especially the "Interface Type" is interesting, since it will show if the host is connected via wire or has a wireless connection ("Ethernet", "802.11").

kbr commented 2 years ago

Thanks for the pull request. Originally the information selection in get_hosts_info() was for the cli-interface of fritzhosts. Everything else is available by the underlying get_generic_host_entry() method. However it will not hurt to provide all the other informations. But in this case I would use more pythonic key-names like interface_type instead of interfaceType etc.

4ch1m commented 2 years ago

Sure thing. Done. :heavy_check_mark:

Thanks for your efforts on this project. :bowing_man: