homebridge-nuheat2 1.2.26 → 1.2.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,22 @@ All notable changes to this project should be documented in this file
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [1.2.28] - 2026-09-14
8
+
9
+ ### Fixed
10
+
11
+ - Stop logging the raw thermostat update payload at info level on every setpoint change; the payload is now summarized at debug level
12
+
13
+ ### Changed
14
+
15
+ - Document that group away mode is applied by Nuheat's servers and that affected thermostats may be reported as being in Standby rather than Away
16
+
17
+ ## [1.2.27] - 2026-09-14
18
+
19
+ ### Changed
20
+
21
+ - Use `engines.homebridge` value `>=1.8.0 <3.0.0-0` so every Homebridge 1.x and 2.x release, including prereleases, is satisfied without a `peerDependencies.homebridge` entry
22
+
7
23
  ## [1.2.26] - 2026-07-09
8
24
 
9
25
  ### Fixed
package/README.md CHANGED
@@ -19,7 +19,7 @@ This maintained fork modernizes Nuheat support for current Homebridge releases w
19
19
 
20
20
  ## Compatibility
21
21
 
22
- - Homebridge: `^1.8.0 || ^2.0.0-beta.0`
22
+ - Homebridge: `>=1.8.0 <3.0.0-0`
23
23
  - Node.js: `^18.20.4 || ^20.18.0 || ^22 || ^24 || ^26`
24
24
 
25
25
  For current Homebridge releases, use Node 22, 24, or 26.
@@ -79,7 +79,7 @@ The equivalent JSON looks like this:
79
79
  - `devices`: Optional list of thermostats to expose. If omitted or empty, every thermostat on the account will be discovered automatically. Blank rows in the UI are ignored
80
80
  - `serialNumber`: Thermostat serial number from MyNuheat
81
81
  - `disabled`: Available on `devices` and `groups` rows. Keeps the row saved while preventing that thermostat or group from being exposed
82
- - `autoPopulateAwayModeSwitches`: Automatically expose away-mode switches for all groups on the account
82
+ - `autoPopulateAwayModeSwitches`: Automatically expose away-mode switches for all groups on the account. Away mode is applied by Nuheat's servers; affected thermostats may be reported as being in Standby rather than Away
83
83
  - `exposeScheduleSwitches`: Optionally expose a switch per thermostat that reflects whether the thermostat is following its schedule and can be turned on to resume the schedule
84
84
  - `groups`: Optional allow-list of groups to expose as away-mode switches. This only affects group/away-mode accessories. Blank rows in the UI are ignored
85
85
  - `groupName`: Group name as shown in MyNuheat
@@ -94,6 +94,14 @@ The equivalent JSON looks like this:
94
94
  - `1-1439`: timed hold for the configured number of minutes
95
95
  - `1440`: permanent hold
96
96
 
97
+ ### Away Mode Behavior
98
+
99
+ Away-mode switches map directly to Nuheat's group away mode. Turning a switch on sends `PUT /api/v1/Group` with `{ groupId, awayMode: true }`, which is the only group-level control Nuheat exposes.
100
+
101
+ What the thermostats do while a group is in away mode is decided by Nuheat's servers, not by this plugin. Depending on the account and firmware, Nuheat may report the affected thermostats as being in **Standby** rather than showing an explicit "Away" state. Standby is Nuheat's own representation of the away setpoint; the plugin does not request standby and cannot request it, because Nuheat's thermostat update API has no operating-mode field.
102
+
103
+ If you need a specific temperature held while you are away, set that temperature on the thermostat itself. The plugin will hold it for `holdLength` minutes, or permanently when `holdLength` is `1440`.
104
+
97
105
  ### Device Discovery
98
106
 
99
107
  If `devices` is omitted or empty, the plugin will automatically expose every thermostat on the authenticated account.
@@ -151,5 +159,4 @@ This project is maintained by `applemanj` and retains attribution to SenorShaun
151
159
  ## Future Work
152
160
 
153
161
  - Validate the PKCE public-client flow against more real-world Nuheat accounts.
154
- - Verify group and away-mode behavior against current live API responses.
155
162
  - Monitor Nuheat Conductor v2 notification behavior across more accounts and keep polling as the reliability fallback.
@@ -65,7 +65,7 @@
65
65
  "title": "Away Mode Group Allow-List",
66
66
  "type": "array",
67
67
  "default": [],
68
- "description": "Optional. Leave empty unless you want specific Nuheat groups exposed as away-mode switches.",
68
+ "description": "Optional. Leave empty unless you want specific Nuheat groups exposed as away-mode switches. Away mode is applied by Nuheat's servers; affected thermostats may be reported as being in Standby rather than Away.",
69
69
  "items": {
70
70
  "type": "object",
71
71
  "properties": {
@@ -87,7 +87,7 @@
87
87
  "title": "Expose Away Mode Switches For All Groups",
88
88
  "type": "boolean",
89
89
  "default": false,
90
- "description": "Automatically create HomeKit away-mode switches for every Nuheat group on the account."
90
+ "description": "Automatically create HomeKit away-mode switches for every Nuheat group on the account. Away mode is applied by Nuheat's servers; affected thermostats may be reported as being in Standby rather than Away."
91
91
  },
92
92
  "exposeScheduleSwitches": {
93
93
  "title": "Expose Schedule Switches",
package/lib/NuHeatAPI.js CHANGED
@@ -144,7 +144,13 @@ class NuHeatAPI {
144
144
  if (holdSetPointDateTime) {
145
145
  callBody.holdSetPointDateTime = holdSetPointDateTime;
146
146
  }
147
- this.log.info(JSON.stringify(callBody));
147
+ this.log.debug("NuHeatAPI: Setting thermostat " +
148
+ serialNumber +
149
+ " to " +
150
+ setPointTemp +
151
+ " with schedule mode " +
152
+ scheduleMode +
153
+ ".");
148
154
  const callOptions = {
149
155
  body: JSON.stringify(callBody),
150
156
  method: "PUT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homebridge-nuheat2",
3
- "version": "1.2.26",
3
+ "version": "1.2.28",
4
4
  "description": "Homebridge Platform for NuHeat Signature Thermostats",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "engines": {
49
49
  "node": "^18.20.4 || ^20.18.0 || ^22.0.0 || ^24.0.0 || ^26.0.0",
50
- "homebridge": "^1.8.0 || ^2.0.0-beta.0"
50
+ "homebridge": ">=1.8.0 <3.0.0-0"
51
51
  },
52
52
  "files": [
53
53
  "index.js",