homebridge-eosstb 2.4.0-alpha.47 → 2.4.0-beta.1

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 (2) hide show
  1. package/CHANGELOG.md +19 -258
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -4,274 +4,35 @@ All notable changes to this project will be documented in this file.
4
4
  See the [Readme file](https://github.com/jsiegenthaler/homebridge-eosstb/blob/master/README.md) for full plugin documentation.
5
5
  Please restart Homebridge after every plugin update.
6
6
 
7
- # Bug Fixes and Improvements
7
+ ## 2.4.0-beta.1 (2026-05-09)
8
8
 
9
- ## Current To-Do and In-Work List (For Future Releases, in rough order of priority):
9
+ This release represents a major rewrite of the plugin, significantly improving robustness, HAP compliance, and code quality throughout, and making it work for Switzerland.
10
10
 
11
- TODO
12
- review all http endpoints, make sure a suitable log entry is being made so I can check the data is plausible
11
+ - Added CH login support: Adapted the login sequence and updated config.schema.json to support the new Switzerland login method
12
+ - Overhauled HAP compliance: Full audit and rewrite of all HAP code for strict compliance
13
+ - Added support for Homebridge v2: Plugin now fully supports Homebridge 2.0.0+ and Node.js 24+; resolved breaking changes introduced by HAP-NodeJS v1 shipped with Homebridge v2
14
+ - Improved MQTT handling: Optimised mqtt code and added clean unsubscribe on plugin shutdown
15
+ - Improved channel list management: Master channel list refresh now runs once daily at a random time between 00:00–06:00
16
+ - Updated channel ConfiguredName to read-only
17
+ - Optimised handling of remote control and media control
18
+ - Improved robustness and startup
19
+ - Improved overall code quality
20
+ - Updated dependencies to current versions
13
21
 
14
- configsvc
15
- authorizationService DONE
16
- personalizationService DONE
17
- purchaseService
18
- recordingService
19
- linearService
20
- sessionService
22
+ ## 2.3.9 (2026-05-09)
21
23
 
22
- IMPORTANR
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
-
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
-
34
- CHECK
35
- make sendKey logging consistent
36
-
37
- CHECK
38
- what are my issues with persistence?
39
- Persisting the input state visibility between restarts would be good
40
- Visibility cannot be set if the user has no WriteAccess to the channel list!!
41
- Persistance test:
42
- 1. Hide the channel SRF info using Home app
43
- 2. Force-close and reopen the home app. Confirm channel is still hidden
44
- 3. Confirm the current visibility state in the plugin logs is correct
45
- 3. Restart the plugin
46
- 4. Observe the current visibility state in the plugin logs - does it get the right value from HomeKit HAP? If so, no persistance required.
47
-
48
- Device name: this comes from backend
49
- Channel name: overwrite not allowed - can we disable in HomeKit. Yes, but prevents setting visibility
50
-
51
- CHALLENGE
52
- The mostWatchedChannelList is not working
53
-
54
- ## 2.4.0-alpha.47 (2026-05-09)
55
- - Improved the startup default setting of media state when a power-on transition is detected
56
-
57
- ## 2.4.0-alpha.46 (2026-05-09)
58
- - Fixed the issue with volume commands
59
-
60
- ## 2.4.0-alpha.45 (2026-05-09)
61
- - Added some debugging to the volume commands to trace an issue
62
-
63
- ## 2.4.0-alpha.44 (2026-05-09)
64
- - Fixed some log level issues
65
- - Fixed issue with Remove volumeDown causing Unhandled error thrown inside write handler for characteristic
66
-
67
- ## 2.4.0-alpha.43 (2026-05-09)
68
- - Bumped dependency "semver": "^7.8.0",
69
-
70
- ## 2.4.0-alpha.42 (2026-05-07)
71
- - 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
72
-
73
- ## 2.4.0-alpha.42 (2026-05-07)
74
- - 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
75
-
76
- ## 2.4.0-alpha.41 (2026-05-07)
77
- - fixed typos in this change log
78
-
79
- ## 2.4.0-alpha.40 (2026-05-07)
80
- - Changes to code to support HAP-NodeJS still works with Homebridge v1.11.x
81
- - Reinstated engine "homebridge": "^1.11.4||^2.0.0",
82
-
83
- ## 2.4.0-alpha.39 (2026-05-07)
84
- - fixed issues caused by HAP-NodeJS v1 released with Homebridge v2 where use of enums off the Characteristic class is no longer supported
85
- - due to these HAP-NodeJS changes, support for Homebridge versions below 2.0.0 is no longer provided
86
- - Bumped engine "homebridge": "^2.0.0",
24
+ - Fixed Error on Homebridge v2: Cannot read properties of undefined (reading 'STRING')
25
+ - Adapted hidden channel name to reduce warning messages with Homebridge v2
26
+ - Updated iOS and Homebridge version references in Readme
27
+ - Bumped engine "^1.11.4||^2.0.0",
87
28
  - Bumped engine "node": "^24.15.0"
88
29
  - Bumped dependency "axios": "^1.16.0",
89
30
  - Bumped dependency "axios-cookiejar-support": "^7.0.0",
90
31
  - Bumped dependency "mqtt": "^5.15.1",
91
- - Bumped dependency "puppeteer-core": "^24.43.0",
92
32
  - Bumped dependency "qs": "^6.15.1",
33
+ - Bumped dependency "semver": "^7.8.0",
93
34
  - Bumped dependency "tough-cookie": "^6.0.1",
94
- - Bumped dependency "ws": "^8.20.0"
95
-
96
- ## 2.4.0-alpha.38 (2026-03-07)
97
-
98
- - changes to settargetmediastate & setMediaState
99
-
100
- ## 2.4.0-alpha.37 (2026-03-07)
101
-
102
- - changes to settargetmediastate
103
-
104
- ## 2.4.0-alpha.36 (2026-03-07)
105
-
106
- - changes to settargetmediastate
107
-
108
- ## 2.4.0-alpha.35 (2026-03-07)
109
-
110
- - changes to settargetmediastate
111
-
112
- ## 2.4.0-alpha.34 (2026-03-07)
113
-
114
- - changes to settargetmediastate
115
-
116
- ## 2.4.0-alpha.33 (2026-03-07)
117
-
118
- - optimised getmqtttoken
119
- - checked function of setTargetMediaState , needs testing, controlled by Eve
120
-
121
- ## 2.4.0-alpha.32 (2026-03-07)
122
-
123
- - made all urls into proper url objects
124
- - fixed issue with getMostWatchedChannels
125
-
126
- ## 2.4.0-alpha.31 (2026-03-07)
127
-
128
- - change the master channel list refresh to once a day at a random time between 0000 and 0600. The user setting has no impact and can be removed
129
- - cleaned up some more diagnostic logging
130
-
131
- ## 2.4.0-alpha.30 (2026-03-07)
132
-
133
- - cleaned up some diagnostic logging
134
-
135
- ## 2.4.0-alpha.29 (2026-03-06)
136
-
137
- - optimised refreshDeviceChannelList
138
-
139
- ## 2.4.0-alpha.28 (2026-03-06)
140
-
141
- - fixed issue with detecting status, introduce 2 versions ago
142
-
143
- ## 2.4.0-alpha.27 (2026-03-06)
144
-
145
- -- removed test code to detect plugin shutdown
146
-
147
- ## 2.4.0-alpha.26 (2026-03-06)
148
-
149
- -- added test code to detect plugin shutdown
150
- - added clean unsubscribe on plugin shutdown
151
-
152
- ## 2.4.0-alpha.25 (2026-03-05)
153
-
154
- - fixed introduced bug in setRemoteKey
155
-
156
- ## 2.4.0-alpha.24 (2026-03-05)
157
-
158
- - made channel ConfiguredName read only as the backend defines the channel name
159
-
160
- ## 2.4.0-alpha.23 (2026-03-05)
161
-
162
- - optimised setRemoteKey
163
-
164
- ## 2.4.0-alpha.22 (2026-03-05)
165
-
166
- - fixed error handling in refreshMasterChannelList
167
-
168
- ## 2.4.0-alpha.21 (2026-03-05)
169
-
170
- - fixed logging bug in sendKey
171
-
172
- ## 2.4.0-alpha.20 (2026-03-05)
173
-
174
- - improved accessory information display to show a better serialnumber
175
- - updated set-top box model name for 2008C
176
- - added more robustness to many calls in case we never get a configsvc response
177
- - optimised the mqttDeviceStateHandler
178
- - improved refreshMasterChannelList
179
- - improved a lot of webservice calls, removing promises and going to try-catch
180
-
181
- ## 2.4.0-alpha.19 (2026-03-04)
182
-
183
- - removed some dead code
184
- - enabled handler for setClosedCaptions and setPictureMode, test control from Eve app
185
- - improved send key logging
186
-
187
- ## 2.4.0-alpha.18 (2026-03-03)
188
-
189
- - Fixed dislayOrder crash on startup - check this!
190
- - Optimised post publishExternalAccessories HAP updates
191
- - Changed all updateValue to updateCharacteristic post-publish to be more HAP compliant
192
-
193
- ## 2.4.0-alpha.17 (2026-03-03)
194
-
195
- - Cleaned up the platform code
196
- - Changed all get/set handlers to async
197
- - Optimised all get/set handlers
198
- - More HAP minor bug fixes and optimisations
199
-
200
- ## 2.4.0-alpha.16 (2026-03-03)
201
-
202
- - Fixed bug: TypeError: this.prepareinputSourceServices is not a function
203
-
204
- ## 2.4.0-alpha.15 (2026-03-03)
205
-
206
- - Renamed Current Channnel Id and Current Channel Name to Active Channel Id and Active Channel Name for consistency with Active Identifier
207
-
208
- ## 2.4.0-alpha.14 (2026-03-03)
209
-
210
- - Optimised HAP code for strict compliance
211
- - Removed debug logging
212
-
213
- ## 2.4.0-alpha.13 (2026-03-03)
214
-
215
- - Fixes to logging of getInputName for diagnostics
216
-
217
- ## 2.4.0-alpha.12 (2026-03-03)
218
-
219
- - More improvements to get ConfiguredName working properly on the Eve app (needs testing for both TV and Inputs)
220
-
221
- ## 2.4.0-alpha.11 (2026-03-03)
222
-
223
- - Fixed logging bug in setInputName
224
-
225
- ## 2.4.0-alpha.10 (2026-03-03)
226
-
227
- ## 2.4.0-alpha.9 (2026-03-03)
228
-
229
- ## 2.4.0-alpha.8 (2026-03-03)
230
-
231
- - More improvements to get ConfiguredName working properly on the Eve app (needs testing for both TV and Inputs)
232
-
233
- ## 2.4.0-alpha.7 (2026-03-03)
234
-
235
- - Corrected some debug log levels
236
- - Fixed ConfiguredName being empty on the Eve app (needs testing for both TV and Inputs)
237
-
238
- ## 2.4.0-alpha.6 (2026-03-02)
239
-
240
- - Removed getMute and getVolume, these are not supported
241
- - More code optimisations
242
-
243
- ## 2.4.0-alpha.5 (2026-03-02)
244
-
245
- - More code performance improvements
246
- - Improved all HAP code
247
-
248
- ## 2.4.0-alpha.4 (2026-03-02)
249
-
250
- - Fixed self bug in volume control
251
-
252
- ## 2.4.0-alpha.4 (2026-03-02)
253
-
254
- - Fixed self bug in volume control
255
-
256
- ## 2.4.0-alpha.3 (2026-03-02)
257
-
258
- - Fixed new introduced bug with displayed channel being incorrect (offset by 1)
259
- - Added "devMode": true support to config.json
260
-
261
- ## 2.4.0-alpha.2 (2026-03-01)
262
-
263
- - Improved README.md text
264
- - Improved config.schema.json description text
265
- - Improved discovery of devices and accessory setup
266
- - Improved mqtt handling
267
- - Improved overall code robustness and fixed many small bugs
268
- - Fixed spelling mistakes in comments
269
-
270
- ## 2.4.0-alpha.1 (2026-02-27)
271
-
272
- - Adapted login sequence for CH
273
- - Updated config.schema.json to support new CH login method and improced description texts
274
- - Bumped dependency "axios": "^1.13.6",
35
+ - Bumped dependency "ws": "^8.20.0"
275
36
 
276
37
  ## 2.3.8 (2026-02-27)
277
38
 
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.47",
6
+ "version": "2.4.0-beta.1",
7
7
  "platformname": "eosstb",
8
8
  "dependencies": {
9
9
  "axios": "^1.16.0",