homebridge-eosstb 2.4.0-alpha.41 → 2.4.0-alpha.42

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
@@ -51,6 +51,9 @@ Channel name: overwrite not allowed - can we disable in HomeKit. Yes, but preven
51
51
  CHALLENGE
52
52
  The mostWatchedChannelList is not working
53
53
 
54
+ ## 2.4.0-alpha.42 (2026-05-07)
55
+ - changed the name of hidden channels from HIDDEN_xx to HIDDENxx to stop the HAP-NodeJS WARNING: The accessory 'HIDDEN_32' has an invalid 'Name' characteristic
56
+
54
57
  ## 2.4.0-alpha.41 (2026-05-07)
55
58
  - fixed typos in this change log
56
59
 
package/index.js CHANGED
@@ -6293,8 +6293,8 @@ class StbDevice {
6293
6293
  // --- Defaults for empty/unused slots ---
6294
6294
  // Unused slots must still be registered but are hidden from the user
6295
6295
  let chFixedName = `Input ${String(i + 1).padStart(2, "0")}`; // 1-based e.g. "Input 01"
6296
- let chName = `HIDDEN_${String(i + 1).padStart(2, "0")}`; // 1-based HIDDEN_01 etc
6297
- let chId = `HIDDEN_${i}`;
6296
+ let chName = `HIDDEN${String(i + 1).padStart(2, "0")}`; // 1-based HIDDEN01 etc
6297
+ let chId = `HIDDEN${i}`;
6298
6298
  let visState = Characteristic.CurrentVisibilityState.HIDDEN;
6299
6299
  let configState = Characteristic.IsConfigured.NOT_CONFIGURED;
6300
6300
  this.log.debug(
@@ -6314,9 +6314,9 @@ class StbDevice {
6314
6314
  configState = Characteristic.IsConfigured.CONFIGURED;
6315
6315
  }
6316
6316
 
6317
- // Channels explicitly named "HIDDEN_*" are treated as invisible placeholders
6318
- if (chName.startsWith("HIDDEN_")) {
6319
- chId = `HIDDEN_${i}`;
6317
+ // Channels explicitly named "HIDDEN*" are treated as invisible placeholders
6318
+ if (chName.startsWith("HIDDEN")) {
6319
+ chId = `HIDDEN${i}`;
6320
6320
  visState = Characteristic.CurrentVisibilityState.HIDDEN;
6321
6321
  configState = Characteristic.IsConfigured.NOT_CONFIGURED;
6322
6322
  }
@@ -7432,7 +7432,7 @@ class StbDevice {
7432
7432
  //this.log.debug("channelList, setting hidden items from %s to %s", maxChs + 1, maxSources);
7433
7433
  for (let i = maxChs; i < maxSources; i++) {
7434
7434
  const chNum = String(i + 1).padStart(2, "0"); // computed once
7435
- const hiddenName = "HIDDEN_" + chNum; // derived once, reused twice
7435
+ const hiddenName = "HIDDEN" + chNum; // derived once, reused twice
7436
7436
 
7437
7437
  this.log.debug("Hiding channel %s of %s", chNum, maxSources);
7438
7438
  // array must stay same size and have elements that can be queried, but channelId must never match valid entries
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "displayName": "Homebridge EOSSTB",
4
4
  "description": "Add your set-top box to Homekit (for Telenet BE, Sunrise CH, UPC SK, Virgin Media GB & IE, Ziggo NL)",
5
5
  "author": "Jochen Siegenthaler (https://github.com/jsiegenthaler/)",
6
- "version": "2.4.0-alpha.41",
6
+ "version": "2.4.0-alpha.42",
7
7
  "platformname": "eosstb",
8
8
  "dependencies": {
9
9
  "axios": "^1.16.0",