homebridge-nuheat2 1.2.4-beta.1 → 1.2.4

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,7 +4,7 @@ All notable changes to this project should be documented in this file
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
- ## [1.2.4-beta.1] - 2026-04-11
7
+ ## [1.2.4] - 2026-04-11
8
8
 
9
9
  ### Added
10
10
 
@@ -14,18 +14,13 @@ All notable changes to this project should be documented in this file
14
14
 
15
15
  ### Changed
16
16
 
17
- - Simplify thermostat operating-mode handling to match the documented Nuheat Swagger model
18
- - Refresh thermostats when Nuheat sends schedule notifications
19
-
20
- ## [1.2.4-beta.0] - 2026-04-11
21
-
22
- ### Changed
23
-
24
17
  - Delay platform startup until Homebridge finishes restoring cached accessories
25
18
  - Allow overriding Nuheat OAuth client settings through config or environment variables
26
19
  - Improve SignalR reconnection handling and token refresh behavior
27
- - Add basic regression tests and modernize package metadata for Homebridge 1.8+ and 2.0 betas
28
- - Publish the maintained fork under the new npm package identity `homebridge-nuheat2`
20
+ - Add regression tests and modernize package metadata for current Homebridge releases
21
+ - Publish the maintained fork under the npm package identity `homebridge-nuheat2`
22
+ - Simplify thermostat operating-mode handling to match the documented Nuheat Swagger model
23
+ - Refresh thermostats when Nuheat sends schedule notifications
29
24
 
30
25
  ### Fixed
31
26
 
package/README.md CHANGED
@@ -52,6 +52,7 @@ Most users should configure the plugin through Homebridge Config UI X, but the e
52
52
  "password": "password123",
53
53
  "devices": [{ "serialNumber": "1111111" }, { "serialNumber": "2222222" }],
54
54
  "autoPopulateAwayModeSwitches": true,
55
+ "exposeScheduleSwitches": false,
55
56
  "holdLength": 1440,
56
57
  "refresh": 60
57
58
  }
@@ -62,17 +63,18 @@ Most users should configure the plugin through Homebridge Config UI X, but the e
62
63
  - `platform`: Must be `NuHeat`
63
64
  - `name`: Display name used in Homebridge logs
64
65
  - `email`: MyNuheat account email address
66
+ - `Email`: Legacy alias still accepted for backward compatibility, but `email` is the preferred documented field
65
67
  - `password`: MyNuheat account password
66
- - `devices`: Optional list of thermostats to expose
68
+ - `devices`: Optional list of thermostats to expose. If omitted or empty, every thermostat on the account will be discovered automatically
67
69
  - `serialNumber`: Thermostat serial number from MyNuheat
68
- - `autoPopulateAwayModeSwitches`: Automatically expose switches for all groups on the account
70
+ - `autoPopulateAwayModeSwitches`: Automatically expose away-mode switches for all groups on the account
69
71
  - `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
70
- - `groups`: Optional allow-list of groups to expose as away-mode switches
72
+ - `groups`: Optional allow-list of groups to expose as away-mode switches. This only affects group/away-mode accessories
71
73
  - `groupName`: Group name as shown in MyNuheat
72
74
  - `holdLength`: Hold duration in minutes
73
75
  - `refresh`: Poll interval in seconds, default `60`
74
76
  - `debug`: Enables verbose logging
75
- - `clientId`: Optional advanced override for the Nuheat OAuth client ID
77
+ - `clientId`: Optional advanced override for the Nuheat OAuth client ID. This is recommended once you have official Nuheat API credentials
76
78
  - `clientSecret`: Optional advanced override for the Nuheat OAuth client secret
77
79
  - `redirectUri`: Optional advanced override for the Nuheat OAuth redirect URI, default `http://localhost`
78
80
 
@@ -88,6 +90,8 @@ If `devices` is omitted or empty, the plugin will automatically expose every the
88
90
 
89
91
  If `groups` is omitted and `autoPopulateAwayModeSwitches` is enabled, the plugin will automatically expose away-mode switches for all groups on the account.
90
92
 
93
+ If `exposeScheduleSwitches` is enabled, the plugin will also create one switch per thermostat that turns on when the thermostat is following its Nuheat schedule and can be used to resume that schedule from HomeKit.
94
+
91
95
  ## Nuheat API Access
92
96
 
93
97
  Nuheat's public OpenAPI documentation indicates that third-party developers should request their own API credentials:
@@ -95,7 +99,7 @@ Nuheat's public OpenAPI documentation indicates that third-party developers shou
95
99
  - [Nuheat OpenAPI docs](https://api.mynuheat.com/)
96
100
  - [Nuheat API access request page](https://www.nuheat.com/openapi)
97
101
 
98
- This fork still supports the legacy built-in OAuth client settings as a fallback, but using your own `clientId` and `clientSecret` is the recommended long-term path.
102
+ This fork still supports the legacy built-in OAuth client settings as a fallback, but using your own `clientId` and `clientSecret` is the recommended long-term path once Nuheat issues them for your integration.
99
103
 
100
104
  ## What's New In This Fork
101
105
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homebridge-nuheat2",
3
- "version": "1.2.4-beta.1",
3
+ "version": "1.2.4",
4
4
  "description": "Homebridge Platform for NuHeat Signature Thermostats",
5
5
  "main": "index.js",
6
6
  "scripts": {