Giter Site home page Giter Site logo

homebridge-skyq-tvremote's People

Contributors

benfysh avatar dnicolson avatar neilpatel121 avatar smolsoftboi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

homebridge-skyq-tvremote's Issues

Error running plug-in

HomeBridge won't start and shows following error with this plug-in:

TypeError: Cannot read property 'Characteristic' of undefined
at SkyTVPlugin.publishExternalAccessory (C:\Users\james\AppData\Roaming\npm\node_modules\homebridge-skyq-tvremote\src\platform.ts:99:48)
at C:\Users\james\AppData\Roaming\npm\node_modules\homebridge-skyq-tvremote\src\platform.ts:48:14
at Array.forEach ()
at new SkyTVPlugin (C:\Users\james\AppData\Roaming\npm\node_modules\homebridge-skyq-tvremote\src\platform.ts:45:22)
at C:\Users\james\AppData\Roaming\npm\node_modules\homebridge\src\server.ts:377:40
at Array.forEach ()
at Server.loadPlatforms (C:\Users\james\AppData\Roaming\npm\node_modules\homebridge\src\server.ts:312:27)
at Server.start (C:\Users\james\AppData\Roaming\npm\node_modules\homebridge\src\server.ts:116:29)

Sky Mini appears as favourite in Homekit after rebootingHB

Hi,

Firstly thanks for the plugin, works great. I have one small issue, if I go into the tile in homekit and turn favourite off and add to a room it all works fine. then if I reboot Hombridge the Mini stays in the correct room, but appears as a favourite again?

If you can assist that would be great.

Request error crushes homebridge

Describe The Bug:
In order to save energy, I disconnect my Sky Q box from power with a smart plug. Once the box is completely offline, the plugin throws a Request Error, which forces to shut down the entire Homebridge. After the Hombebridge has restarted, the error is thrown again and the shutdown procedure starts.

To Reproduce:
Take Sky Q box of network / power while plugin is running on homebridge.

Expected behavior:
Plugin waits for the Sky Q box to come back online while marking the box as shut off or not available.

Logs:

RequestError: Error: connect EHOSTUNREACH 192.168.0.3:9006
at new RequestError (/var/lib/homebridge/node_modules/homebridge-skyq-tvremote/node_modules/request-promise-core/lib/errors.js:14:15)
at Request.plumbing.callback (/var/lib/homebridge/node_modules/homebridge-skyq-tvremote/node_modules/request-promise-core/lib/plumbing.js:87:29)
at Request.RP$callback [as _callback] (/var/lib/homebridge/node_modules/homebridge-skyq-tvremote/node_modules/request-promise-core/lib/plumbing.js:46:31)
at self.callback (/var/lib/homebridge/node_modules/homebridge-skyq-tvremote/node_modules/request/request.js:185:22)
at Request.emit (node:events:527:28)
at Request.onRequestError (/var/lib/homebridge/node_modules/homebridge-skyq-tvremote/node_modules/request/request.js:877:8)
at ClientRequest.emit (node:events:527:28)
at Socket.socketErrorListener (node:_http_client:454:9)
at Socket.emit (node:events:527:28)
at emitErrorNT (node:internal/streams/destroy:157:8) {
cause: Error: connect EHOSTUNREACH 192.168.0.3:9006
at TCPConnectWrap.afterConnect [as o563456ncomplete] (node:net:1187:16) {
errno: -113,
code: 'EHOSTUNREACH',
syscall: 'connect',
address: '192.168.0.3',
port: 9006
},
error: Error: connect EHOSTUNREACH 192.168.0.3:9006
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16) {
errno: -113,
code: 'EHOSTUNREACH',
syscall: 'connect',
address: '192.168.0.3',
port: 9006
},
options: {
url: 'http://192.168.0.3:9006/as/system/information',
json: true,
callback: [Function: RP$callback],
transform: undefined,
simple: true,
resolveWithFullResponse: false,
transform2xxOnly: false
},
response: undefined
}

Environment:

  • Plugin Version: v1.4.1
  • Homebridge Version: v1.5.0
  • Node.js Version: v16.16.0
  • NPM Version: 8.11.0
  • Operating System: Raspian

Additional controls?

Hope you can help. When I swipe down on my phone and select the Q on the remote. I only have arrows with select, Play/Pause, Back and i. Is there any way to show additional controls i.e. guide etc?

Sorry if this is simple and I have missed it. I am just starting out on playing with Homebridge.

;)

Keypad

Is there anyway to input numbers with the remote.

Some programs require PIN on sky but there is no way to input

BUG SKY Q MINI

Problems with the Sky Remote plugin and it doesn't work anymore if you add Sky Q Mini to the plugin !!!
Bildschirmfoto 2021-06-03 um 20 57 50

Reduce logging or put a "disable logging" option.

