Sholofly / lghorizon

Custom integration to control LG Horizon settop boxes for Ziggo(NL), Magenta(AT), UPC(CH), Virgin(GB, IE), Telenet(BE)
GNU General Public License v3.0
58 stars 13 forks source link

Error: Unable to fetch recording capacity #55

Open sammyke007 opened 1 year ago

sammyke007 commented 1 year ago

Describe the bug

Hi @Sholofly! Still running this great integration and loving it a lot! Since a week or two the HASS log's show up the following error. No big problem, just FYI.

Logger: lghorizon.lghorizon_api
Source: /usr/local/lib/python3.10/site-packages/lghorizon/lghorizon_api.py:425
First occurred: 1 april 2023 om 15:38:33 (9 occurrences)
Last logged: 07:38:33

Unable to fetch recording capacity...

To Reproduce /

Expected behavior /

Screenshots /

Version of the component v0.5.0

Logging Enable debug logging and add your log. DO NOT SHARE SENSITIVE DATA SUCH AS PASSWORDS AND ACCOUNT INFO! You can enable logging by setting up the logging component in HA as follows:

logger:
  default: warning
  logs:
    arris_dcx960: debug

Additional context Add any other context about the problem here.

sammyke007 commented 1 year ago

Still showing up, any idea?

Sholofly commented 1 year ago

Hi sammyke, no, unfortunately not. Do you record in the cloud or on the device?

Sholofly commented 1 year ago

BTW you'll have to chage arris_dcx960 to lghorizon to enable logging.

sammyke007 commented 1 year ago

Hi sammyke, no, unfortunately not. Do you record in the cloud or on the device?

In the cloud (new TVboxes don't have a HDD anymore). Might be something wrong on their api, but it's only the recording capacity that errors...

X1pheR commented 1 year ago

I'm receiving the same error but can actually explain why (at least in my case) it's showing up. I have Ziggo with TV Start subscription. This subscription does not provide recording ability and only 2 days history playback instead of 7 or something days like normal. @sammyke007 are you able to actually record on your mediabox or do you also get a message (as in my case) that you have to upgrade your subscription to enable recording.

Sholofly commented 7 months ago

@X1pheR, can you provide me some logging? It would be useful if i can get some logging about your account details (Except for personal info of course) To determine if I am able to disable the recording capacity based on that intel :)

X1pheR commented 6 months ago

@X1pheR, can you provide me some logging? It would be useful if i can get some logging about your account details (Except for personal info of course) To determine if I am able to disable the recording capacity based on that intel :)

Unfortunately I've switched providers so cannot provide any info anymore. Now using an Odido 4K Android TV box.

FlexxFR commented 5 months ago

I'm receiving the same error but can actually explain why (at least in my case) it's showing up. I have Ziggo with TV Start subscription. This subscription does not provide recording ability and only 2 days history playback instead of 7 or something days like normal. @sammyke007 are you able to actually record on your mediabox or do you also get a message (as in my case) that you have to upgrade your subscription to enable recording.

I have the same. This intergration is working fine, but it would be nice if it could be configured not to check the online services/recording. Just to keep the logs clean :)

This one probably also related: Giving up _do_api_call(...) after 3 tries (lghorizon.exceptions.LGHorizonApiConnectionError: Unable to call https://spark-prod-nl.gnp.cloud.ziggogo.tv/eng/web/recording-service/customers/_nl/quota. Error:402 Client Error: Payment Required for url: https://spark-prod-nl.gnp.cloud.ziggogo.tv/eng/web/recording-service/customers/_nl/quota)