You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import settings |
|
|
|
from pyunifiprotect import cli |
|
|
|
if __name__ == '__main__': |
|
protect = cli._get_server( |
|
settings.UFP_USERNAME, |
|
settings.UFP_PASSWORD, |
|
settings.UFP_ADDRESS, |
|
settings.UFP_PORT, |
|
settings.UFP_SSL_VERIFY |
|
) |
|
|
|
cli._listen_to_ws(protect)
|
|
|