Is your feature request related to a problem? Please describe:
Right now the Homebridge log is filled with log lines every time a Sky Q is queried for status, which is every time any device opens or interacts with home app in any way.

Describe the solution you'd like:
There should be at least an option to disable DEBUG lines such as these, maybe adding a configuration option to reduce the informative log lines to avoid spamming log without any added benefit.

Describe alternatives you've considered:
Just reduce the logging altogether, focusing only on anormal conditions/situations, not standard ones.

Additional context:
Here is an example from my log:

[5/3/2021, 4:24:00 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:24:00 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:24:00 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:24:00 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:24:24 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:24:24 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:24:24 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:24:24 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:24:58 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:24:58 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:24:58 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:24:58 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:25:19 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:25:19 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:25:19 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:25:19 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:25:34 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:25:34 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:25:35 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:25:35 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:25:49 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:25:49 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:25:49 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:25:49 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:26:04 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:26:04 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:26:04 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:26:04 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:26:28 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:26:28 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:26:28 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:26:29 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:26:43 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:26:43 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:26:43 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:26:43 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:26:57 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:26:57 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:26:57 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:26:57 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:27:11 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:27:11 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:27:11 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:27:11 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:27:42 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:27:42 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:27:42 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:27:42 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:28:11 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:28:11 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:28:11 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:28:11 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:28:33 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:28:33 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:28:33 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:28:33 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:28:59 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:28:59 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:28:59 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:28:59 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:29:23 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:29:23 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:29:23 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:29:23 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:29:38 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:29:38 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:29:38 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:29:38 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:30:03 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:30:03 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:30:03 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:30:03 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:30:29 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:30:29 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:30:29 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: INACTIVE
[5/3/2021, 4:30:29 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE

Environment:

  • Plugin Version: homebridge-skyq-tvremote v1.3.0
  • Homebridge Version: 1.3.4
  • Node.js Version: v12.20.0
  • NPM Version: 6.14.8
  • Operating System: Raspbian

Change favourite channels / rewind/fast-forward

Hi, thanks for a great plugin.

I just have 2 questions.

  1. How can I change the "inputs" that appear after a long-press of the device in Home app? I can change the channel names / but the channel nunber inputs seem to be hard-coded...
  2. In the control centre remote device, there are no controls for rewind / fast-forward. Can those be added?

Slow homebridge

17/12/2021, 17:10:23] [skyq-tvremote] [Sky] Perhaps looking at this error will help you figure out why
[17/12/2021, 17:10:23] [skyq-tvremote] RequestError: Error: connect ETIMEDOUT 192.168.0.30:9006
at new RequestError (C:\Users\simpl\AppData\Roaming\npm\node_modules\homebridge-skyq-tvremote\node_modules\request-promise-core\lib\errors.js:14:15)
at Request.plumbing.callback (C:\Users\simpl\AppData\Roaming\npm\node_modules\homebridge-skyq-tvremote\node_modules\request-promise-core\lib\plumbing.js:87:29)
at Request.RP$callback [as _callback] (C:\Users\simpl\AppData\Roaming\npm\node_modules\homebridge-skyq-tvremote\node_modules\request-promise-core\lib\plumbing.js:46:31)
at self.callback (C:\Users\simpl\AppData\Roaming\npm\node_modules\homebridge-skyq-tvremote\node_modules\request\request.js:185:22)
at Request.emit (node:events:390:28)
at Request.onRequestError (C:\Users\simpl\AppData\Roaming\npm\node_modules\homebridge-skyq-tvremote\node_modules\request\request.js:877:8)
at ClientRequest.emit (node:events:390:28)
at Socket.socketErrorListener (node:_http_client:447:9)
at Socket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8) {
cause: Error: connect ETIMEDOUT 192.168.0.30:9006
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
errno: -4039,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '192.168.0.30',
port: 9006

Populate device details from API in home app

Is your feature request related to a problem? Please describe:
Feature request to populate the device details within the home app based on the individual box details

Describe the solution you'd like:

Use getSystemInformation from sky-q node module. Suggested items to use:

Manufacturer: "manufacturer" : "Sky",
Serial Number: "serialNumber" : "0488XXXX74 0",
Model: "deviceType" : "GATEWAYSTB",

Can't add to Apple Home App

Describe The Bug:
I have successfully added the plugin to Homebridge and the accessories are showing. When I try to add to the Home app and enter the HomeKit code the device doesn't show up to be added. I have tried installing an older version of the plugin to see if that works but it didn't.
I did have Sky Q No Logs installed also and that worked fine, I did remove that plugin in case it was messing with this plugin but it didn't make any difference.

To Reproduce:
Try to add to HomeKit App

Expected behavior:
Should be able to add Sky Q to HomeKit to work as remote

Logs:

Loaded plugin: [email protected]
[26/11/2021, 13:01:22] Registering platform 'homebridge-skyq-tvremote.skyq-tvremote'
[26/11/2021, 13:01:22] ---
[26/11/2021, 13:01:22] Loading 3 platforms...
[26/11/2021, 13:01:22] [Config] Initializing config platform...
[26/11/2021, 13:01:22] [Config] Running in Service Mode
[26/11/2021, 13:01:22] [Nest] Initializing Nest platform...
[26/11/2021, 13:01:22] [skyq-tvremote] Initializing skyq-tvremote platform...
[26/11/2021, 13:01:22] [skyq-tvremote] Sky TV platform finished initializing!
[26/11/2021, 13:01:23] TV 1 A1CC is running on port 34505.
[26/11/2021, 13:01:23] Please add [TV 1 A1CC] manually in Home app. Setup Code:

Plugin Config:

{
            "devices": [
                {
                    "ipAddress": "192.168.1.**"
                }
            ],
            "platform": "skyq-tvremote"
        }

Screenshots:

Environment:

  • Plugin Version: 1.4.1
  • Homebridge Version: 1.3.8
  • Node.js Version: 14.8.1
  • NPM Version: 6.14.15
  • Operating System: Raspbian

Unhandled exception in log at every startup for Sky Q Platinum + 3 Mini for Sky Italy

Describe The Bug:
Unhandled exception in the log at every startup of Homebridge or plugin. It seems to be something related to duplicated channels or something. I run a setup with a Sky Q Platinum and 3x Sky Q Mini for Sky Italia (Italy).

To Reproduce:
Just restart Homebridge or restart child bridge for plugin.

Expected behavior:
No exception

Logs:
[5/3/2021, 4:04:27 PM] [homebridge-skyq-tvremote] Restarting Process...
Initializing HAP-NodeJS v0.9.4...
[5/3/2021, 4:04:28 PM] [homebridge-skyq-tvremote] Launched child bridge with PID 2628
[5/3/2021, 4:04:28 PM] Registering platform 'homebridge-skyq-tvremote.skyq-tvremote'
[5/3/2021, 4:04:28 PM] [homebridge-skyq-tvremote] Loaded homebridge-skyq-tvremote v1.3.0 child bridge successfully
[5/3/2021, 4:04:28 PM] Loaded 0 cached accessories from cachedAccessories.0E83B399104C.
[5/3/2021, 4:04:28 PM] [homebridge-skyq-tvremote] Sky TV platform finished initializing!
Preparing Advertiser for 'homebridge-skyq-tvremote C934' using bonjour-hap backend!
Starting to advertise 'homebridge-skyq-tvremote C934' using bonjour-hap backend!
[5/3/2021, 4:04:28 PM] Homebridge v1.3.4 (homebridge-skyq-tvremote) is running on port 56339.
Preparing Advertiser for 'Sky Q Platinum Sala CC60' using bonjour-hap backend!
Preparing Advertiser for 'Sky Q Mini Cucina E964' using bonjour-hap backend!
Preparing Advertiser for 'Sky Q Mini Camera EE51' using bonjour-hap backend!
Preparing Advertiser for 'Sky Q Mini Cameretta 3326' using bonjour-hap backend!
Starting to advertise 'Sky Q Platinum Sala CC60' using bonjour-hap backend!
[5/3/2021, 4:04:28 PM] Sky Q Platinum Sala CC60 is running on port 38307.
[5/3/2021, 4:04:28 PM] Please add [Sky Q Platinum Sala CC60] manually in Home app. Setup Code: REMOVED
Starting to advertise 'Sky Q Mini Cucina E964' using bonjour-hap backend!
[5/3/2021, 4:04:28 PM] Sky Q Mini Cucina E964 is running on port 38199.
[5/3/2021, 4:04:28 PM] Please add [Sky Q Mini Cucina E964] manually in Home app. Setup Code: REMOVED
Starting to advertise 'Sky Q Mini Camera EE51' using bonjour-hap backend!
[5/3/2021, 4:04:28 PM] Sky Q Mini Camera EE51 is running on port 45345.
[5/3/2021, 4:04:28 PM] Please add [Sky Q Mini Camera EE51] manually in Home app. Setup Code: REMOVED
Starting to advertise 'Sky Q Mini Cameretta 3326' using bonjour-hap backend!
[5/3/2021, 4:04:28 PM] Sky Q Mini Cameretta 3326 is running on port 36165.
[5/3/2021, 4:04:28 PM] Please add [Sky Q Mini Cameretta 3326] manually in Home app. Setup Code: REMOVED
(node:2628) UnhandledPromiseRejectionWarning: Error: Cannot add a Service with the same UUID '000000D9-0000-1000-8000-0026BB765291' and subtype 'Sky Sport Serie A HD' as another Service in this Accessory.
at Accessory.addService (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:448:17)
at PlatformAccessory.addService (/usr/lib/node_modules/homebridge/src/platformAccessory.ts:93:41)
at /usr/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:152:42
at Array.forEach ()
at /usr/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:147:23
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:2628) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:2628) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:2628) UnhandledPromiseRejectionWarning: Error: Cannot add a Service with the same UUID '000000D9-0000-1000-8000-0026BB765291' and subtype 'Sky Sport Serie A HD' as another Service in this Accessory.
at Accessory.addService (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:448:17)
at PlatformAccessory.addService (/usr/lib/node_modules/homebridge/src/platformAccessory.ts:93:41)
at /usr/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:152:42
at Array.forEach ()
at /usr/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:147:23
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:2628) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:2628) UnhandledPromiseRejectionWarning: Error: Cannot add a Service with the same UUID '000000D9-0000-1000-8000-0026BB765291' and subtype 'Sky Sport Serie A HD' as another Service in this Accessory.
at Accessory.addService (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:448:17)
at PlatformAccessory.addService (/usr/lib/node_modules/homebridge/src/platformAccessory.ts:93:41)
at /usr/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:152:42
at Array.forEach ()
at /usr/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:147:23
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:2628) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:2628) UnhandledPromiseRejectionWarning: Error: Cannot add a Service with the same UUID '000000D9-0000-1000-8000-0026BB765291' and subtype 'Sky Sport Serie A HD' as another Service in this Accessory.
at Accessory.addService (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:448:17)
at PlatformAccessory.addService (/usr/lib/node_modules/homebridge/src/platformAccessory.ts:93:41)
at /usr/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:152:42
at Array.forEach ()
at /usr/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:147:23
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:2628) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
[5/3/2021, 4:04:30 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:04:30 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:04:31 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cucina] Get Active: ACTIVE
[5/3/2021, 4:04:31 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE
[5/3/2021, 4:04:37 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:04:48 PM] [homebridge-skyq-tvremote] [Sky Q Platinum Sala] Get Active: INACTIVE
[5/3/2021, 4:04:48 PM] [homebridge-skyq-tvremote] [Sky Q Mini Camera] Get Active: INACTIVE
[5/3/2021, 4:04:48 PM] [homebridge-skyq-tvremote] [Sky Q Mini Cameretta] Get Active: INACTIVE

Plugin Config:
{
"bridge": {
"name": "Homebridge REMOVED",
"username": REMOVED,
"port": REMOVED,
"pin": REMOVED,
"bind": [
"eth0"
]
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"auth": "none",
"theme": "auto",
"tempUnits": "c",
"lang": "auto",
"platform": "config"
},
{
"devices": [
{
"name": "Sky Q Platinum Sala",
"ipAddress": "192.168.4.73"
},
{
"name": "Sky Q Mini Cucina",
"ipAddress": "192.168.4.86"
},
{
"name": "Sky Q Mini Camera",
"ipAddress": "192.168.4.88"
},
{
"name": "Sky Q Mini Cameretta",
"ipAddress": "192.168.4.124"
}
],
"_bridge": {
"username": "0E:83:B3:99:10:4C",
"port": 56339
},
"platform": "skyq-tvremote"
}
],
"disabledPlugins": []
}

