// We don't use zone at this point (for this alarm there is only 1 zone and 1 alarm)
+ // Send login request first
+ sendLoginRequest();
+ // Send login info (challenge and HMAC encrypted message)
+ sendLoginInfo();
// True means on
if (_onOff) {
if ((_onDurationSeconds == -1) || (_onDurationSeconds > 86400)) {
"\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Body>";
// End!
end = "</soap:Body></soap:Envelope>\r\n";
- // Send login request first
- sendLoginRequest();
- // Send login info (challenge and HMAC encrypted message)
- sendLoginInfo();
} catch (Exception e) {
e.printStackTrace();
}