mirror of
https://github.com/UGA-Innovation-Factory/UR10-Sentry.git
synced 2025-12-20 09:06:11 +00:00
Dockerfile and slight robot adjustments
This commit is contained in:
@@ -65,10 +65,10 @@ def find_coords(message: str) -> list[str]:
|
||||
return coords
|
||||
|
||||
|
||||
def run(q: queue.Queue) -> None:
|
||||
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")
|
||||
password = dotenv.get_key(dotenv.find_dotenv(), "UNIFI_PASSWORD") if passwrd is None else 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