Environment:

  • Plugin Version: homebridge-skyq-tvremote v1.3.0
  • Homebridge Version: 1.3.4
  • Node.js Version: v12.20.0
  • NPM Version: 6.14.8
  • Operating System: Raspbian

Deep Standby

Is your feature request related to a problem? Please describe:
When my Sky Q receiver is in deep standby, I get long error messages in the homebridge log.

Describe the solution you'd like:
Would it be possible that if the IP cannot be reached, the device is displayed as "off"?

Describe alternatives you've considered:
I don‘t know, if WOL is possible?

Additional context:

Power state is not maintained when box is controlled using remote

Describe The Bug:

If you control a Sky Q box from the Home app and then using the remote then the power state in the app will get out of sync. This is reset if Homebridge is restarted.

To Reproduce:

  1. Switch on the box using the Home app
  2. Power state is Home app is shown as on
  3. Logs state [21/04/2021, 12:49:24] [skyq-tvremote] [Sky Q Mini] Get Active: ACTIVE
  4. System information endpoint shows "activeStandby" : false,
  5. Switch off the box using the remote
  6. Power state is Home app remains as on
  7. Logs state [21/04/2021, 12:55:31] [skyq-tvremote] [Sky Q Mini] Get Active: ACTIVE
  8. System information endpoint shows "activeStandby" : true,

