pyunifi
pyunifi copied to clipboard
Fixes https://github.com/finish06/pyunifi/issues/61 and more. For create_backup the suggested solution from https://github.com/finish06/pyunifi/issues/61 was taken. get_backup still failed, because `if response != 200:` was used instead of `if response.status_code != 200:`. The...
Hey Pyunifi developers, I have set the flag `ssl_verify` to `False` as x.509 certificate verification is not a concern in my environment. While this flag is disabled, I noticed that...
This should make it easier to change a WLAN Password. it also referrers to #28. It uses the build in PUT function.
executing switch_port_power_on or switch_port_power_off will modify the port overrides such that the assigned network is set to "default". the port configuration gets into a jacked up state where the only...
Based on code from: https://github.com/Art-of-WiFi/UniFi-API-client
Also fixes suppressing the TLS warning. Closes #67.
`switch_port_power_off` or `switch_port_power_on` will fail: `TypeError: list indices must be integers or slices, not dict`. I fixed it with replacing `for i in overrides:` with `for i in range(len(overrides)):` in...
When doing this : `mycontroller.switch_port_power_off('24:6a:4c:52:d2:1c',15)` I get this error message : `list indices must be integers or slices, not dict`
Adds the ability to change/set the WLAN config.
This code does not work and also if the caller has already called `urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)` it prevents that from working either: ``` if ssl_verify is False: warnings.simplefilter("default", category=InsecureRequestWarning) ``` Removing that...