Vibecoded fixes & readme

This commit is contained in:
Artem Kokos
2026-03-28 20:11:23 +07:00
parent 62af4e46af
commit d024ba78ab
7 changed files with 631 additions and 259 deletions

View File

@@ -42,7 +42,7 @@ class WizDriver:
}
async def send_udp(self, ip: str, payload: dict):
loop = asyncio.get_event_loop()
loop = asyncio.get_running_loop()
with socket.socket(socket.AF_INET, socket.SOCK_DGRAM) as sock:
sock.settimeout(2.0)
data = json.dumps(payload).encode()