You either have to power on the box using the remote or restart homebridge to reset the state otherwise when you switch it off in the home app it will actually switch on.

Note: If you switch the device on using the remote then the power state will remain as off in the Home until reset also.

Expected Behaviour:

The home app reflects the actual power state of the box as opposed to what was last triggered

Logs:
N/A

Plugin Config:

        {
            "devices": [
                {
                    "name": "Sky Q",
                    "ipAddress": "192.168.6.223"
                },
                {
                    "name": "Sky Q Mini",
                    "ipAddress": "192.168.6.224"
                },
                {
                    "name": "Sky Q Mini 2",
                    "ipAddress": "192.168.6.225"
                }
            ],
            "platform": "skyq-tvremote"
        }

Screenshots:
N/A

Environment:

  • Plugin Version: v1.2.0
  • Homebridge Version: v1.3.4
  • Node.js Version: v14.16.0
  • NPM Version: v6.13.4
  • Operating System: Raspbian

Cannot get to control

Shows in home app and button presses show in homebridge log but no control of sky q.

    {
        "name": "Sky Q TV",
        "platform": "skyq-tvremote",
        "ipaddress": "192.168.0.3"
    }
]

Sky Q Mini BUG

Describe The Bug:
If you add the Sky Q Mini then you have to restart the Homebridge and I did that and then the errors appear, but when you add the Sky Q Reciver, the error is not only there with the Sky Q Mini and me I don't get the bug fixed either because it seems to be a bug.

