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
65 stars 15 forks source link

LG Horizon stopped working with Sunrise Switzerland #95

Closed netrene closed 10 months ago

netrene commented 10 months ago

Describe the bug LG Horizon does not get connected anymore. There is an error at startup and the Component shows up in HA as unavailable.

To Reproduce Just start the system.

Expected behavior I changed recently from UPC to Sunrise and was able to get it running with my mobile number and password.

Screenshots No

Version of the component 0.5.5 IMO it stopped working with 0.5.4B1

Logging The log is full of this 2024-01-21 20:34:40.460 ERROR (SyncWorker_13) [lghorizon.lghorizon_api] Giving up _do_api_call(...) after 3 tries (lghorizon.exceptions.LGHorizonApiConnectionError: Unable to call https://spark-prod-ch.gnp.cloud.sunrisetv.ch/auth-service/v1/mqtt/token. Error:401 Client Error: Unauthorized for url: https://spark-prod-ch.gnp.cloud.sunrisetv.ch/auth-service/v1/mqtt/token)

Additional context When I open https://spark-prod-ch.gnp.cloud.sunrisetv.ch/auth-service/v1/mqtt/token in a browser I get no error and a token as reply.

Sholofly commented 10 months ago

See #90 please add your error there..