Update ecobeeAwayFromHome.groovy
[smartapps.git] / official / simple-control.groovy
index 3b4bfaa6597f4636e47229fa3396bcacffe41aea..41f3968af41d1dad5a80518296ff9c0642a1801e 100755 (executable)
@@ -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()