def METHOD_NAME(self):
    try:
        hConn = httplib.HTTPConnection(self.ip_addr.data())
    except:
        print('Cannot connect to '+self.ip_addr.data())
        raise mdsExceptions.TclFAILED_ESSENTIAL
    jsonStr = {'datasets': {'params': {'single_btn': 1}}}
    try:
        hConn.request("POST", "/data", json.dumps(jsonStr))
        hConn.getresponse()
    except:
        print("Cannot trigger device")
        raise mdsExceptions.TclFAILED_ESSENTIAL
    return