Replies: 2 comments 1 reply
-
I have never tried this but suppose that you have to provide all input-arguments according to https://avm.de/fileadmin/user_upload/Global/Service/Schnittstellen/wanpppconnSCPD.pdf, in case the action is allowed at all. In this case |
Beta Was this translation helpful? Give feedback.
-
I'm not a network expert but suppose the key is to understand the meaning of the documentation:
|
Beta Was this translation helpful? Give feedback.
-
I want to Change the Type of Connection with FritzConnection in Python. What is the command to change the connection type and where must the login data for the static IP be entered? Enclosed is a photo where you can see the difference when I read out the information when I am logged in once normally and once via the static IP.
On the second Picture is the GUI from the FritzBox what i want to change with Python.
Thanks for help.
I tried
fc.call_action('WANPPPConnection','SetForwardingEntryEnable',NewEnable = 'False')
and
fc.call_action('WANPPPConnection','AddPortMapping',Enabled=0)
fc.call_action('WANPPPConnection','AddPortMapping',Enabled="False")
fc.call_action('WANPPPConnection','AddPortMapping',NewEnabled="False")
fc.call_action('WANPPPConnection','AddPortMapping',NewEnabled=0)
fc.call_action('WANPPPConnection','AddPortMapping',NewEnabled='0')
fc.call_action('WANPPPConnection','AddPortMapping',NewEnabled='FALSE')
fc.call_action('WANPPPConnection','AddPortMapping',Enabled={0})
I always got
FritzArgumentError: UPnPError: errorCode: 402 errorDescription: Invalid Args
Beta Was this translation helpful? Give feedback.
All reactions