jsiegenthaler / homebridge-eosstb

A homebridge plugin for the EOS set-top box as used by Sunrise, Telenet, Ziggo, Virgin Media and maybe more in various countries on the Horizon Go (HGO) platform
https://github.com/jsiegenthaler/homebridge-eosstb
32 stars 4 forks source link

Can’t add to Home App #67

Closed pootney0806 closed 1 year ago

pootney0806 commented 2 years ago

Installed the plug-in, but can’t find the set top box in the Home App when I add try to add a new accessory.

Config: { "bridge": { "name": "Homebridge 718E", "username": "xxx", "port": xxx, "pin": "xxx" }, "accessories": [], "devices": [ { "deviceId": "xxx", "name": "Virgin TV 360" } ], "platforms": [ { "name": "Config", "port": 8581, "auth": "form", "theme": "auto", "tempUnits": "c", "lang": "auto", "platform": "config" }, { "refreshToken": "xxx", "hideDoorbellSwitch": true, "avoidSnapshotBatteryDrain": true, "platform": "Ring" }, { "name": "VirginTV 360", "country": "gb", "username": "xxx", "password": "xxx", "doublePressTime": 250, "doublePressDelayTime": 300, "debugLevel": 2, "devices": [ { "syncName": true, "accessoryCategory": "television", "showChannelNumbers": false, "maxChannels": 95, "arrowUpButton": "ArrowUp", "arrowUpButtonDoubleTap": "ChannelUp", "arrowDownButton": "ArrowDown", "arrowDownButtonDoubleTap": "ChannelDown", "arrowLeftButton": "ArrowLeft", "arrowLeftButtonDoubleTap": "MediaRewind", "arrowRightButton": "ArrowRight", "arrowRightButtonDoubleTap": "MediaFastForward", "selectButton": "Enter", "selectButtonDoubleTap": "Enter", "playPauseButton": "MediaPlayPause", "playPauseButtonDoubleTap": "MediaPlayPause", "backButton": "Escape", "backButtonDoubleTap": "Escape", "infoButton": "MediaTopMenu", "infoButtonDoubleTap": "Guide", "viewTvSettingsCommand": "Help" } ], "platform": "eosstb" } ] }

jsiegenthaler commented 2 years ago

Hi.. Sorry for the delay in responding, I was on holiday.

Send me a log file showing the eosstb entries after a restart of Homebridge. I'm picking that the logon on to Virgin TV is not completing for some reason.

jsiegenthaler commented 2 years ago

Hi @Aleandor

I need to see a log showing the login from the plugin to Telenet. Restart Homebridge, wait for the login attempt to occur, and send me the log file. Please hide/overwrite any confidential information such as usernames and passwords.

Jochen

On Mon, 15 Aug 2022 at 11:08, Aleandor @.***> wrote:

I’m having the same issue. Telenet BE-NL. Nothing really happens after completing the mandatory config.

— Reply to this email directly, view it on GitHub https://github.com/jsiegenthaler/homebridge-eosstb/issues/67#issuecomment-1214781767, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFC2QT5BR6EOEOVBSF2T5TVZICIBANCNFSM56GHCULQ . You are receiving this because you were assigned.Message ID: @.***>

Aleandor commented 2 years ago

Hi Jochen,

Apparently there was a problem with my node.js. Updated it and now I was able to add the bridge to my homekit.

However the settopbox does not show up in my home app. It does show up in my homebridge accessoires. Do you know what might cause this?

Op 15 aug. 2022 om 11:45 heeft jsiegenthaler @.***> het volgende geschreven:

 Hi

I need to see a log showing the login from the plugin to Telenet. Restart Homebridge, wait for the login attempt to occur, and send me the log file. Please hide/overwrite any confidential information such as usernames and passwords.

Jochen

On Mon, 15 Aug 2022 at 11:08, Aleandor @.***> wrote:

I’m having the same issue. Telenet BE-NL. Nothing really happens after completing the mandatory config.

— Reply to this email directly, view it on GitHub https://github.com/jsiegenthaler/homebridge-eosstb/issues/67#issuecomment-1214781767, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFC2QT5BR6EOEOVBSF2T5TVZICIBANCNFSM56GHCULQ . You are receiving this because you were assigned.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

jsiegenthaler commented 2 years ago

Hi You need to add the settop box as per the instructions here: https://github.com/jsiegenthaler/homebridge-eosstb#adding-the-set-top-box-to-the-home-app

It may take a few minutes after rebooting Homebridge for the new device to be advertised and recognised by Apple HomeKit. Make sure, of course, that your Homebridge is added to HomeKit as a bridge

