homebridge-eosstb 2.4.0-alpha.38 → 2.4.0-alpha.39

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/index.js +8 -14
  3. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -22,6 +22,15 @@ sessionService
22
22
  IMPORTANR
23
23
  Implement setTargetMediaState to send the Play/Pause/Stop functions, so that Eve can control the media state. Watch out for sending commands twice when using the remote control. maybe the sendKey redirects to the setmediaState?
24
24
 
25
+ Behavious: SetMediaState from 0 to 1 will start playing.
26
+ Behavious: SetMediaState from 0 to 1 will start playing.
27
+ Behavious: SetMediaState from 2 to 1 will start playing.
28
+ Behavious: SetMediaState from 1 to 2 will start playing.
29
+ unreliable, compare to webclient... this is driving me crazy!
30
+ might have to revert to sendKeys to set Play and Stop/Pause
31
+
32
+
33
+
25
34
  CHECK
26
35
  make sendKey logging consistent
27
36
 
@@ -42,6 +51,19 @@ Channel name: overwrite not allowed - can we disable in HomeKit. Yes, but preven
42
51
  CHALLENGE
43
52
  The mostWatchedChannelList is not working
44
53
 
54
+ ## 2.4.0-alpha.39 (2026-05-07)
55
+ - fixed issues caused by HAP-NodeJS v1 released with Homberidge v2 where use of enums off the Characteristic class is no longer supported
56
+ - due to these HAP-NodeJS changes, support for Homebridge versions below 2.0.0 is no longer provided
57
+ - Bumped engine "homebridge": "^2.0.0",
58
+ - Bumped engine "node": "^24.15.0"
59
+ - Bumped dependency "axios": "^1.16.0",
60
+ - Bumped dependency "axios-cookiejar-support": "^7.0.0",
61
+ - Bumped dependency "mqtt": "^5.15.1",
62
+ - Bumped dependency "puppeteer-core": "^24.43.0",
63
+ - Bumped dependency "qs": "^6.15.1",
64
+ - Bumped dependency "tough-cookie": "^6.0.1",
65
+ - Bumped dependency "ws": "^8.20.0"
66
+
45
67
  ## 2.4.0-alpha.38 (2026-03-07)
46
68
 
47
69
  - changes to settargetmediastate & setMediaState
package/index.js CHANGED
@@ -407,12 +407,6 @@ class StbPlatform {
407
407
  this.mqttClientConnecting = false;
408
408
  this.currentStatusFault = null;
409
409
 
410
- /*
411
- this.inputsFile = this.storagePath + '/' + 'inputs_' + this.host.split('.').join('');
412
- this.customInputsFile = this.storagePath + '/' + 'customInputs_' + this.host.split('.').join('');
413
- this.devInfoFile = this.storagePath + '/' + 'devInfo_' + this.host.split('.').join('');
414
- */
415
-
416
410
  /*
417
411
  * Platforms should wait until the "didFinishLaunching" event has fired before registering any new accessories.
418
412
  */
@@ -6065,7 +6059,7 @@ class StbDevice {
6065
6059
  )
6066
6060
  .setCharacteristic(
6067
6061
  Characteristic.ProgramMode,
6068
- Characteristic.ProgramMode.NO_PROGRAM_SCHEDULED, // NO_PROGRAM_SCHEDULED | PROGRAM_SCHEDULED | PROGRAM_SCHEDULED_MANUAL_MODE_
6062
+ Characteristic.ProgramMode.NO_PROGRAM_SCHEDULED, // NO_PROGRAM_SCHEDULED | PROGRAM_SCHEDULED | PROGRAM_SCHEDULED_MANUAL_MODE
6069
6063
  )
6070
6064
  .setCharacteristic(
6071
6065
  Characteristic.StatusActive,
@@ -6175,8 +6169,8 @@ class StbDevice {
6175
6169
  // Helper to create and register a read-only, notifiable string characteristic
6176
6170
  const addCustomCharacteristic = (name, uuidPrefix, getHandler) => {
6177
6171
  const characteristic = new Characteristic(name, uuidPrefix + BASE_UUID, {
6178
- format: Characteristic.Formats.STRING,
6179
- perms: [Characteristic.Perms.PAIRED_READ, Characteristic.Perms.NOTIFY],
6172
+ format: this.api.hap.Formats.STRING,
6173
+ perms: [this.api.hap.Perms.PAIRED_READ, this.api.hap.Perms.NOTIFY],
6180
6174
  });
6181
6175
  characteristic.value = ""; // Default empty value required by HomeKit
6182
6176
  characteristic.onGet(getHandler.bind(this));
@@ -6390,8 +6384,8 @@ class StbDevice {
6390
6384
  .getCharacteristic(Characteristic.ConfiguredName)
6391
6385
  .setProps({
6392
6386
  perms: [
6393
- Characteristic.Perms.PAIRED_READ,
6394
- Characteristic.Perms.NOTIFY,
6387
+ this.api.hap.Perms.PAIRED_READ,
6388
+ this.api.hap.Perms.NOTIFY,
6395
6389
  ],
6396
6390
  })
6397
6391
  .onGet(() => this.getInputName(i));
@@ -8407,9 +8401,9 @@ class StbDevice {
8407
8401
  keyNameLayer[DEFAULT_KEYNAME] = "MediaFastForward";
8408
8402
  break;
8409
8403
 
8410
- case Characteristic.RemoteKey.NEXT_TRACK: // 2
8411
- case Characteristic.RemoteKey.PREVIOUS_TRACK: // 3
8412
- // no button exists in the Apple TV Remote for NEXT_TRACK or PREVIOUS_TRACK (as of iOS 14 & 15)
8404
+ case Characteristic.RemoteKey.NEXT_TRACK: // 2 MediaTrackNext
8405
+ case Characteristic.RemoteKey.PREVIOUS_TRACK: // 3 MediaTrackPrevious
8406
+ // no button exists in the Apple TV Remote for NEXT_TRACK or PREVIOUS_TRACK (as of iOS 14 & 15) but Eve can control it
8413
8407
  keyNameLayer[DEFAULT_KEYNAME] = null; // no corresponding keys can be identified. not supported in Apple Remote GUI
8414
8408
  break;
8415
8409
 
package/package.json CHANGED
@@ -3,22 +3,22 @@
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.38",
6
+ "version": "2.4.0-alpha.39",
7
7
  "platformname": "eosstb",
8
8
  "dependencies": {
9
- "axios": "^1.13.6",
10
- "axios-cookiejar-support": "^6.0.5",
9
+ "axios": "^1.16.0",
10
+ "axios-cookiejar-support": "^7.0.0",
11
11
  "debug": "^4.4.3",
12
- "mqtt": "^5.15.0",
13
- "puppeteer-core": "^24.38.0",
14
- "qs": "^6.15.0",
12
+ "mqtt": "^5.15.1",
13
+ "puppeteer-core": "^24.43.0",
14
+ "qs": "^6.15.1",
15
15
  "semver": "^7.7.4",
16
- "tough-cookie": "^6.0.0",
17
- "ws": "^8.19.0"
16
+ "tough-cookie": "^6.0.1",
17
+ "ws": "^8.20.0"
18
18
  },
19
19
  "deprecated": false,
20
20
  "engines": {
21
- "homebridge": "^1.11.2||^2.0.0-beta",
21
+ "homebridge": "^2.0.0",
22
22
  "node": "^24.13.0"
23
23
  },
24
24
  "homepage": "https://github.com/jsiegenthaler/homebridge-eosstb#readme",