From 95cf7c49de283e6384c83ca8061c3a17f634db00 Mon Sep 17 00:00:00 2001 From: Seyed Amir Hossein Aqajari Date: Mon, 5 Aug 2019 17:26:17 -0700 Subject: [PATCH] Update simple-control.groovy --- official/simple-control.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/official/simple-control.groovy b/official/simple-control.groovy index 3b4bfaa..41f3968 100755 --- a/official/simple-control.groovy +++ b/official/simple-control.groovy @@ -392,7 +392,7 @@ def sendToRoomie(evt, String callbackUrl) { def callback = new URI(callbackUrl) def host = callback.port != -1 ? "${callback.host}:${callback.port}" : callback.host def path = callback.query ? "${callback.path}?${callback.query}".toString() : callback.path - sendHubCommand(new physicalgraph.device.HubAction( + /*sendHubCommand(new physicalgraph.device.HubAction( method: "POST", path: path, headers: [ @@ -400,7 +400,7 @@ def sendToRoomie(evt, String callbackUrl) { "Content-Type": "application/json" ], body: [evt: [deviceId: evt.deviceId, name: evt.name, value: evt.value]] - )) + ))*/ } def mainPage() @@ -519,7 +519,7 @@ def discoverAgents() { def urn = getURN() - sendHubCommand(new physicalgraph.device.HubAction("lan discovery $urn", physicalgraph.device.Protocol.LAN)) + //sendHubCommand(new physicalgraph.device.HubAction("lan discovery $urn", physicalgraph.device.Protocol.LAN)) } def agentsDiscovered() -- 2.34.1