Aleandor commented 2 years ago

I feel stupid now. It works like a charm. You’re my hero! Thank you.

Op 15 aug. 2022 om 13:22 heeft jsiegenthaler @.***> het volgende geschreven:

 Hi You need to add the settop box as per the instructions here: https://github.com/jsiegenthaler/homebridge-eosstb#adding-the-set-top-box-to-the-home-app

It may take a few minutes after rebooting Homebridge for the new device to be advertised and recognised by Apple HomeKit. Make sure, of course, that your Homebridge is added to HomeKit as a bridge

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

pootney0806 commented 2 years ago

Hi, my turn to be on holiday now. This is the log file. I’ve removed everything not related to VirginTV.

[19/08/2022, 11:00:08] [Homebridge UI] Homebridge restart request received [19/08/2022, 11:00:08] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process [19/08/2022, 11:00:08] [Homebridge UI] Sending SIGTERM to Homebridge [19/08/2022, 11:00:08] Got SIGTERM, shutting down Homebridge... [19/08/2022, 11:00:13] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [19/08/2022, 11:00:18] [HB Supervisor] Restarting Homebridge... [19/08/2022, 11:00:18] [HB Supervisor] Starting Homebridge with extra flags: -I [19/08/2022, 11:00:19] [HB Supervisor] Started Homebridge v1.5.0 with PID: 4862 [19/08/2022, 11:00:21] Loaded config.json with 0 accessories and 4 platforms. [19/08/2022, 11:00:21] Loaded 1 cached accessories from cachedAccessories. [19/08/2022, 11:00:21] --- npm WARN config global --global, --local are deprecated. Use --location=global instead. [19/08/2022, 11:00:28] Loaded plugin: homebridge-broadlink-rm-pro@4.4.11 [19/08/2022, 11:00:28] Registering platform 'homebridge-broadlink-rm-pro.BroadlinkRM' [19/08/2022, 11:00:28] --- [19/08/2022, 11:00:28] Loaded plugin: homebridge-config-ui-x@4.50.1 [19/08/2022, 11:00:28] Registering platform 'homebridge-config-ui-x.config' [19/08/2022, 11:00:28] --- [19/08/2022, 11:00:29] Loaded plugin: homebridge-eosstb@1.4.8 [19/08/2022, 11:00:29] Registering platform 'homebridge-eosstb.eosstb' [19/08/2022, 11:00:29] --- [19/08/2022, 11:00:33] Loaded plugin: homebridge-ring@11.0.7 [19/08/2022, 11:00:33] Registering platform 'homebridge-ring.Ring' [19/08/2022, 11:00:33] --- [19/08/2022, 11:00:33] Loading 4 platforms... [19/08/2022, 11:00:33] [VirginTV 360] Initializing eosstb platform... [19/08/2022, 11:00:33] [VirginTV 360] homebridge-eosstb v1.4.8 [19/08/2022, 11:00:48] [VirginTV 360] Creating eosstb GB session... [19/08/2022, 11:00:48] [VirginTV 360] Step 1 of 7: get authentication details [19/08/2022, 11:00:48] [VirginTV 360] Step 1 of 7 response: 200 OK [19/08/2022, 11:00:48] [VirginTV 360] Step 2 of 7: get AUTH cookie [19/08/2022, 11:00:48] [VirginTV 360] Step 2 of 7: response: 200 OK [19/08/2022, 11:00:48] [VirginTV 360] Step 3 of 7: logging in with username XXXXX [19/08/2022, 11:00:49] [VirginTV 360] Step 3 of 7: response: 200 OK [19/08/2022, 11:00:49] [VirginTV 360] Step 4 of 7: follow redirect url [19/08/2022, 11:00:49] [VirginTV 360] Step 4 of 7 response: 302 Found [19/08/2022, 11:00:49] [VirginTV 360] Step 5 of 7: extract authorizationCode [19/08/2022, 11:00:49] [VirginTV 360] Step 5 of 7: authorizationCode OK [19/08/2022, 11:00:49] [VirginTV 360] Step 6 of 7: post auth data with valid code [19/08/2022, 11:00:49] [VirginTV 360] Step 6 of 7: response: 200 OK [19/08/2022, 11:00:49] [VirginTV 360] Step 7 of 7: post refreshToken request [19/08/2022, 11:00:50] [VirginTV 360] Step 7 of 7: response: 200 OK [19/08/2022, 11:00:50] [VirginTV 360] Session created [19/08/2022, 11:01:18] [VirginTV 360] Discovering platform and devices... [19/08/2022, 11:01:18] [VirginTV 360] Found customer data: XXXXX [19/08/2022, 11:01:18] [VirginTV 360] Loading master channel list and personalization data [19/08/2022, 11:01:18] [VirginTV 360] Refreshing personalization data for profiles [19/08/2022, 11:01:18] [VirginTV 360] Refreshing personalization data for devices [19/08/2022, 11:01:23] [VirginTV 360] Found 1 device [19/08/2022, 11:01:23] [VirginTV 360] Discovery completed [19/08/2022, 11:01:23] [VirginTV 360] Device not found in config: 3C36E4-EOSSTB-003705727208 [19/08/2022, 11:01:23] [VirginTV 360] Config tip: Add these lines to your Homebridge eosstb config if you wish to customise your device config: "devices": [ { "deviceId": "3C36E4-EOSSTB-003705727208", "name": "Virgin TV 360" } ] [19/08/2022, 11:01:23] [VirginTV 360] Finding devices in cache... [19/08/2022, 11:01:23] [VirginTV 360] Device 1: Virgin TV 360 3C36E4-EOSSTB-003705727208 [19/08/2022, 11:01:23] [VirginTV 360] Device not found in cache, creating new accessory for 3C36E4-EOSSTB-003705727208 [19/08/2022, 11:01:23] [VirginTV 360] Setting up device 1 of 1: Virgin TV 360 [19/08/2022, 11:01:23] [VirginTV 360] Virgin TV 360: Refreshing channel list... [19/08/2022, 11:01:23] [VirginTV 360] Virgin TV 360: No valid profile found in config. Selecting best-fitting profile [19/08/2022, 11:01:23] [VirginTV 360] Virgin TV 360: Using profile 0 'Shared Profile' [19/08/2022, 11:01:23] [VirginTV 360] Virgin TV 360: Profile 'Shared Profile' contains 195 channels [19/08/2022, 11:01:23] [VirginTV 360] Virgin TV 360: Refreshing channels 1 to 95 [19/08/2022, 11:01:23] [VirginTV 360] Virgin TV 360: Channel list refreshed from profile 'Shared Profile' with 95 channels [19/08/2022, 11:01:26] [VirginTV 360] Virgin TV 360: Initializing accessory... [19/08/2022, 11:01:26] [VirginTV 360] Virgin TV 360: Set Manufacturer to ARRIS [HORIZON] [19/08/2022, 11:01:26] [VirginTV 360] Virgin TV 360: Set Model to DCX960 [GATEWAY] [19/08/2022, 11:01:26] [VirginTV 360] Virgin TV 360: Set Serial Number to 3C36E4-EOSSTB-003705727208 [19/08/2022, 11:01:26] [VirginTV 360] Virgin TV 360: Set Firmware to 1.4.8 [19/08/2022, 11:01:27] [VirginTV 360] Virgin TV 360: Initialization completed [19/08/2022, 11:01:27] Virgin TV 360 B01C is running on port 46239. [19/08/2022, 11:01:27] Please add [Virgin TV 360 B01C] manually in Home app. Setup Code: XXXXXX [19/08/2022, 11:01:28] [VirginTV 360] mqttClient: Connected: true [19/08/2022, 11:01:28] [VirginTV 360] Refreshing recording state [19/08/2022, 11:01:28] [VirginTV 360] Virgin TV 360: Status Fault changed from undefined [undefined] to 0 [NO_FAULT] [19/08/2022, 11:01:28] [VirginTV 360] Virgin TV 360: Status Active changed from undefined [undefined] to 1 [ACTIVE] [19/08/2022, 11:01:28] [VirginTV 360] Virgin TV 360: In Use changed from undefined [undefined] to 0 [NOT_IN_USE] [19/08/2022, 11:01:28] [VirginTV 360] Virgin TV 360: Picture Mode changed from null [undefined] to 1 [STANDARD] [19/08/2022, 11:01:28] [VirginTV 360] Virgin TV 360: Program Mode changed from undefined [undefined] to 1 [PROGRAM_SCHEDULED] [19/08/2022, 11:01:28] [VirginTV 360] Virgin TV 360: Input Device Type changed from undefined [undefined] to 1 [TV]

