mirror of
https://github.com/UGA-Innovation-Factory/UR10-Sentry.git
synced 2026-01-24 07:17:02 +00:00
dockerfile ready
This commit is contained in:
@@ -68,7 +68,10 @@ def find_coords(message: str) -> list[str]:
|
||||
def run(q: queue.Queue, passwrd : str | None = None) -> None:
|
||||
base_url = "https://172.22.114.176" # Replace with your UniFi Protect base URL
|
||||
username = "engr-ugaif" # Replace with your username
|
||||
password = dotenv.get_key(dotenv.find_dotenv(), "UNIFI_PASSWORD") if passwrd is None else passwrd
|
||||
if passwrd is None:
|
||||
password = dotenv.get_key(dotenv.find_dotenv(), "UNIFI_PASSWORD")
|
||||
else:
|
||||
password = passwrd
|
||||
ws_url = "wss://172.22.114.176/proxy/protect/ws/liveDetectTrack?camera=668daa1e019ce603e4002d31" # Replace with your WebSocket URL
|
||||
|
||||
cookies = get_token(base_url, username, password)
|
||||
|
||||
Reference in New Issue
Block a user