From 7e010522abcccf443c4b5f3d08dfae55e818192a Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Mon, 18 Jul 2022 15:59:28 -0400 Subject: [PATCH] starting with example code --- elgato.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 elgato.py diff --git a/elgato.py b/elgato.py new file mode 100644 index 0000000..7d74327 --- /dev/null +++ b/elgato.py @@ -0,0 +1,8 @@ +import leglight +allLights = leglight.discover(2) +print(allLights) +for light in allLights: + light.off() +#myLight = leglight.LegLight('192.168.68.112',9123) +#print(myLight) +#myLight.on()