jsiegenthaler commented 2 years ago

Nothing wrong in your log whatsoever, you are properly logged in and the device is ready. So the plugin is working properly.

Try adding in HomeKit again. Make sure you follow the process to add a new TV device.

On Fri, 19 Aug 2022 at 12:17, pootney0806 @.***> wrote:

Hi, my turn to be on holiday now. This is the log file. I’ve removed everything not related to VirginTV.

[19/08/2022, 11:00:08] [Homebridge UI] Homebridge restart request received [19/08/2022, 11:00:08] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process [19/08/2022, 11:00:08] [Homebridge UI] Sending SIGTERM to Homebridge [19/08/2022, 11:00:08] Got SIGTERM, shutting down Homebridge... [19/08/2022, 11:00:13] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [19/08/2022, 11:00:18] [HB Supervisor] Restarting Homebridge... [19/08/2022, 11:00:18] [HB Supervisor] Starting Homebridge with extra flags: -I [19/08/2022, 11:00:19] [HB Supervisor] Started Homebridge v1.5.0 with PID: 4862 [19/08/2022, 11:00:21] Loaded config.json with 0 accessories and 4 platforms. [19/08/2022, 11:00:21] Loaded 1 cached accessories from cachedAccessories. [19/08/2022, 11:00:21] --- npm WARN config global --global, --local are deprecated. Use --location=global instead. [19/08/2022, 11:00:28] Loaded plugin: @. [19/08/2022, 11:00:28] Registering platform 'homebridge-broadlink-rm-pro.BroadlinkRM' [19/08/2022, 11:00:28] --- [19/08/2022, 11:00:28] Loaded plugin: @. [19/08/2022, 11:00:28] Registering platform 'homebridge-config-ui-x.config' [19/08/2022, 11:00:28] --- [19/08/2022, 11:00:29] Loaded plugin: @. [19/08/2022, 11:00:29] Registering platform 'homebridge-eosstb.eosstb' [19/08/2022, 11:00:29] --- [19/08/2022, 11:00:33] Loaded plugin: @. [19/08/2022, 11:00:33] Registering platform 'homebridge-ring.Ring' [19/08/2022, 11:00:33] --- [19/08/2022, 11:00:33] Loading 4 platforms... [19/08/2022, 11:00:33] [VirginTV 360] Initializing eosstb platform... [19/08/2022, 11:00:33] [VirginTV 360] homebridge-eosstb v1.4.8 [19/08/2022, 11:00:48] [VirginTV 360] Creating eosstb GB session... [19/08/2022, 11:00:48] [VirginTV 360] Step 1 of 7: get authentication details [19/08/2022, 11:00:48] [VirginTV 360] Step 1 of 7 response: 200 OK [19/08/2022, 11:00:48] [VirginTV 360] Step 2 of 7: get AUTH cookie [19/08/2022, 11:00:48] [VirginTV 360] Step 2 of 7: response: 200 OK [19/08/2022, 11:00:48] [VirginTV 360] Step 3 of 7: logging in with username XXXXX [19/08/2022, 11:00:49] [VirginTV 360] Step 3 of 7: response: 200 OK [19/08/2022, 11:00:49] [VirginTV 360] Step 4 of 7: follow redirect url [19/08/2022, 11:00:49] [VirginTV 360] Step 4 of 7 response: 302 Found [19/08/2022, 11:00:49] [VirginTV 360] Step 5 of 7: extract authorizationCode [19/08/2022, 11:00:49] [VirginTV 360] Step 5 of 7: authorizationCode OK [19/08/2022, 11:00:49] [VirginTV 360] Step 6 of 7: post auth data with valid code [19/08/2022, 11:00:49] [VirginTV 360] Step 6 of 7: response: 200 OK [19/08/2022, 11:00:49] [VirginTV 360] Step 7 of 7: post refreshToken request [19/08/2022, 11:00:50] [VirginTV 360] Step 7 of 7: response: 200 OK [19/08/2022, 11:00:50] [VirginTV 360] Session created [19/08/2022, 11:01:18] [VirginTV 360] Discovering platform and devices... [19/08/2022, 11:01:18] [VirginTV 360] Found customer data: XXXXX [19/08/2022, 11:01:18] [VirginTV 360] Loading master channel list and personalization data [19/08/2022, 11:01:18] [VirginTV 360] Refreshing personalization data for profiles [19/08/2022, 11:01:18] [VirginTV 360] Refreshing personalization data for devices [19/08/2022, 11:01:23] [VirginTV 360] Found 1 device [19/08/2022, 11:01:23] [VirginTV 360] Discovery completed [19/08/2022, 11:01:23] [VirginTV 360] Device not found in config: 3C36E4-EOSSTB-003705727208 [19/08/2022, 11:01:23] [VirginTV 360] Config tip: Add these lines to your Homebridge eosstb config if you wish to customise your device config: "devices": [ { "deviceId": "3C36E4-EOSSTB-003705727208", "name": "Virgin TV 360" } ] [19/08/2022, 11:01:23] [VirginTV 360] Finding devices in cache... [19/08/2022, 11:01:23] [VirginTV 360] Device 1: Virgin TV 360 3C36E4-EOSSTB-003705727208 [19/08/2022, 11:01:23] [VirginTV 360] Device not found in cache, creating new accessory for 3C36E4-EOSSTB-003705727208 [19/08/2022, 11:01:23] [VirginTV 360] Setting up device 1 of 1: Virgin TV 360 [19/08/2022, 11:01:23] [VirginTV 360] Virgin TV 360: Refreshing channel list... [19/08/2022, 11:01:23] [VirginTV 360] Virgin TV 360: No valid profile found in config. Selecting best-fitting profile [19/08/2022, 11:01:23] [VirginTV 360] Virgin TV 360: Using profile 0 'Shared Profile' [19/08/2022, 11:01:23] [VirginTV 360] Virgin TV 360: Profile 'Shared Profile' contains 195 channels [19/08/2022, 11:01:23] [VirginTV 360] Virgin TV 360: Refreshing channels 1 to 95 [19/08/2022, 11:01:23] [VirginTV 360] Virgin TV 360: Channel list refreshed from profile 'Shared Profile' with 95 channels [19/08/2022, 11:01:26] [VirginTV 360] Virgin TV 360: Initializing accessory... [19/08/2022, 11:01:26] [VirginTV 360] Virgin TV 360: Set Manufacturer to ARRIS [HORIZON] [19/08/2022, 11:01:26] [VirginTV 360] Virgin TV 360: Set Model to DCX960 [GATEWAY] [19/08/2022, 11:01:26] [VirginTV 360] Virgin TV 360: Set Serial Number to 3C36E4-EOSSTB-003705727208 [19/08/2022, 11:01:26] [VirginTV 360] Virgin TV 360: Set Firmware to 1.4.8 [19/08/2022, 11:01:27] [VirginTV 360] Virgin TV 360: Initialization completed [19/08/2022, 11:01:27] Virgin TV 360 B01C is running on port 46239. [19/08/2022, 11:01:27] Please add [Virgin TV 360 B01C] manually in Home app. Setup Code: XXXXXX [19/08/2022, 11:01:28] [VirginTV 360] mqttClient: Connected: true [19/08/2022, 11:01:28] [VirginTV 360] Refreshing recording state [19/08/2022, 11:01:28] [VirginTV 360] Virgin TV 360: Status Fault changed from undefined [undefined] to 0 [NO_FAULT] [19/08/2022, 11:01:28] [VirginTV 360] Virgin TV 360: Status Active changed from undefined [undefined] to 1 [ACTIVE] [19/08/2022, 11:01:28] [VirginTV 360] Virgin TV 360: In Use changed from undefined [undefined] to 0 [NOT_IN_USE] [19/08/2022, 11:01:28] [VirginTV 360] Virgin TV 360: Picture Mode changed from null [undefined] to 1 [STANDARD] [19/08/2022, 11:01:28] [VirginTV 360] Virgin TV 360: Program Mode changed from undefined [undefined] to 1 [PROGRAM_SCHEDULED] [19/08/2022, 11:01:28] [VirginTV 360] Virgin TV 360: Input Device Type changed from undefined [undefined] to 1 [TV]

