Calling Url Issue- WemoManager

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

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

1 Like

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.