From d57bfec7ba27ebe7d9c25c209638fd8519730fe5 Mon Sep 17 00:00:00 2001 From: denis Date: Thu, 14 Sep 2023 09:37:21 +0200 Subject: [PATCH] use new domoticz API --- .../bwssystems/HABridge/plugins/domoticz/DomoticzHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/bwssystems/HABridge/plugins/domoticz/DomoticzHandler.java b/src/main/java/com/bwssystems/HABridge/plugins/domoticz/DomoticzHandler.java index 5ec77ca3..86455204 100644 --- a/src/main/java/com/bwssystems/HABridge/plugins/domoticz/DomoticzHandler.java +++ b/src/main/java/com/bwssystems/HABridge/plugins/domoticz/DomoticzHandler.java @@ -12,8 +12,8 @@ public class DomoticzHandler { private static final Logger log = LoggerFactory.getLogger(DomoticzHandler.class); - private static final String GET_REQUEST = "/json.htm?type="; - private static final String DEVICES_TYPE = "devices"; + private static final String GET_REQUEST = "/json.htm?type=command¶m="; + private static final String DEVICES_TYPE = "getdevices"; private static final String SCENES_TYPE = "scenes"; private static final String FILTER_USED = "&used=true"; private NamedIP domoticzAddress;