diff --git a/pom.xml b/pom.xml index 093c65b..df840f7 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.bwssystems.HABridge ha-bridge - 4beta2.7 + 4beta2.8 jar HA Bridge diff --git a/src/main/resources/public/scripts/app.js b/src/main/resources/public/scripts/app.js index f7ecc83..8471c83 100644 --- a/src/main/resources/public/scripts/app.js +++ b/src/main/resources/public/scripts/app.js @@ -10,9 +10,6 @@ app.config (function ($routeProvider) { }).when ('/logs', { templateUrl: 'views/logs.html', controller: 'LogsController' - }).when ('/editor', { - templateUrl: 'views/editor.html', - controller: 'EditController' }).when ('/editdevice', { templateUrl: 'views/editdevice.html', controller: 'EditController' @@ -2079,6 +2076,8 @@ app.controller('EditController', function ($scope, $location, $http, bridgeServi $scope.clearDevice = function () { bridgeService.clearDevice(); $scope.onDevices = null; + $scope.dimDevices = null; + $scope.offDevices = null; }; $scope.addDevice = function () { diff --git a/src/main/resources/public/views/configuration.html b/src/main/resources/public/views/configuration.html index a0e9ca4..0d729d4 100644 --- a/src/main/resources/public/views/configuration.html +++ b/src/main/resources/public/views/configuration.html @@ -19,7 +19,7 @@ href="#/haldevices">HAL Devices
  • MQTT Messages
  • HomeAssistant Devices
  • -
  • Manual Add
  • +
  • Add/Edit
  • diff --git a/src/main/resources/public/views/editdevice.html b/src/main/resources/public/views/editdevice.html index 6ea8b00..1953947 100644 --- a/src/main/resources/public/views/editdevice.html +++ b/src/main/resources/public/views/editdevice.html @@ -15,11 +15,11 @@ href="#/huedevices">Hue Devices
  • HAL Devices
  • -
  • MQTT Messages
  • -
  • HomeAssistant Devices
  • -
  • Manual Add
  • - +
  • MQTT Messages
  • +
  • HomeAssistant Devices
  • +
    @@ -31,520 +31,530 @@ fields the bridge uses. Please use care when updating these fields as you may break the settings used by the bridge to call a specific end point device.

    +

    This area allows you to create any http or + udp call to an endpoint. You can use the default GET or select the + http verb type below and configure a payload for either on, dim or + off methods. For Execution of a + script or program, plese fill in the path. All manually entered calls + can use Json notation of array with [{"item":"the + payload"},{"item":"another payload"}] to + execute multiple entries. Adding the value replacements + (${intensity..byte},${intensity.percent},${intensity.math(X*1)}) will + also work.

    When copying, update the name and select the "Add Bridge Device" Button.

    -
    -

    - - - -

    - - - - + +

    + + + +

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + for="device-name">Name - - - - + + + + - - - - + + + + - - -
    - -
    - -
    - -
    - -
    - -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TypeTarget ItemDelayCountFilter IPsHttp VerbHttp BodyHttp HeadersContent TypeManage
    - - - - - -
    - - - - - -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TypeTarget ItemDelayCountFilter IPsHttp VerbHttp BodyHttp HeadersContent TypeManage
    - - - - - -
    - - - - - -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TypeTarget ItemDelayCountFilter IPsHttp VerbHttp BodyHttp HeadersContent TypeManage
    - - - - - -
    - - - - - -
    -
    -
    - -
    - -
    - -
    - -
    - -
    - -
    -
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeTarget ItemDelayCountFilter IPsHttp VerbHttp BodyHttp HeadersContent TypeManage
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeTarget ItemDelayCountFilter IPsHttp VerbHttp BodyHttp HeadersContent TypeManage
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    TypeTarget ItemDelayCountFilter IPsHttp VerbHttp BodyHttp HeadersContent TypeManage
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    \ No newline at end of file diff --git a/src/main/resources/public/views/editor.html b/src/main/resources/public/views/editor.html index 4a6499e..96c2274 100644 --- a/src/main/resources/public/views/editor.html +++ b/src/main/resources/public/views/editor.html @@ -17,8 +17,7 @@ href="#/haldevices">HAL Devices
  • MQTT Messages
  • HomeAssistant Devices
  • - +
    diff --git a/src/main/resources/public/views/haldevice.html b/src/main/resources/public/views/haldevice.html index 1ea0ae0..e84d689 100644 --- a/src/main/resources/public/views/haldevice.html +++ b/src/main/resources/public/views/haldevice.html @@ -16,7 +16,7 @@ Devices
  • MQTT Messages
  • HomeAssistant Devices
  • -
  • Manual Add
  • +
  • Add/Edit
  • diff --git a/src/main/resources/public/views/harmonyactivity.html b/src/main/resources/public/views/harmonyactivity.html index 12dd2ea..6c3775d 100644 --- a/src/main/resources/public/views/harmonyactivity.html +++ b/src/main/resources/public/views/harmonyactivity.html @@ -17,7 +17,7 @@ href="#/haldevices">HAL Devices
  • MQTT Messages
  • HomeAssistant Devices
  • -
  • Manual Add
  • +
  • Add/Edit
  • diff --git a/src/main/resources/public/views/harmonydevice.html b/src/main/resources/public/views/harmonydevice.html index 8ac0bcc..bed932e 100644 --- a/src/main/resources/public/views/harmonydevice.html +++ b/src/main/resources/public/views/harmonydevice.html @@ -17,7 +17,7 @@ href="#/haldevices">HAL Devices
  • MQTT Messages
  • HomeAssistant Devices
  • -
  • Manual Add
  • +
  • Add/Edit
  • diff --git a/src/main/resources/public/views/hassdevice.html b/src/main/resources/public/views/hassdevice.html index e534dcd..e5d71b0 100644 --- a/src/main/resources/public/views/hassdevice.html +++ b/src/main/resources/public/views/hassdevice.html @@ -17,7 +17,7 @@
  • MQTT Messages
  • -
  • Manual Add
  • +
  • Add/Edit
  • diff --git a/src/main/resources/public/views/huedevice.html b/src/main/resources/public/views/huedevice.html index 295272e..ac50abd 100644 --- a/src/main/resources/public/views/huedevice.html +++ b/src/main/resources/public/views/huedevice.html @@ -17,7 +17,7 @@ href="#/haldevices">HAL Devices
  • MQTT Messages
  • HomeAssistant Devices
  • -
  • Manual Add
  • +
  • Add/Edit
  • diff --git a/src/main/resources/public/views/logs.html b/src/main/resources/public/views/logs.html index 8804ec2..55a8b78 100644 --- a/src/main/resources/public/views/logs.html +++ b/src/main/resources/public/views/logs.html @@ -17,7 +17,7 @@ href="#/haldevices">HAL Devices
  • MQTT Messages
  • HomeAssistant Devices
  • -
  • Manual Add
  • +
  • Add/Edit
  • diff --git a/src/main/resources/public/views/mqttpublish.html b/src/main/resources/public/views/mqttpublish.html index 111e270..c91b8d2 100644 --- a/src/main/resources/public/views/mqttpublish.html +++ b/src/main/resources/public/views/mqttpublish.html @@ -11,7 +11,7 @@
  • HAL Devices
  • HomeAssistant Devices
  • -
  • Manual Add
  • +
  • Add/Edit
  • diff --git a/src/main/resources/public/views/nestactions.html b/src/main/resources/public/views/nestactions.html index 828ac80..2bd0bda 100644 --- a/src/main/resources/public/views/nestactions.html +++ b/src/main/resources/public/views/nestactions.html @@ -17,7 +17,7 @@ href="#/haldevices">HAL Devices
  • MQTT Messages
  • HomeAssistant Devices
  • -
  • Manual Add
  • +
  • Add/Edit
  • diff --git a/src/main/resources/public/views/system.html b/src/main/resources/public/views/system.html index 4b6669d..15047bf 100644 --- a/src/main/resources/public/views/system.html +++ b/src/main/resources/public/views/system.html @@ -18,7 +18,7 @@ href="#/haldevices">HAL Devices
  • MQTT Messages
  • HomeAssistant Devices
  • -
  • Manual Add
  • +
  • Add/Edit
  • diff --git a/src/main/resources/public/views/veradevice.html b/src/main/resources/public/views/veradevice.html index 3c328c8..58f6eaa 100644 --- a/src/main/resources/public/views/veradevice.html +++ b/src/main/resources/public/views/veradevice.html @@ -16,7 +16,7 @@ href="#/haldevices">HAL Devices
  • MQTT Messages
  • HomeAssistant Devices
  • -
  • Manual Add
  • +
  • Add/Edit
  • diff --git a/src/main/resources/public/views/verascene.html b/src/main/resources/public/views/verascene.html index 4fea6d6..bde29a3 100644 --- a/src/main/resources/public/views/verascene.html +++ b/src/main/resources/public/views/verascene.html @@ -16,7 +16,7 @@ href="#/haldevices">HAL Devices
  • MQTT Messages
  • HomeAssistant Devices
  • -
  • Manual Add
  • +
  • Add/Edit