homebridge-bluos 1.1.4 → 1.1.6

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
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.1.6](https://github.com/tbaur/homebridge-bluos/compare/v1.1.5...v1.1.6) (2026-08-31)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * announce discovery with a toast while the spinner runs ([#35](https://github.com/tbaur/homebridge-bluos/issues/35)) ([99582c9](https://github.com/tbaur/homebridge-bluos/commit/99582c92d710f7e5c7aade520faf76a431a0a477))
9
+
10
+ ## [1.1.5](https://github.com/tbaur/homebridge-bluos/compare/v1.1.4...v1.1.5) (2026-08-31)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * keep discover progress in view and leave volume opt-in ([#33](https://github.com/tbaur/homebridge-bluos/issues/33)) ([1dec836](https://github.com/tbaur/homebridge-bluos/commit/1dec8361f2a82d2a1c355f74c4258078bcb945d2))
16
+
3
17
  ## [1.1.4](https://github.com/tbaur/homebridge-bluos/compare/v1.1.3...v1.1.4) (2026-08-31)
4
18
 
5
19
 
package/README.md CHANGED
@@ -56,7 +56,7 @@ Nothing needs enabling on the player, because the BluOS LAN API is always on. A
56
56
 
57
57
  ### 3. Configure
58
58
 
59
- **Homebridge UI** (recommended): open the plugin settings and press **Discover Players**. Every zone that answers is listed with a suggested set of accessories. Tick what you want, then press the Homebridge Save button.
59
+ **Homebridge UI** (recommended): open the plugin settings and press **Discover Players**. Every zone that answers is listed. Tick the players and accessories you want, then press the Homebridge Save button.
60
60
 
61
61
  Or in `config.json`:
62
62
 
@@ -157,7 +157,10 @@
157
157
  derivedIdentity: player.derivedIdentity,
158
158
  online: true,
159
159
  selected: false,
160
- volumeSlider: player.suggested.volumeSlider,
160
+ // Discover listing a zone is not a request for a HomeKit accessory.
161
+ // Volume is a fan tile; leaving it ticked on every new player would
162
+ // mint one per zone the moment the user pressed Save.
163
+ volumeSlider: false,
161
164
  mute: player.suggested.mute,
162
165
  battery: player.suggested.battery,
163
166
  reboot: player.suggested.reboot,
@@ -457,6 +460,9 @@
457
460
  async function discover() {
458
461
  const timeoutSec = Number(byId('timeout').value) || DEFAULT_TIMEOUT_SEC
459
462
  homebridge.showSpinner()
463
+ // The overlay can sit in the middle of a long device list. The toast is
464
+ // drawn on the Config UI chrome, so it stays visible.
465
+ homebridge.toast.info('Listening for players…', 'Discovering')
460
466
  try {
461
467
  const response = await homebridge.request('/discover', { timeoutSec })
462
468
  const found = Array.isArray(response && response.players) ? response.players : []
@@ -497,6 +503,7 @@
497
503
  payload.port = Number(portValue)
498
504
  }
499
505
  homebridge.showSpinner()
506
+ homebridge.toast.info(`Probing ${host}…`, 'Probing')
500
507
  try {
501
508
  const response = await homebridge.request('/probe', payload)
502
509
  const found = Array.isArray(response && response.players) ? response.players : []
@@ -155,11 +155,14 @@ class BluOSUiServer extends HomebridgePluginUiServer {
155
155
  }
156
156
 
157
157
  /**
158
- * Shape a discovered player for the page, including sensible defaults.
158
+ * Shape a discovered player for the page, including opt-in accessory defaults.
159
159
  *
160
- * A player that reports a fixed output level gets no slider suggested, because
161
- * writing a level to it does nothing. A player with no usable MAC is given a
162
- * generated identity here, once, so that it stays stable from then on.
160
+ * Volume, mute and reboot stay off until the user asks for them: Discover
161
+ * listing a zone is not a request for a HomeKit accessory. A player with a
162
+ * battery pack is offered that sensor, because it is a reading rather than a
163
+ * control. A player that reports a fixed output cannot take a slider at all,
164
+ * which the page learns from `fixedVolume`. A player with no usable MAC is
165
+ * given a generated identity here, once, so that it stays stable from then on.
163
166
  */
164
167
  describe(player) {
165
168
  const api = this.loadApi()
@@ -176,7 +179,7 @@ class BluOSUiServer extends HomebridgePluginUiServer {
176
179
  hasBattery: player.hasBattery === true,
177
180
  derivedIdentity: !(player.mac && player.mac.length > 0),
178
181
  suggested: {
179
- volumeSlider: player.fixedVolume !== true,
182
+ volumeSlider: false,
180
183
  mute: false,
181
184
  battery: player.hasBattery === true,
182
185
  // Never suggested. Restarting a player interrupts whatever it is doing,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-bluos",
3
3
  "displayName": "Homebridge BluOS",
4
- "version": "1.1.4",
4
+ "version": "1.1.6",
5
5
  "description": "Homebridge plugin for BluOS players — per-zone volume, mute, volume-preset and battery accessories over the LAN Custom Integration API. Verified on NAD and Bluesound hardware",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",