After removing the Sky Q Mini from the device, everything works again, but as soon as I add it again, the error is there again even after restarting several times or after reinstalling the plugin, the error is still there.

To Reproduce:
?

Expected behavior:
Working

Logs:

Loading logs using native method...
File: /homebridge/homebridge.log

1m    url: 'http://192.168.178.29:9006/as/system/information',
    json: true,
    callback: [Function: RP$callback],
    transform: undefined,
    simple: true,
    resolveWithFullResponse: false,
    transform2xxOnly: false
  },
  response: undefined
}
[6/3/2021, 8:56:21 PM] [skyq-tvremote] RequestError: Error: connect ECONNREFUSED 192.168.178.29:9006
    at new RequestError (/homebridge/node_modules/homebridge-skyq-tvremote/node_modules/request-promise-core/lib/errors.js:14:15)
    at Request.plumbing.callback (/homebridge/node_modules/homebridge-skyq-tvremote/node_modules/request-promise-core/lib/plumbing.js:87:29)
    at Request.RP$callback [as _callback] (/homebridge/node_modules/homebridge-skyq-tvremote/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at self.callback (/homebridge/node_modules/homebridge-skyq-tvremote/node_modules/request/request.js:185:22)
    at Request.emit (events.js:376:20)
    at Request.onRequestError (/homebridge/node_modules/homebridge-skyq-tvremote/node_modules/request/request.js:877:8)
    at ClientRequest.emit (events.js:376:20)
    at Socket.socketErrorListener (_http_client.js:475:9)
    at Socket.emit (events.js:376:20)
    at emitErrorNT (internal/streams/destroy.js:106:8) {
  cause: Error: connect ECONNREFUSED 192.168.178.29:9006
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
    errno: -111,
    code: 'ECONNREFUSED',
    syscall: 'connect',
    address: '192.168.178.29',
    port: 9006
  },
  error: Error: connect ECONNREFUSED 192.168.178.29:9006
      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
    errno: -111,
    code: 'ECONNREFUSED',
    syscall: 'connect',
    address: '192.168.178.29',
    port: 9006
  },
  options: {
    url: 'http://192.168.178.29:9006/as/system/information',
    json: true,
    callback: [Function: RP$callback],
    transform: undefined,
    simple: true,
    resolveWithFullResponse: false,
    transform2xxOnly: false
  },
  response: undefined
}

Plugin Config:

