From 9db82cd0dc2c4b2b78f98c000dc774b74bcd238c Mon Sep 17 00:00:00 2001 From: Matthew Hasselfield Date: Tue, 14 Jul 2026 09:18:40 -0400 Subject: [PATCH 1/3] ACU: use accessLevel-aware widgets throughout Also reformat code for buttons, and style numerical indicators better so they don't look editable. --- src/panels/ACUAgent.vue | 127 +++++++++++++++------------------------- 1 file changed, 46 insertions(+), 81 deletions(-) diff --git a/src/panels/ACUAgent.vue b/src/panels/ACUAgent.vue index 7a2509e..d03f9fc 100644 --- a/src/panels/ACUAgent.vue +++ b/src/panels/ACUAgent.vue @@ -174,12 +174,8 @@ />
@@ -200,12 +196,8 @@
@@ -223,12 +215,8 @@ v-model="motion_control.goto_target_stop" />
@@ -246,24 +234,16 @@
- + Go
- + Go
- - + Enable + Disable, 30 mins
@@ -278,12 +258,8 @@
- - + Enable + Disable
@@ -301,12 +277,8 @@
- - + Open + Close
@@ -314,21 +286,15 @@ v-if="motion_control.type == 'special'">
- + Clear
- + Stop
- + UnStow
@@ -351,6 +317,7 @@ +
@@ -390,17 +357,14 @@ - On - Off + On + Off
@@ -409,29 +373,25 @@
- On - Off + On + Off
-
+
@@ -439,21 +399,17 @@
- On - Off + On + Off
-
+
@@ -683,7 +639,7 @@ props: { address: String, }, - inject: ['accessLevel'], + // inject: ['accessLevel'], data: function () { return { dev_mode: false, // DO NOT COMMIT THIS AS TRUE! @@ -805,7 +761,7 @@ goto_target: null, goto_target_stop: true, - hvac_view: "Summary", + hvac_view: "Set Fans", hvac_setpoints: {}, }, start_types: ["end", "mid"], @@ -1716,7 +1672,7 @@ text-align: center; } .hvac_row > label { - padding: 0px 5px; + padding: 10px 5px; } .hvac_header { @@ -1728,6 +1684,15 @@ text-align: center; } + .hvac_row > input:read-only { + border: 1px solid gray; + border-radius: 4px; + } + .hvac_row > input:-moz-read-only { + border: 1px solid gray; + border-radius: 4px; + } + /* Classes for rows in the Dataset table: * - isNormal: no error / idle. * - isBad: error. From 03063b66fabf67ce7d5ab9b4cf82858e7e6e8f05 Mon Sep 17 00:00:00 2001 From: Matthew Hasselfield Date: Tue, 14 Jul 2026 09:28:24 -0400 Subject: [PATCH 2/3] ACU: more disable options for Sun Avoidance --- src/panels/ACUAgent.vue | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/panels/ACUAgent.vue b/src/panels/ACUAgent.vue index d03f9fc..bb9ae27 100644 --- a/src/panels/ACUAgent.vue +++ b/src/panels/ACUAgent.vue @@ -241,9 +241,15 @@ Go
- + Enable - Disable, 30 mins + Disable +
+
+ + + Disable for
@@ -763,6 +769,7 @@ hvac_view: "Set Fans", hvac_setpoints: {}, + sun_disable_time: 30, }, start_types: ["end", "mid"], speed_modes: ["high", "low"], @@ -871,10 +878,14 @@ window.ocs_bundle.ui_run_task(this.address, 'update_sun', {'escape': true}); break; - case 'disable': + case 'temp_disable': window.ocs_bundle.ui_run_task(this.address, 'update_sun', {'temporary_disable': arg1 * 60}); break; + case 'disable': + window.ocs_bundle.ui_run_task(this.address, 'update_sun', + {'enable': false}); + break; case 'enable': window.ocs_bundle.ui_run_task(this.address, 'update_sun', {'enable': true}); From 95e5baebde4f1f5fa61befdeac32632f5c9b34e7 Mon Sep 17 00:00:00 2001 From: Matthew Hasselfield Date: Tue, 14 Jul 2026 09:30:04 -0400 Subject: [PATCH 3/3] ACU: set_boresight defaults to stop_at_end=True --- src/panels/ACUAgent.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/panels/ACUAgent.vue b/src/panels/ACUAgent.vue index bb9ae27..acec594 100644 --- a/src/panels/ACUAgent.vue +++ b/src/panels/ACUAgent.vue @@ -680,7 +680,8 @@ }, }, set_boresight: { - params: {target: 0}, + params: {target: 0, + end_stop: true}, }, stop_and_clear: { params: {},