diff --git a/pom.xml b/pom.xml index 9d322e9..8947dec 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.bwssystems.HABridge ha-bridge - 2.0.7-hal-i + 2.0.7-hal-j jar HA Bridge diff --git a/src/main/java/com/bwssystems/HABridge/hue/HueMulator.java b/src/main/java/com/bwssystems/HABridge/hue/HueMulator.java index c6a0cb1..951e1fd 100644 --- a/src/main/java/com/bwssystems/HABridge/hue/HueMulator.java +++ b/src/main/java/com/bwssystems/HABridge/hue/HueMulator.java @@ -247,6 +247,7 @@ public class HueMulator implements HueErrorStringSet { return "{}"; }); + // http://ip_address:port/api/{userId}/lights returns json objects of all lights configured get(HUE_CONTEXT + "/:userid/lights", "application/json", (request, response) -> { String userId = request.params(":userid"); if(bridgeSettings.isTraceupnp()) diff --git a/src/main/resources/public/scripts/app.js b/src/main/resources/public/scripts/app.js index e03f13b..6fe822b 100644 --- a/src/main/resources/public/scripts/app.js +++ b/src/main/resources/public/scripts/app.js @@ -970,6 +970,7 @@ app.controller('VeraController', function ($scope, $location, $http, bridgeServi deviceType: $scope.device.deviceType, targetDevice: $scope.device.targetDevice, onUrl: $scope.device.onUrl, + dimUrl: $scope.device.dimUrl, offUrl: $scope.device.offUrl, headers: $scope.device.headers, httpVerb: $scope.device.httpVerb, @@ -1302,6 +1303,7 @@ app.controller('HueController', function ($scope, $location, $http, bridgeServic deviceType: $scope.device.deviceType, targetDevice: $scope.device.targetDevice, onUrl: $scope.device.onUrl, + dimUrl: $scope.device.dimUrl, offUrl: $scope.device.offUrl, headers: $scope.device.headers, httpVerb: $scope.device.httpVerb, @@ -1619,6 +1621,7 @@ app.controller('HalController', function ($scope, $location, $http, bridgeServic deviceType: $scope.device.deviceType, targetDevice: $scope.device.targetDevice, onUrl: $scope.device.onUrl, + dimUrl: $scope.device.dimUrl, offUrl: $scope.device.offUrl, headers: $scope.device.headers, httpVerb: $scope.device.httpVerb, diff --git a/src/main/resources/public/views/system.html b/src/main/resources/public/views/system.html index f863001..2f7d8c6 100644 --- a/src/main/resources/public/views/system.html +++ b/src/main/resources/public/views/system.html @@ -40,7 +40,7 @@

-