{
    "bridge": {
        "name": "Homebridge",
        "username": "SN",
        "port": SN,
        "pin": "SN"
    },
    "description": "Home Smart Home",
    "platforms": [
        {
            "name": "Config",
            "port": 8080,
            "auth": "form",
            "theme": "dark-mode",
            "temp": "/sys/class/thermal/thermal_zone0/temp",
            "tempUnits": "c",
            "lang": "de",
            "platform": "config"
        },
        {
            "name": "SamsungTizen",
            "devices": [
                {
                    "name": "Wohnzimmer Fernseher",
                    "ip": "192.168.178.36",
                    "mac": "SN",
                    "inputs": [
                        {
                            "name": "Sky Q",
                            "type": "command"
                        },
                        {
                            "name": "Xbox One X",
                            "type": "command"
                        },
                        {
                            "name": "Nintendo Switch",
                            "type": "command"
                        },
                        {
                            "name": "Netflix",
                            "type": "app",
                            "value": "11101200001"
                        },
                        {
                            "name": "Apple Music",
                            "type": "app",
                            "value": "201908019041"
                        },
                        {
                            "name": "Apple TV",
                            "type": "app",
                            "value": "3201807016597"
                        },
                        {
                            "name": "Disney+",
                            "type": "app",
                            "value": "3201901017640"
                        }
                    ]
                },
                {
                    "name": "Schlafzimmer Fernseher",
                    "ip": "192.168.178.30",
                    "mac": "SN",
                    "inputs": [
                        {
                            "name": "Apple Tivi",
                            "type": "command"
                        },
                        {
                            "name": "Netflix",
                            "type": "app",
                            "value": "11101200001"
                        },
                        {
                            "name": "Apple Music",
                            "type": "app",
                            "value": "201908019041"
                        },
                        {
                            "name": "Apple TV",
                            "type": "app",
                            "value": "3201807016597"
                        },
                        {
                            "name": "Disney+",
                            "type": "app",
                            "value": "3201901017640"
                        }
                    ]
                }
            ],
            "platform": "SamsungTizen"
        },
        {
            "devices": [
                {
                    "name": "Xbox One X",
                    "host": "192.168.178.46",
                    "xboxliveid": "SN",
                    "refreshInterval": 5,
                    "disableLogInfo": true,
                    "volumeControl": 0,
                    "switchInfoMenu": true,
                    "inputs": [
                        {
                            "name": "Spotify",
                            "reference": "SpotifyAB.SpotifyMusic-forXbox_zpdnekdrzrea0!App",
                            "type": "APPLICATION"
                        }
                    ],
                    "manufacturer": "Microsoft Corporation"
                }
            ],
            "platform": "XboxTv"
        },
        {
            "devices": [
                {
                    "name": "Sky Q",
                    "ipAddress": "192.168.178.22"
                }
                {
                    "name": "Sky Q Mini",
                    "ipAddress": "192.168.178.29"
                }            
          ],
            "platform": "skyq-tvremote"
        }
    ],
    "accessories": [
        {
            "accessory": "RaspberryPiTemperature",
            "name": "RaspberryPi CPU Temperature",
            "updateInterval": 1000
        }
    ]
}

Screenshots:
Bildschirmfoto 2021-06-03 um 20 57 50

Environment:

  • Plugin Version: v1.4.0
  • Homebridge Version: v1.3.4
  • Node.js Version: v14.17.0
  • NPM Version: v7.15.0
  • Operating System: Raspberry Pi -> Docker

Remove Switch

Why do we need both the power state and switch? It seems like only the power state is required.

Partial Channel List

Describe Your Problem:

It appears that I only have a partial channel list and no way to remove or add channels. When adding the accessory it seems to stop at ITV4 +1 and doesn't capture Sports or Movie channels. It may be the same as the 100 device limit shown in the logs below.

Is there a way to manually change the channels and channel numbers?

Logs:

(node:23028) UnhandledPromiseRejectionWarning: Error: Cannot add more than 100 services to a single accessory!
at Accessory.addService (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:453:13)
at PlatformAccessory.addService (/usr/lib/node_modules/homebridge/src/platformAccessory.ts:93:41)
at /usr/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:152:42
at Array.forEach ()
at /usr/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:147:23
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:23028) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:23028) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:23028) UnhandledPromiseRejectionWarning: Error: Cannot add more than 100 services to a single accessory!
at Accessory.addService (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:453:13)
at PlatformAccessory.addService (/usr/lib/node_modules/homebridge/src/platformAccessory.ts:93:41)
at /usr/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:152:42
at Array.forEach ()
at /usr/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:147:23
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:23028) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

Plugin Config:

{
"devices": [
{
"name": "Sky Q Main",
"ipAddress": "192.168.86.250"
},
{
"name": "Sky Q Mini",
"ipAddress": "192.168.86.36"
}
],
"platform": "skyq-tvremote"
}

Screenshots:

Stops at ITV4+1 (see attached)
IMG_1322

Environment:

  • Plugin Version: v1.3.0
  • Homebridge Version: 1.3.4
  • Node.js Version: v12.18.4
  • NPM Version: 6.14.8
  • Operating System: Raspbian

Homebridge crashing on accessory publish

Describe The Bug:
Homebridge restarting on v1.1.1 when IP address is populated.

To Reproduce:
Install v1.1.1
Setup details in settings or config:
Restart Homebridge to apply config
The error in the logs below is shown and Homebridge restarts

Expected behavior:
Homebridge not crashing

Logs:

[16/04/2021, 10:21:39] TypeError: Cannot read property 'Characteristic' of undefined
    at SkyTVPlugin.publishExternalAccessory (/usr/local/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:99:48)
    at /usr/local/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:48:14
    at Array.forEach (<anonymous>)
    at new SkyTVPlugin (/usr/local/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:45:22)
    at /usr/local/lib/node_modules/homebridge/src/server.ts:440:40
    at Array.forEach (<anonymous>)
    at Server.loadPlatforms (/usr/local/lib/node_modules/homebridge/src/server.ts:372:27)
    at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:159:29)

Plugin Config:

                {
            "devices": [
                {
                    "name": "Sky Q",
                    "ipAddress": "192.168.6.223"
                },
                {
                    "name": "Sky Q Mini",
                    "ipAddress": "192.168.6.224"
                },
                {
                    "name": "Sky Q Mini 2",
                    "ipAddress": "192.168.6.225"
                }
            ],
            "platform": "skyq-tvremote"
        }

