mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-19 00:20:26 +00:00
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:
@@ -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) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user