Open dickthespoon opened 8 months ago
I'm having the same issues. Posted details here, https://github.com/Sholofly/lghorizon/issues/62. I first noticed the problem around mid morning today 10/1/24.
I've tried rebooting HA and Virgin box. I then removed the device but I can't add it back in getting the above error.
Same issue
Just adding what's seen in the debug log:
2024-01-11 13:35:48.508 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Connect to API 2024-01-11 13:35:48.508 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Step 1 - Get Authorization data 2024-01-11 13:35:48.797 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Step 2 - Get Authorization cookie 2024-01-11 13:35:49.024 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Step 3 - Login 2024-01-11 13:35:49.179 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Step 4 - Follow redirect 2024-01-11 13:35:49.265 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Step 5 - Extract auth code 2024-01-11 13:35:49.265 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Auth code: **, Auth state: **** 2024-01-11 13:35:49.265 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Step 6 - Post auth data with valid code 2024-01-11 13:35:50.054 DEBUG (SyncWorker_10) [lghorizon.lghorizon_api] Obtain Virgin GB mqtt token... 2024-01-11 13:35:50.054 INFO (SyncWorker_10) [lghorizon.lghorizon_api] Backing off connect(...) for 1.0s (AttributeError: 'LGHorizonAuth' object has no attribute 'username')
**Auth code and Auth state redacted!
Same here.
Also happening here, Virgin Media Ireland
It happened to me, but UPC Poland.
Same issue with Telenet (BE)
It happened to me just after an update to 2024.1.1
same here for Telenet BE
I'm having the same problem - tried reverting to 2023.12.4, still had the same problem, also reverted to v.0.5.2 and still no connection to my Virgin Media UK devices.
I suspect there's something changed in the way authentication is implemented by LG. If someone in GB would like to share credentials and a VPN, I can take a look. Find me as Sholofly on discord.
For CH is a beta version available.v0.5.4b0
@Sholofly I'm in the Uk but we're away visiting sick relative for the next few days. I'll make contact when we get back home.
For CH is a beta version available.v0.5.4b0
I could test it, I am based in Switzerland. how can I get the beta in order to give feedback?
@Sholofly I am in the UK and happy to assist any way I can. What exactly do you need, my Virgin Media login? Unfortunately, I don't have a VPN.
For CH is a beta version available.v0.5.4b0
Works in CH
For CH is a beta version available.v0.5.4b0
I could test it, I am based in Switzerland. how can I get the beta in order to give feedback?
In HACS find the integration, click the three dots at the top right, select "Redownload", toggle on "Show beta versions", select the new beta version and click "Download" and restart HA. To switch this off and/or revert, toggle the switch back to off and you can redownload the non-beta version.
yes, can confirm too that it is working in CH with v05.4b0
I thought I would try v0.5.4b0 on the off chance it also fixed it for Virgin Media in the UK. Unfortunately not.
@Sholofly Looks like VM (GB) may have moved MQTT servers?
@Sholofly I've only used discord once before so bear with! I've just sent you a friend request. We're home for a day or so, we're waiting the inevitable with my Mother-in-Law.
I've released a new beta version. That should be sufficient for other countries that don't use oAuth to log in. Unfortunately GB, IE en BE use oAuth and something has changed in the auth. I am on it.
yes, can confirm too that it is working in CH with v05.4b0
Can you confirm its still working in 0.5.4b1?
yes, can confirm too that it is working in CH with v05.4b0
Can you confirm its still working in 0.5.4b1?
No. v0.5.4b1 don't working in CH
Doe you have logs?
Op wo 17 jan 2024 00:41 schreef BrauseP @.***>:
yes, can confirm too that it is working in CH with v05.4b0
Can you confirm its still working in 0.5.4b1?
No. v0.5.4b1 don't working in CH
— Reply to this email directly, view it on GitHub https://github.com/Sholofly/lghorizon/issues/82#issuecomment-1894693472, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAG4EAG7IUSS2HOWMKGWFFDYO4FZPAVCNFSM6AAAAABBVMXH6OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJUGY4TGNBXGI . You are receiving this because you were mentioned.Message ID: @.***>
not from 00:41
v0.5.4b1
Works for me. Thanks!!
Are you still looking for someone from GB with Virgin to help? I could take a backup and give you direct access to my setup if that'd be useful, or happy to debug with you.
@Sholofly Same as @marcelkornblum; I'm based in the UK, using Virgin Media and I can give you guest access to my setup, if you need the assist :)
@Sholofly Hope we can get this working again for our Virgin UK users. Thanks for all your input.
Happy to help with troubleshooting if needed in UK.
Although I wouldn't recommend it to anyone, I really need someones account with access to the Virgin Go website to take a shot to solve this usse. its just too complex to do it on a simple log file.
So if someone is so stupid helpful ;) to trust a stranger on the interwebz than please contact me on discord. (Sholofly there too) I really won't share the details with anyone else, obviously.
@Sholofly I may be trusting enough. I'll need to check what I am exposing first, but is it just my Virgin login you need?
Thanks! I need the login for: https://virgintvgo.virginmedia.com/ Because you're able to control your settop box(es) there.
@Sholofly OK. I don't think there is anything critical exposed that would worry me about giving you my login. How's best to securely share this with you?
Using a PM on discord? Is that a possibillity?
I'm not on discord, but I can get myself setup. :-)
If you prefer a different communication channel, it's fine by me too :)
Think it should be fine. If I have any problems will let you know. Many thanks.
Hopefully done it right. I've sent you a friend request. I assume I need to do this before I can PM you.
Any updates? I'm happy to also give access to my Virgin TV Go account if needed?
Any updates? Happy to help. thanks. Grandma is struggling to watch TV without the automations (first world problem I know!)
I've been following this thread as I am also stuck. In the meantime I decided to pursue controlling the 360 box using an IR blaster (Broadlink) by purchasing a one for all remote and learning the commands.
I've got them working locally and was planning on uploading the codes later this week/early next to GitHub - I know this won't replace everything that this component does but it's another option to at least be able to control the device!
@jimb0b I did try using a Broadlink IR blaster a while back, but could not find a set of codes that worked for all the buttons on the TV360 Remote. I tried recording the buttons myself, with the Broadlink device, but couldn't detect them with it. If you are able to get them all working, that would be fantastic.
@davepearson1628 - yeah, the Virgin 360 remote is not actually an IR remote, it uses RF/bluetooth. However it is still possible to control the Virgin 360 box with IR (I used a one for all remote with magic code "1582" and then trained my Broadlink device to understand all the buttons).
I've uploaded the codes here now to https://github.com/jimb0b/broadlink-virgin-360-codes/ - I've added basic instructions but it does assume you're familiar with the CLI/json syntax etc. I'll look to freshen up the readme a bit later and then will post this to the HA community.
Cheers and good luck!
@jimb0b Sadly those codes don't seem to work on my Broadlink devices, I can see them being transmitted, but nothing happens on the TV360 boxes (tried on both the master and the remote TV360 boxes). Commands sent from the Broadlink iPhone App do work, but all of the code sets I have found for that are incomplete and sending numbers is very hit and miss. Thanks for your efforts, anyway.
I feel like we're hi-jacking this thread, though, so I'll just be patient now and wait for @Sholofly to come up with a solution, which I'm confident he will.
Same for me, unable to connect to Virgin GB - I have only just installed this. I am happy to share any account login details that Sholofly needs to help him.
I know you’re a busy man @Sholofly but Any update on the GB issue. Thank you
I was thinking of trying to debug / see if I could get a fix in myself (I'm a python coder). I was just wondering if the issue seems to be in something to do with Virgin's oAuth system, or if it's somewhere else - or if we even know yet? Any pointers would be useful but I might have a bit of a poke myself in any case.
@marcelkornblum, @Sholofly had a look with my account, but he hasn't been able to make any progress and has told me he doesn't have much time at the moment. From what I can tell it's authorisation related. If going to https://id.virginmedia.com/rest/v40/session/start?protocol=oidc&rememberMe=true it's generating a captcha-required
error.
Describe the bug Integration no longer working, not connecting to Virgin (GB)
To Reproduce Steps to reproduce the behaviour: Look in Devices and Services and Integration is red and entity is not available
Expected behaviour Entity to be available
Version of the component v0.5.3 installed
Logging 2024-01-10 19:52:19.894 ERROR (SyncWorker_2) [lghorizon.lghorizon_api] Giving up connect(...) after 11 tries (AttributeError: 'LGHorizonAuth' object has no attribute 'username') 2024-01-10 19:52:19.895 ERROR (MainThread) [custom_components.lghorizon.config_flow] 'LGHorizonAuth' object has no attribute 'username'
Additional context Tried removing and re-adding, it just spins for a while then says can't connect. All details used for login are correct, double checked with Virgin TV Go app and that is logging in and all working correctly.