Update upnp listener module to even be less strict in normal mode as I

have found instances of devices that do not follow the pure upnp
standard. Updated README as it was wrong for the upnp.device.db...it had
an s after device. updated the code to return back to config after
adding or updating a device.
This commit is contained in:
Admin
2015-09-10 16:08:29 -05:00
parent 74d4548beb
commit 774bc8a36b
5 changed files with 14 additions and 8 deletions

View File

@@ -252,7 +252,7 @@ app.controller('ViewingController', function ($scope, $location, bridgeService,
app.controller('AddingController', function ($scope, bridgeService, BridgeSettings) {
$scope.device = {id: "", name: "", deviceType: "switch", onUrl: "", offUrl: ""};
$scope.device = {id: "", name: "", deviceType: "switch", onUrl: "", offUrl: "", httpVerb: "", contentType: "", contentBody: ""};
$scope.vera = {base: "", port: "3480", id: ""};
$scope.vera.base = "http://" + BridgeSettings.veraaddress;
bridgeService.device = $scope.device;
@@ -334,6 +334,7 @@ app.controller('AddingController', function ($scope, bridgeService, BridgeSettin
$scope.device.httpVerb = "";
$scope.device.contentType = "";
$scope.device.contentBody = "";
$location.path('/');
},
function (error) {
}