homebridge-eosstb 1.1.14 → 1.1.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
@@ -13,6 +13,10 @@ If you used custom channels, you must updated your config when updating from 1.1
13
13
  * In work: improve handling of channel names: characters not allowed in HomeKit are now replaced with whitespace
14
14
 
15
15
 
16
+ ## 1.1.16 (2021-10-03)
17
+ * Cleaned up and bumped dependencies
18
+
19
+
16
20
  ## 1.1.14 (2021-09-07)
17
21
  * Bumped dependencies
18
22
 
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  <p align="center">
2
- <img src="https://github.com/jsiegenthaler/eosstb/blob/master/pics/DCX960andRemoteSmall.jpg" alt="UPC TV Box (ARRIS DCX960)" height="300" align="center"><br>
3
- <img src="https://github.com/jsiegenthaler/eosstb/blob/master/pics/RoomWithEosstb.png" alt="RoomWithEosstb" height="300" align="center">
4
- <img src="https://github.com/jsiegenthaler/eosstb/blob/master/pics/EosstbControls.png" alt="EosstbControls" height="300" align="center">
5
- <img src="https://github.com/jsiegenthaler/eosstb/blob/master/pics/RemoteControl.png" alt="RemoteControl" height="300" align="center">
2
+ <img src="https://github.com/jsiegenthaler/homebridge-eosstb/blob/master/pics/DCX960andRemoteSmall.jpg" alt="UPC TV Box (ARRIS DCX960)" height="300" align="center"><br>
3
+ <img src="https://github.com/jsiegenthaler/homebridge-eosstb/blob/master/pics/RoomWithEosstb.png" alt="RoomWithEosstb" height="300" align="center">
4
+ <img src="https://github.com/jsiegenthaler/homebridge-eosstb/blob/master/pics/EosstbControls.png" alt="EosstbControls" height="300" align="center">
5
+ <img src="https://github.com/jsiegenthaler/homebridge-eosstb/blob/master/pics/RemoteControl.png" alt="RemoteControl" height="300" align="center">
6
6
 
7
7
  </a>
8
8
  </p>
@@ -18,7 +18,7 @@
18
18
 
19
19
  `homebridge-eosstb` is a Homebridge plugin allowing you to control your set-top box (typically an ARRIS DCX960) running on the Magenta AT / Telenet BE / UPC CH / Virgin Media GB & IE / Ziggo NL Horizon TV platform with Apple HomeKit using the Home app and the Apple TV Remote in the Control Center.
20
20
 
21
- <img src="https://github.com/jsiegenthaler/eosstb/blob/master/pics/EosstbAccessoryTile.png" alt="EosstbAccessoryTile" height="80" align="left">
21
+ <img src="https://github.com/jsiegenthaler/homebridge-eosstb/blob/master/pics/EosstbAccessoryTile.png" alt="EosstbAccessoryTile" height="80" align="left">
22
22
  This plugin displays your set-top box as a Set-Top Box accessory with power, channel and remote-control capabilities on your iOS device (iPhone, iPad, iMac, etc.).
23
23
 
24
24
 
@@ -67,7 +67,7 @@ I tried to find a good common name that works for this plugin for all countries.
67
67
  This plugin is not provided by Magenta or Telenet or UPC or Virgin Media or Ziggo any other affiliate of UPC. It is neither endorsed nor supported nor developed by UPC or any affiliates. UPC can change their systems at any time and that might break this plugin. But I hope not.
68
68
 
69
69
  ## Requirements