— Reply to this email directly, view it on GitHub https://github.com/jsiegenthaler/homebridge-eosstb/issues/67#issuecomment-1220504333, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFC2QTSQTU26UZZC5RDNXTVZ5NK3ANCNFSM56GHCULQ . You are receiving this because you were assigned.Message ID: @.***>

pootney0806 commented 2 years ago

Hi. I’ve gone through the process again. Still nothing. It appears in the homebridge website. Just not in the Home app. I’ve done a screen recording to show you more details but can’t upload it here for some reason?

jsiegenthaler commented 2 years ago

Hi @pootney0806 , send me an email. Insert a b between 1st and 2nd letter of my github username, and use that common email service that starts with a g :)

pootney0806 commented 2 years ago

Hi @jsiegenthaler hopefully my emails works and the video finds you

jsiegenthaler commented 2 years ago

It did. Just got home. Will check it our after dinner.

Regards Jochen

Sent from my iPhone 12Super

On 21 Aug 2022, at 19:23, pootney0806 @.***> wrote:

 Hi @jsiegenthaler hopefully my emails works and the video finds you

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

jsiegenthaler commented 1 year ago

As per email communication, this appears to be a networking issue of your home network. It is not a plugin issue, as the plugin works properly and the accessory can be added to HomeKit without issue

jsiegenthaler commented 1 year ago

Closing as this is not a plugin issue