![]() ![]() this can be network settings, status informations, access to home automation devices and much more. In general FritzConnection can execute every service and action provided by the (model-specific) API as documented by AVM. Both APIs can be used on the same FritzConnection instance side by side.Ĭall_action() expects a TR-064 service- and an action-name (and optional arguments). # http interface: gets history data from a device with given 'ain'įc.call_http("getbasicdevicestats", "12345 7891011")įritzConnection provides two basic commands to communicate with the router APIs: call_action() for the TR-064-Interface and call_http() for the (AHA)-HTTP-Interface. # tr-064 interface: reconnect for a new ipįc.call_action("WANIPConn1", "ForceTermination") ![]() Print(fc) # print router model information Using fritzconnection is as easy as: from fritzconnection import FritzConnectionįc = FritzConnection(address="192.168.178.1", user="user", password="pw") The latter will install the segno package to enable QR-code creation for wifi login. Installation:įor installation use pip $ pip install fritzconnection Supports the TR-064 protocol, the (AHA-)HTTP-Interface and also allows call-monitoring. Python-Interface to communicate with the AVM Fritz!Box and connected devices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |