Calling Url Issue- WemoManager


(Nick) #1

Hi There,

I’ve setup wemomanager on a android and trying to call a event via smartthings upon a motion sense.

I’ve placed this in my code ,

def motionActiveHandler(evt) {
switch1.on()

def params = [
uri: "http://xxxx.ddns.net:4030",
path: "/event/fanon"

]

try {

httpGet(params) { resp ->
    resp.headers.each {
       log.debug "${it.name} : ${it.value}"
    }
    log.debug "response contentType: ${resp.contentType}"
    log.debug "response data: ${resp.data}"
}

} catch (e) {
log.error “something went wrong: $e”
}

I’m getting either a “has been blacklisted” or a timeout error…

Any hints as to where i’ve gone wrong would be welcomed

Nick


#2

A lot of stuff is timing out right now. It might not be your code. See the following:


(April Wong) #3

SmartApps execution is experiencing some issues at the moment. Our TechOps is working on it, and the system should be behaving a lot better now as we speak, but still in works at the moment.

edit: done and done. try again, and let me know if you’re still experiencing issues.