homebridge-eosstb 2.4.0-alpha.38 → 2.4.0-alpha.40
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 +26 -0
- package/index.js +8 -14
- 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,23 @@ 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.40 (2026-05-07)
|
|
55
|
+
- Changes to code to support HAP-NodeJS still works with Homebridge v1.11.x
|
|
56
|
+
- Reinstated engine "homebridge": "^1.11.4||^2.0.0",
|
|
57
|
+
|
|
58
|
+
## 2.4.0-alpha.39 (2026-05-07)
|
|
59
|
+
- fixed issues caused by HAP-NodeJS v1 released with Homberidge v2 where use of enums off the Characteristic class is no longer supported
|
|
60
|
+
- due to these HAP-NodeJS changes, support for Homebridge versions below 2.0.0 is no longer provided
|
|
61
|
+
- Bumped engine "homebridge": "^2.0.0",
|
|
62
|
+
- Bumped engine "node": "^24.15.0"
|
|
63
|
+
- Bumped dependency "axios": "^1.16.0",
|
|
64
|
+
- Bumped dependency "axios-cookiejar-support": "^7.0.0",
|
|
65
|
+
- Bumped dependency "mqtt": "^5.15.1",
|
|
66
|
+
- Bumped dependency "puppeteer-core": "^24.43.0",
|
|
67
|
+
- Bumped dependency "qs": "^6.15.1",
|
|
68
|
+
- Bumped dependency "tough-cookie": "^6.0.1",
|
|
69
|
+
- Bumped dependency "ws": "^8.20.0"
|
|
70
|
+
|
|
45
71
|
## 2.4.0-alpha.38 (2026-03-07)
|
|
46
72
|
|
|
47
73
|
- 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 |
|
|
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:
|
|
6179
|
-
perms: [
|
|
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
|
-
|
|
6394
|
-
|
|
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.
|
|
6
|
+
"version": "2.4.0-alpha.40",
|
|
7
7
|
"platformname": "eosstb",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"axios": "^1.
|
|
10
|
-
"axios-cookiejar-support": "^
|
|
9
|
+
"axios": "^1.16.0",
|
|
10
|
+
"axios-cookiejar-support": "^7.0.0",
|
|
11
11
|
"debug": "^4.4.3",
|
|
12
|
-
"mqtt": "^5.15.
|
|
13
|
-
"puppeteer-core": "^24.
|
|
14
|
-
"qs": "^6.15.
|
|
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.
|
|
17
|
-
"ws": "^8.
|
|
16
|
+
"tough-cookie": "^6.0.1",
|
|
17
|
+
"ws": "^8.20.0"
|
|
18
18
|
},
|
|
19
19
|
"deprecated": false,
|
|
20
20
|
"engines": {
|
|
21
|
-
"homebridge": "^1.11.
|
|
21
|
+
"homebridge": "^1.11.4||^2.0.0",
|
|
22
22
|
"node": "^24.13.0"
|
|
23
23
|
},
|
|
24
24
|
"homepage": "https://github.com/jsiegenthaler/homebridge-eosstb#readme",
|