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

checkChannelListInterval Error #109

Closed absreda closed 5 months ago

absreda commented 11 months ago

Describe The Bug: The plugin returns an error message every minute after it is started. This does not appear to affect functionality.

To Reproduce: Start the plugin.

Expected behavior: No error messages

Logs:

[29/07/2023, 17:05:51] [EOSSTB] stbPlatform: checkChannelListInterval Error  ERR_BAD_RESPONSE https://prod.spark.virginmedia.com/auth-service/v1/authorization/refresh
[29/07/2023, 17:06:53] [EOSSTB] stbPlatform: checkChannelListInterval Error  ERR_BAD_RESPONSE https://prod.spark.virginmedia.com/auth-service/v1/authorization/refresh
[29/07/2023, 17:07:51] [EOSSTB] stbPlatform: checkChannelListInterval Error  ERR_BAD_RESPONSE https://prod.spark.virginmedia.com/auth-service/v1/authorization/refresh
[29/07/2023, 17:08:51] [EOSSTB] stbPlatform: checkChannelListInterval Error  ERR_BAD_RESPONSE https://prod.spark.virginmedia.com/auth-service/v1/authorization/refresh
[29/07/2023, 17:09:51] [EOSSTB] stbPlatform: checkChannelListInterval Error  ERR_BAD_RESPONSE https://prod.spark.virginmedia.com/auth-service/v1/authorization/refresh
[29/07/2023, 17:10:51] [EOSSTB] stbPlatform: checkChannelListInterval Error  ERR_BAD_RESPONSE https://prod.spark.virginmedia.com/auth-service/v1/authorization/refresh
[29/07/2023, 17:11:52] [EOSSTB] stbPlatform: checkChannelListInterval Error  ERR_BAD_RESPONSE https://prod.spark.virginmedia.com/auth-service/v1/authorization/refresh
[29/07/2023, 17:12:51] [EOSSTB] stbPlatform: checkChannelListInterval Error  ERR_BAD_RESPONSE https://prod.spark.virginmedia.com/auth-service/v1/authorization/refresh
[29/07/2023, 17:13:51] [EOSSTB] stbPlatform: checkChannelListInterval Error  ERR_BAD_RESPONSE https://prod.spark.virginmedia.com/auth-service/v1/authorization/refresh
[29/07/2023, 17:14:51] [EOSSTB] stbPlatform: checkChannelListInterval Error  ERR_BAD_RESPONSE https://prod.spark.virginmedia.com/auth-service/v1/authorization/refresh
[29/07/2023, 17:15:51] [EOSSTB] stbPlatform: checkChannelListInterval Error  ERR_BAD_RESPONSE https://prod.spark.virginmedia.com/auth-service/v1/authorization/refresh
[29/07/2023, 17:16:51] [EOSSTB] stbPlatform: checkChannelListInterval Error  ERR_BAD_RESPONSE https://prod.spark.virginmedia.com/auth-service/v1/authorization/refresh

Plugin Config:

{
    "name": "EOSSTB",
    "country": "gb",
    "username": "xx",
    "password": "xx",
    "doublePressTime": 250,
    "doublePressDelayTime": 300,
    "devices": [
        {
            "deviceId": "xx",
            "name": "Virgin TV 360",
            "syncName": true,
            "accessoryCategory": "settopbox",
            "profile": "Homebridge",
            "channelOrder": "mostWatched",
            "maxChannels": 95,
            "showChannelNumbers": false,
            "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"
        }
    ],
    "_bridge": {
        "username": "xx",
        "port": "xx"
    },
    "platform": "eosstb"
}

Screenshots:

Environment:

jsiegenthaler commented 11 months ago

Thanks for that. Looks like the authentication system has changed for VirginMedia. Can you please enable Homebridge Debug mode and send me a debug log snippet. I need to see the response that is coming from the VirginMedia system

jsiegenthaler commented 11 months ago

I've also just released 2.2.11-beta.2 where the mqtt dependency has had a major update, you could try this but I don't think it will change your issue.

absreda commented 11 months ago

Thanks - sent. Let me know if you need any more info.

jsiegenthaler commented 11 months ago

Email sent....

absreda commented 10 months ago

Thanks. I sent across some logs - hope it's helpful. Let me know if you need any other info.

jsiegenthaler commented 10 months ago

Sorry for the delay, life has been busy. I'm publishing a new beta tonight: v2.2.12-beta.1, which updates a few things, but also gives you the possibility of setting a custom masterChannelRefreshCheckInterval (in seconds) using a value in the config file I have no errors with my provider so your issue is going to be tricky to solve. the logs didn't show me anything I didn't know...

jsiegenthaler commented 10 months ago

I published a new beta tonight where you can change the masterChannelRefreshCheckInterval to a value of your choosing. In seconds. This will hopefully reduce the annoying log entries.

I need to think about the auth issue in your country more. My country works fine....

Jochen

On Mon, 11 Sept 2023 at 19:02, absreda @.***> wrote:

Thanks. I sent across some logs - hope it's helpful. Let me know if you need any other info.

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

absreda commented 10 months ago

Thanks Jochen. Installed the beta and set an interval of 1 day for now...

1aranzant commented 8 months ago

I have the same issue, and I am using Telenet (Belgium).

jsiegenthaler commented 6 months ago

Hi All Watchers: I am not ignoring this issue, I will recommence work on it in January. Any and all help appreciated...

jsiegenthaler commented 5 months ago

Closing this issue as connections to the box are no longer working. See Issue #112