Screenshots:
N/A

Environment:

  • Plugin Version: v1.1.1
  • Homebridge Version: v1.3.4
  • Node.js Version: v14.16.0
  • NPM Version: v6.13.4
  • Operating System: Raspbian

Unable to add in home app

Describe Your Problem:
Hi Just installed Plugin however the Sky box is not found when searching in the Home app, I have also noticed in my logs its says IP address not set at device this is not true though as I have added a static IP at the device and added it into my router settings. Any ideas Please?

Logs:

[5/28/2021, 11:44:23 AM] [Sky Q TV Remote] Initializing skyq-tvremote platform...
[5/28/2021, 11:44:23 AM] [Sky Q TV Remote] IP address not set at device 1.
[5/28/2021, 11:44:23 AM] [Sky Q TV Remote] Sky TV platform finished initializing!

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version:
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System:

No works on HOME APPLE APP but it works on homebridge accessories

Describe The Bug:

To Reproduce:

Expected behavior:

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version:
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System:

Sky Q - Load Netflix, YouTube.

Thanks for figuring out how to change the channel via Siri. Would it be possible to add a function to load ‘Apps’ such as Netflix?

Cannot add to Home app (not appearing)

Describe Your Problem:
The Sky Q box, connected over Ethernet, cannot be found by the Home app when I try to add it manually.
It appears in the HomeBridge accessory list and I can control it (On/Off and Mute only).

Logs:

Starting to advertise 'Sky Q Box 34D5' using ciao backend!
[15/6/2021, 15:27:07] Sky Q Box 34D5 is running on port XXX.
[15/6/2021, 15:27:07] Please add [Sky Q Box 34D5] manually in Home app. Setup Code: 123-45-678

Plugin Config:

        "devices": [
            {
                "name": "Sky Q Box",
                "ipAddress": "192.168.X.X"
            }
        ],
        "platform": "skyq-tvremote"

Screenshots:
N/A

Environment:

  • Plugin Version: 1.4.1
  • Homebridge Version: 1.3.4
  • Node.js Version: 14.17.0
  • NPM Version: 7.13.0
  • Operating System: Ubuntu

Switch channels via Siri

Hello, will it be possible to switch channels via Siri in a future version? I already have such a plug-in for my Sony TV and it is then implemented using scenes. Greetings Michel

Error Message in log

Describe Your Problem:
After I habe installieren the Plugin, every Thinge was ok and ist works. Today I saw the error Messages in the log and I have no idea, what I can do

Logs:

(node:4418) UnhandledPromiseRejectionWarning: Error: Cannot add more than 100 services to a single accessory!
at Accessory.addService (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:453:13)
at PlatformAccessory.addService (/usr/local/lib/node_modules/homebridge/src/platformAccessory.ts:93:41)
at /usr/local/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:152:42
at Array.forEach ()
at /usr/local/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:147:23
at processTicksAndRejections (internal/process/task_queues.js:93:5)
(Use node --trace-warnings ... to show where the warning was created)
(node:4418) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:4418) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version: homebridge-skyq-tvremote v1.3.0
  • Homebridge Version: 1.3.4
  • Node.js Version: 14.16.1
  • NPM Version: 7.11.1
  • Operating System:

Homebridge will not start

Describe The Bug:
Homebridge will not start keep getting the below error message. ip dress is configured in settings ok and at the Sky box itself and in my router settings

To Reproduce:

Expected behavior:

Logs:

Error: Cannot add more than 100 services to a single accessory!
    at Accessory.addService (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:453:13)
    at PlatformAccessory.addService (/usr/local/lib/node_modules/homebridge/src/platformAccessory.ts:93:41)
    at /usr/local/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:152:42
    at Array.forEach (<anonymous>)
    at /usr/local/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:147:23
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
Error: Cannot add more than 100 services to a single accessory!
    at Accessory.addService (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:453:13)
    at PlatformAccessory.addService (/usr/local/lib/node_modules/homebridge/src/platformAccessory.ts:93:41)
    at /usr/local/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:152:42
    at Array.forEach (<anonymous>)
    at /usr/local/lib/node_modules/homebridge-skyq-tvremote/src/platform.ts:147:23
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

Plugin Config:

{
			"name": "Sky Q TV Remote",
			"platform": "skyq-tvremote",
			"devices": [{
				"name": "Sky Q TV",
				"ipaddress": "192.168.1.5"
			}]
		},

Screenshots:

Environment:

  • Plugin Version:
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System:

RequestError: Error: connect ECONNREFUSED

Describe The Bug:
Devices show as 'No Response' in Home app. Child bridge constantly restarts in a error/restart loop.

To Reproduce:
Unknown. No variables have changes on my setup. Perhaps this relates to a Sky Q firmware update?

