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

LG Horizon unavailable again and breaking HA as last time #107

Closed canedje closed 7 months ago

canedje commented 7 months ago

Describe the bug Suddenly the LG Horizon integration was unavailable Restarting integration didn't work giving initializing error After restarting HA, HA is not starting anymore. Hanging on LG-Horizon integration Like problem before last week https://github.com/Sholofly/lghorizon/issues/100 Difference is not a real error code in LOG, only warning about waiting for integration

EDIT: I did the steps again as mentioned here above. switch off integration, restart HA, starting integration again after startup HA. LG Horizon, Up and running. Is now up and running for 15 minutes

I switched off LG-Horizon integration. Restarted HA. (HACS part still running) HA is starting again. After restart without LG Horizon integration, I did start the integration and it is working again??? After some minutes Integration not available again image After reload the integration Initialize problem again image After restart HA hangig again on LG Horizon integration image Not a real error in LOG image I need to switch off LG Horizon to get HA up and running again

EDIT2: I did the procedure as mentioned here above: Switch off LG Horizon integration. Restart HA. Start LG Horizon integration again. LG Horizon is up and running (Now for 15 minutes already)

EDIT3: Still not running as aspected. After switching off the TV (next mini) The integration still says playing: image

EDIT4: This happened several times yesterday evening. Now it is running again. I think GHeiner is right. A temporary problem with the API at Ziggo?

To Reproduce Nothing todo it just happens Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Version of the component v0.5.9

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:
    lghorizon: debug

Additional context Add any other context about the problem here.

GHeiner commented 7 months ago

I've encountered the same.

When try to install the LGHorizon integration get get this in my logging Logger: homeassistant.config_entries Source: config_entries.py:444 First occurred: 20:15:08 (1 occurrences) Last logged: 20:15:08

Error setting up entry gerard@heiner.nl for lghorizon Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 444, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/lghorizon/init.py", line 50, in async_setup_entry await hass.async_add_executor_job(api.connect) asyncio.exceptions.CancelledError

after trying again the problem is gone. Maybe a glitch at Ziggo?

canedje commented 7 months ago

Not happened anymore. Issue can be closed