doorbelldingdongringringdoo.../main.py

15 lines
296 B
Python
Raw Normal View History

2021-10-15 19:47:23 +00:00
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)