From 28bf77a1f12b720d4e1448434f3eda94814bcad4 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 25 Apr 2020 23:41:19 +0100 Subject: fix(fun/idual): Hardcode the Broadlink thing's local address --- fun/idual/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fun') 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() -- cgit 1.4.1