about summary refs log tree commit diff
path: root/fun
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-04-25T22·41+0100
committerVincent Ambo <tazjin@google.com>2020-04-25T22·41+0100
commit28bf77a1f12b720d4e1448434f3eda94814bcad4 (patch)
treeeea82e0ebedab2e6c4b222118e0c377cb75084fb /fun
parentdff91042fd6f3244b6af28b70e09ce38676c8fb1 (diff)
fix(fun/idual): Hardcode the Broadlink thing's local address r/687
Diffstat (limited to 'fun')
-rw-r--r--fun/idual/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fun/idual/__init__.py b/fun/idual/__init__.py
index 4a1344e303a3..2c0f97170b54 100644
--- a/fun/idual/__init__.py
+++ b/fun/idual/__init__.py
@@ -41,7 +41,7 @@ commands = {
 
 class LightController:
     def __init__(self):
-        devices = broadlink.discover(timeout=2)
+        devices = broadlink.discover(timeout=2, discover_ip_address='192.168.1.11')
         if devices == []:
             raise Exception('no devices found')
         devices[0].auth()