homebridge-eosstb 2.2.14 → 2.2.16

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
@@ -8,6 +8,13 @@ Please restart Homebridge after every plugin update.
8
8
  ## Current To-Do and In-Work List (For Future Releases, in rough order of priority):
9
9
  * Add ability to log and read current program name
10
10
 
11
+ ## 2.2.16 (2024-01-16)
12
+ * Removed AZ, CZ, DE, HU, RO from config.json and Readme. These countries no longer offer UPC TV.
13
+
14
+ ## 2.2.15 (2024-01-14)
15
+ * Fixed issue with MQTT connection failure in CH due to change of MQTT endpoint
16
+ * Bumped dependency "axios-cookiejar-support": "^5.0.0",
17
+
11
18
 
12
19
  ## 2.2.14 (2024-01-06)
13
20
  * Updated description in package.json for better display in Homebridge on small device screens
package/README.md CHANGED
@@ -48,10 +48,8 @@ As [UPC](https://en.wikipedia.org/wiki/UPC_Broadband) (the operator of the Horiz
48
48
  | IE | [Virgin Media](https://www.virginmedia.ie/) | [Virgin TV Anywhere](https://www.virginmediatv.ie/en.html) | [360 Box](https://www.virginmedia.ie/virgintv360support/) | Fully Working |
49
49
  | NL | [Ziggo](https://www.ziggo.nl/) | [Ziggo GO](https://www.ziggogo.tv/nl.html) | [Mediabox Next](https://www.ziggo.nl/televisie/mediaboxen/mediabox-next#ziggo-tv) | Fully Working |
50
50
  | ------- | ----------- | ------- | -------- | ------------- |
51
- | AT | [Magenta](https://www.magenta.at/) | [Magenta TV](https://www.magentatv.at/de.html) | [Entertain Box 4K](https://www.magenta.at/entertain-box) | _Testers Wanted_ |
52
- | DE | [Vodafone DE](https://zuhauseplus.vodafone.de/digital-fernsehen/) | [Horizon Go](https://www.horizon.tv/de_de.html) | [GigaTV Cable Box](https://zuhauseplus.vodafone.de/digital-fernsehen/tv-endgeraete/) | _Testers Wanted_ |
53
51
  | PL | [UPC PL](https://www.upc.pl/) | [UPC TV GO](https://www.upctv.pl/pl/home) | Horizon decoder | _Testers Wanted_ |
54
- | SK | [UPC Broadband Slovakia](https://www.upc.sk/) | [Horizon Go](https://www.horizon.tv/sk_sk.html) | Horizon TV | _Testers Wanted_ |
52
+ | SK | [UPC Broadband Slovakia](https://www.upc.sk/) | [UPC TV](https://www.upctv.sk/sk/home) | UPC TV | _Testers Wanted_ |
55
53
 
56
54
 
57
55
  If you subscribe to a TV service from one of these countries, you are lucky, this plugin will work for you.
@@ -23,19 +23,14 @@
23
23
  "default": "ch",
24
24
  "required": true,
25
25
  "oneOf": [
26
- { "title": "AT: Magenta TV", "enum": ["at"] },
27
26
  { "title": "BE-FR: Telenet TV", "enum": ["be-fr"] },
28
27
  { "title": "BE-NL: Telenet TV", "enum": ["be-nl"] },
29
28
  { "title": "CH: Sunrise TV", "enum": ["ch"] },
30
- { "title": "CZ", "enum": ["cz"] },
31
- { "title": "DE", "enum": ["de"] },
32
29
  { "title": "GB: Virgin Media TV 360", "enum": ["gb"] },
33
- { "title": "HU", "enum": ["hu"] },
34
30
  { "title": "IE. Virgin Media TV 360", "enum": ["ie"] },
35
31
  { "title": "NL: Ziggo TV", "enum": ["nl"] },
36
- { "title": "PL", "enum": ["pl"] },
37
- { "title": "SK", "enum": ["sk"] },
38
- { "title": "RO", "enum": ["ro"] }
32
+ { "title": "PL: UPC TV GO", "enum": ["pl"] },
33
+ { "title": "SK: UPC TV", "enum": ["sk"] }
39
34
  ]
40
35
  },
41
36
  "username": {
package/index.js CHANGED
@@ -51,34 +51,21 @@ axiosCookieJarSupport(axiosWS);
51
51
  // without any trailing /
52
52
  // refer https://github.com/Sholofly/lghorizon-python/blob/features/telenet/lghorizon/const.py
53
53
  const countryBaseUrlArray = {
54
- 'at': 'https://prod.spark.magentatv.at',
55
54
  'be-fr': 'https://prod.spark.telenet.tv',
56
55
  'be-nl': 'https://prod.spark.telenet.tv',
57
56
  'ch': 'https://prod.spark.sunrisetv.ch',
58
- 'de': 'https://prod.spark.upctv.de',
59
57
  'gb': 'https://prod.spark.virginmedia.com',
60
58
  'ie': 'https://prod.spark.virginmediatv.ie',
61
59
  'nl': 'https://prod.spark.ziggogo.tv',
62
60
  'pl': 'https://prod.spark.upctv.pl',
63
61
  'sk': 'https://prod.spark.upctv.sk',
64
- // old endpoints:
65
- //'at': 'https://prod.oesp.magentatv.at/oesp/v4/AT/deu/web', // v3 and v4 works old
66
- //'ch': 'https://web-api-prod-obo.horizon.tv/oesp/v4/CH/eng/web', // v2, v3 and v4 work old
67
- //'de': 'https://web-api-pepper.horizon.tv/oesp/v4/DE/deu/web', // v2, v3 and v4 work
68
- //'gb': 'https://web-api-prod-obo.horizon.tv/oesp/v4/GB/eng/web',
69
- //'nl': 'https://web-api-prod-obo.horizon.tv/oesp/v4/NL/nld/web', // old
70
- //'pl': 'https://web-api-pepper.horizon.tv/oesp/v4/PL/pol/web', // v2, v3 and v4 work
71
- //'ie': 'https://prod.oesp.virginmediatv.ie/oesp/v4/IE/eng/web/', // old
72
- //'sk': 'https://web-api-pepper.horizon.tv/oesp/v4/SK/slk/web', // v2, v3 and v4 work
73
62
  };
74
63
 
75
64
  // mqtt endpoints varies by country, unchanged after backend change on 13.10.2022
76
65
  const mqttUrlArray = {
77
- 'at': 'wss://obomsg.prod.at.horizon.tv/mqtt',
78
66
  'be-fr': 'wss://obomsg.prod.be.horizon.tv/mqtt',
79
67
  'be-nl': 'wss://obomsg.prod.be.horizon.tv/mqtt',
80
- 'ch': 'wss://obomsg.prod.ch.horizon.tv/mqtt',
81
- 'de': 'wss://obomsg.prod.de.horizon.tv/mqtt',
68
+ 'ch': 'wss://messagebroker-prod-ch.gnp.cloud.dmdsdp.com/mqtt', // from 11.02.2024
82
69
  'gb': 'wss://obomsg.prod.gb.horizon.tv/mqtt',
83
70
  'ie': 'wss://obomsg.prod.ie.horizon.tv/mqtt',
84
71
  'nl': 'wss://obomsg.prod.nl.horizon.tv/mqtt',
@@ -86,24 +73,6 @@ const mqttUrlArray = {
86
73
  'sk': 'wss://obomsg.prod.sk.horizon.tv/mqtt'
87
74
  };
88
75
 
89
- // profile url endpoints varies by country
90
- // https://prod.spark.sunrisetv.ch/deu/web/personalization-service/v1/customer/{household_id}/devices
91
- // without terminating /
92
- // no longer needed in v2
93
- /*
94
- const personalizationServiceUrlArray = {
95
- 'at': 'https://prod.spark.magentatv.at/deu/web/personalization-service/v1/customer/{householdId}',
96
- 'be-fr': 'https://prod.spark.telenettv.be/fr/web/personalization-service/v1/customer/{householdId}',
97
- 'be-nl': 'https://prod.spark.telenettv.be/nld/web/personalization-service/v1/customer/{householdId}',
98
- 'ch': 'https://prod.spark.sunrisetv.ch/eng/web/personalization-service/v1/customer/{householdId}',
99
- 'de': '',
100
- 'gb': 'https://prod.spark.virginmedia.com/eng/web/personalization-service/v1/customer/{householdId}',
101
- 'ie': 'https://prod.spark.virginmediatv.ie/eng/web/personalization-service/v1/customer/{householdId}',
102
- 'nl': 'https://prod.spark.ziggogo.tv/nld/web/personalization-service/v1/customer/{householdId}',
103
- 'pl': 'https://prod.spark.unknown.pl/pol/web/personalization-service/v1/customer/{householdId}'
104
- };
105
- */
106
-
107
76
 
108
77
  // openid logon url used in Telenet.be Belgium for be-nl and be-fr sessions
109
78
  const BE_AUTH_URL = 'https://login.prd.telenet.be/openid/login.do';
package/package.json CHANGED
@@ -3,10 +3,10 @@
3
3
  "displayName": "Homebridge EOSSTB",
4
4
  "description": "Add your set-top box to Homekit (for Magenta AT, Telenet BE, Sunrise CH, Virgin Media GB & IE, Ziggo NL)",
5
5
  "author": "Jochen Siegenthaler (https://github.com/jsiegenthaler/)",
6
- "version": "2.2.14",
6
+ "version": "2.2.16",
7
7
  "platformname": "eosstb",
8
8
  "dependencies": {
9
- "axios-cookiejar-support": "^4.0.7",
9
+ "axios-cookiejar-support": "^5.0.0",
10
10
  "axios": "^1.6.5",
11
11
  "debug": "^4.3.4",
12
12
  "mqtt": "^5.3.4",