70
- * An Apple iPhone or iPad with iOS 14.0 (or later). Developed on iOS 14.1...14.7, earlier versions not tested.
70
+ * An Apple iPhone or iPad with iOS 14.0 (or later). Developed on iOS 14.1...15.0, earlier versions not tested.
71
71
  * [Homebridge](https://homebridge.io/) v1.3.4 (or later). Developed on Homebridge 1.1.116....1.3.4, earlier versions not tested.
72
72
  * A TV subscription from one of the supported countries and TV providers.
73
73
  * An online account for viewing TV in the web app (often part of your TV package), see the table above.
@@ -76,7 +76,7 @@ This plugin is not provided by Magenta or Telenet or UPC or Virgin Media or Zigg
76
76
  * For GB and IE users: the ARRIS DCX960 must be running the TV 360 software, and not the older TiVo V6 software as found in GB and IE. TiVo V6 is not supported by this plugin, but GB users can [upgrade to TV 360 by contacting Virgin Media](https://www.virginmedia.com/shop/customer/virgin-tv-360-upgrade).
77
77
 
78
78
  ## Features
79
- <img src="https://github.com/jsiegenthaler/eosstb/blob/master/pics/EosstbControls.png" alt="EosstbControls" height="300" align="right">
79
+ <img src="https://github.com/jsiegenthaler/homebridge-eosstb/blob/master/pics/EosstbControls.png" alt="EosstbControls" height="300" align="right">
80
80
 
81
81
  * **Full Remote-Control Support**: The Apple TV Remote in your iOS device can control your set-top box; including power, menu navigation, play, pause, volume and mute commands.
82
82
 
@@ -111,7 +111,7 @@ This plugin is not provided by Magenta or Telenet or UPC or Virgin Media or Zigg
111
111
 
112
112
 
113
113
  ## Installation
114
- Homebridge UI: the easiest way to install is search for **eosstb** in the Homebridge UI, and then click **INSTALL**.
114
+ Homebridge UI: the easiest way to install is to search for **eosstb** in the Homebridge UI, and then click **INSTALL**.
115
115
 
116
116
  Manual install:
117
117
  ```sh
@@ -135,7 +135,7 @@ The set-top box accessory is exposed as a separate external accessory and each s
135
135
  11. **Set-Top Box Automations**: Switch on any suggested automations if you wish (you can change these in the Home app later) and tap **Continue**.
136
136
  12. **Set-Top Box Added to HomeName**: Tap **Done** to finish the setup.
137
137
 
138
- <img src="https://github.com/jsiegenthaler/eosstb/blob/master/pics/EosstbAccessoryTile.png" alt="EosstbAccessoryTile" height="80" align="left">
138
+ <img src="https://github.com/jsiegenthaler/homebridge-eosstb/blob/master/pics/EosstbAccessoryTile.png" alt="EosstbAccessoryTile" height="80" align="left">
139
139
  Your new accessory will appear shortly in the room that you selected. It may show **Updating...** for a few minutes as it loads all the data.
140
140
 
141
141
  You can force a Home app refresh by switching to another room and then back again.
@@ -148,8 +148,8 @@ Make sure you select the correct device from the drop-down list at the top of th
148
148
 
149
149
  The following keys are supported by in the **Apple TV Remote** in the Control Center:
150
150
 
151
- <img src="https://github.com/jsiegenthaler/eosstb/blob/master/pics/RemoteControl.png" alt="RemoteControl" height="300" align="right">
152
- <img src="https://github.com/jsiegenthaler/eosstb/blob/master/pics/SelectingDeviceForRemoteControl.png" alt="SelectingDeviceForRemoteControl" height="300" align="right">
151
+ <img src="https://github.com/jsiegenthaler/homebridge-eosstb/blob/master/pics/RemoteControl.png" alt="RemoteControl" height="300" align="right">
152
+ <img src="https://github.com/jsiegenthaler/homebridge-eosstb/blob/master/pics/SelectingDeviceForRemoteControl.png" alt="SelectingDeviceForRemoteControl" height="300" align="right">
153
153
 
154
154
  * Navigation (Up/Down/Left/Right)
155
155
  * OK
@@ -188,7 +188,7 @@ The eosstb plugin can detect the current recording state of the set-top box, bot
188
188
  The eosstb plugin can detect the closed captions state (**Subtitle options** in the set-top box menu) and shows ENABLED or DISABLED in the Homebridge logs. Unfortunately, the Apple Home app cannot do anything with the closed captions state (as at iOS 14.4) apart from allow you to read it in the Shortcuts app. Hopefully this will improve in the future.
189
189
 
190
190
  ## Configuration
191
- _Note that the config changed from 0.1.13 to 1.0.0. If you are updating, please make sure your config matches the examples shown here._
191
+ _Note that the config changed from 0.1.13 to 1.0.0. If you are updating, please make sure your config matches the examples shown here.
192
192
 
193
193
  Add a new platform to the platforms section of your homebridge `config.json`.
194
194
 
@@ -263,7 +263,7 @@ Mandatory config items must always exist. These are used to establish the sessio
263
263
 
264
264
  #### Optional
265
265
 
266
- * **name**: The platform name that appears in the Homebridge logs. In Switzerland, the platform is called EOS. In Belgium and Great Britain the platform is called Horizon. Optional, defaults to "EOSSTB".
266
+ * **name**: The platform name that appears in the Homebridge logs. In Switzerland, the platform is called EOS. In Belgium and Great Britain, the platform is called Horizon. Optional, defaults to "EOSSTB".
267
267
 
268
268
  * **triplePressTime**: The amount of time in ms to detect triple-press of a button. Used for triple-press features, such as triple-press of Volume Down generates Mute. Optional, defaults to 800ms.
269
269
 
package/index.js CHANGED
@@ -20,7 +20,7 @@ const qs = require('qs')
20
20
  const axios = require('axios').default;
21
21
  axios.defaults.xsrfCookieName = undefined;
22
22
 
23
- const axiosCookieJarSupport = require('axios-cookiejar-support').default;
23
+ //const axiosCookieJarSupport = require('axios-cookiejar-support').default;
24
24
  const tough = require('tough-cookie');
25
25
 
26
26
  // create a new instance called axiosWS
@@ -35,7 +35,7 @@ axiosWS.defaults.headers.post = {}; // ensure no default post header
35
35
 
36
36
 
37
37
  // setup the cookieJar
38
- axiosCookieJarSupport(axiosWS);
38
+ //axiosCookieJarSupport(axiosWS);
39
39
  const cookieJar = new tough.CookieJar();
40
40
 
41
41
 
package/package.json CHANGED
@@ -3,21 +3,18 @@
3
3
  "displayName": "Homebridge EOSSTB",
4
4
  "description": "homebridge-plugin - Add your set-top box to Homekit (for Magenta AT, Telenet BE, UPC CH, Virgin Media GB & IE, Ziggo NL)",
5
5
  "author": "Jochen Siegenthaler (https://github.com/jsiegenthaler/)",
6
- "version": "1.1.14",
6
+ "version": "1.1.16",
7
7
  "platformname": "eosstb",
8
8
  "dependencies": {
9
- "@types/tough-cookie": "^4.0.0",
10
- "axios": "^0.21.4",
11
- "axios-cookiejar-support": "^1.0.1",
9
+ "axios": "^0.22.0",
12
10
  "mqtt": "^4.2.8",
13
11
  "qs": "^6.10.1",
14
- "tough-cookie": "^4.0.0",
15
- "underscore": "^1.13.1"
12
+ "tough-cookie": "^4.0.0"
16
13
  },
17
14
  "deprecated": false,
18
15
  "engines": {
19
16
  "homebridge": ">=1.3.4",
20
- "node": ">=14.17.6"
17
+ "node": ">=14.18.0"
21
18
  },
22
19
  "homepage": "https://github.com/jsiegenthaler/homebridge-eosstb#readme",
23
20
  "keywords": [