Expected behavior:
Child bridge should not continually loop, and status should be correctly reporting in the Home app.

Logs:

[03/12/2022, 20:53:02] [homebridge-skyq-tvremote] Child bridge process ended
[03/12/2022, 20:53:02] [homebridge-skyq-tvremote] Process Ended. Code: 1, Signal: null
[03/12/2022, 20:53:09] [homebridge-skyq-tvremote] Restarting Process...
[03/12/2022, 20:53:10] [homebridge-skyq-tvremote] Launched child bridge with PID 32286
[03/12/2022, 20:53:11] Registering platform 'homebridge-skyq-tvremote.skyq-tvremote'
[03/12/2022, 20:53:11] [homebridge-skyq-tvremote] Loaded homebridge-skyq-tvremote v1.4.1 child bridge successfully
[03/12/2022, 20:53:11] Loaded 0 cached accessories from cachedAccessories.0E9C43B3DB6B.
[03/12/2022, 20:53:11] [homebridge-skyq-tvremote] Sky TV platform finished initializing!
[03/12/2022, 20:53:11] Homebridge v1.5.1 (HAP v0.10.4) (homebridge-skyq-tvremote) is running on port 33299.
[03/12/2022, 20:53:11] Sky Q Living Room A6E8 is running on port 36875.
[03/12/2022, 20:53:11] Please add [Sky Q Living Room A6E8] manually in Home app. Setup Code: 343-95-717
[03/12/2022, 20:53:11] Sky Q Bedroom ABE8 is running on port 37279.
[03/12/2022, 20:53:11] Please add [Sky Q Bedroom ABE8] manually in Home app. Setup Code: 343-95-717
[03/12/2022, 20:53:11] Sky Q Extension B3E1 is running on port 39467.
[03/12/2022, 20:53:11] Please add [Sky Q Extension B3E1] manually in Home app. Setup Code: 343-95-717

/var/lib/homebridge/node_modules/homebridge-skyq-tvremote/node_modules/request-promise-core/lib/errors.js:14
Error.captureStackTrace(this);
^
RequestError: Error: connect ECONNREFUSED 192.168.5.38:9006
at new RequestError (/var/lib/homebridge/node_modules/homebridge-skyq-tvremote/node_modules/request-promise-core/lib/errors.js:14:15)
at Request.plumbing.callback (/var/lib/homebridge/node_modules/homebridge-skyq-tvremote/node_modules/request-promise-core/lib/plumbing.js:87:29)
at Request.RP$callback [as _callback] (/var/lib/homebridge/node_modules/homebridge-skyq-tvremote/node_modules/request-promise-core/lib/plumbing.js:46:31)
at self.callback (/var/lib/homebridge/node_modules/homebridge-skyq-tvremote/node_modules/request/request.js:185:22)
at Request.emit (node:events:513:28)
at Request.onRequestError (/var/lib/homebridge/node_modules/homebridge-skyq-tvremote/node_modules/request/request.js:877:8)
at ClientRequest.emit (node:events:513:28)
at Socket.socketErrorListener (node:_http_client:494:9)
at Socket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
[03/12/2022, 20:53:11] [homebridge-skyq-tvremote] Child bridge process ended
[03/12/2022, 20:53:11] [homebridge-skyq-tvremote] Process Ended. Code: 1, Signal: null

Plugin Config:

{
"devices": [
{
"name": "Sky Q Living Room",
"ipAddress": "192.168.5.49"
},
{
"name": "Sky Q Bedroom",
"ipAddress": "192.168.5.63"
},
{
"name": "Sky Q Extension",
"ipAddress": "192.168.5.38"
}
],
"_bridge": {
"username": "XX:XX:XX:XX:XX:XX",
"port": 33299
},
"platform": "skyq-tvremote"
}

Screenshots:

Environment:

  • Plugin Version:

V1.4.1

  • Homebridge Version: <V1.5.1->
  • Node.js Version:
  • NPM Version:
  • Operating System:

Multiple Sky Q Devices

Allow multiple Sky Q devices.

Example Configuration:

{
    "name": "Sky Q",
    "accessories": [
        {
            "name": "Living Room Sky Q",
            "ipAddress": "192.168.0.2"
        },
        {
            "name": "Bedroom Sky Q",
            "ipAddress": "192.168.0.3"
        }
    ],
    "platform": "skyq-tvremote"
}

Can't see how to use Favourite channels

I've managed to get the plugin installed and working nicely with my Sky Q box. It will happily turn the box on and off using either the Home app or the remote control device in control centre.

I've got five favourite channels set up on my sky box which I can see if I go into the settings of the Sky Q Accessory in the Home app, but I can't make any of them change channels - if I tap them they just open a settings screen for that channel, they don't activate the new channel. It looks like all five channels are "on" whenever the main accessory is "on". Am I doing something wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.