Update state error messages Homes, update gateway login

This commit is contained in:
BWS Systems
2019-05-30 15:45:35 -05:00
parent 5f6bfae41a
commit 2d3fac691b
19 changed files with 101 additions and 55 deletions

View File

@@ -67,13 +67,13 @@ public class CommandHome implements Home {
log.warn("Could not execute request: " + anItem + " with message: " + e.getMessage());
responseString = "[{\"error\":{\"type\": 6, \"address\": \"/lights/" + lightId
+ "\",\"description\": \"Error on calling out to device\", \"parameter\": \"/lights/" + lightId
+ "state\"}}]";
+ "/state\"}}]";
}
} else {
log.warn("Could not execute request. Request is empty.");
responseString = "[{\"error\":{\"type\": 6, \"address\": \"/lights/" + lightId
+ "\",\"description\": \"Error on calling out to device\", \"parameter\": \"/lights/" + lightId
+ "state\"}}]";
+ "/state\"}}]";
}
return responseString;