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

Invoke the WPS button #180

Open Glutnix opened 1 year ago

Glutnix commented 1 year ago

In the same vein that there methods to reboot the FritzBox and have it reconnect to the upstream ISP, it would be great if this library provided a method to 'click the WPS button'. This is 'Wi-Fi Protected Setup (WPS)'

image (found this image on the net, it's in German but it's clear where the software WPS button is)

I know this can be currently be done from the web ui, (see screenshot) but it would be great to be able to do this from this library, which is used by the fritz Home Assistant integration which currently gives us the ability to trigger reboots and reconnections.

My ultimate use case is to be able to put a "Start WPS" button within the Home Assistant dashboard.

kbr commented 1 year ago

Good idea, but currently I don't know whether TR-064 support triggering a WPS start-event. Will keep this in mind to check. (And well, german is not a problem ;)