Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No new accessory is shown in Home app #15

Open
daciand opened this issue Jun 20, 2020 · 10 comments
Open

No new accessory is shown in Home app #15

daciand opened this issue Jun 20, 2020 · 10 comments

Comments

@daciand
Copy link

daciand commented Jun 20, 2020

Hi,
I have just installed your plugin, restarted homebridge and these are the homebridge log entries related to this plugin:
[6/20/2020, 09:46:09] [WideQ] Initializing WideQ platform... [6/20/2020, 09:46:09] [WideQ] ************************************************************** [6/20/2020, 09:46:09] [WideQ] WideQ v0.1.9 by NorDroN [6/20/2020, 09:46:09] [WideQ] GitHub: https://github.com/NorDroN/homebridge-wideq [6/20/2020, 09:46:09] [WideQ] Email: [email protected] [6/20/2020, 09:46:09] [WideQ] ************************************************************** [6/20/2020, 09:46:09] [WideQ] [INFO] Create client from token and get devices

Here is my plugin configuration:
{ "platform": "WideQ", "refresh_token": "[token_taken_from_wideq_tool]" "country": "RO", "language": "ro-RO", "debug": true, "interval": 10 },

My problem is that there is no visible accessory that could be added in Home app.
Could it be that while wideq-state.json uses "oauthRoot":"https://ro.lgeapi.com", the URL returned from the browser contains "&oauth2_backend_url=https://gb.lgeapi.com/" ?

I've launched wideq tool with the following arguments:
pi@raspberrypi:~ $ wideq auth --country RO --language ro-RO Log in here: https://ro.m.lgaccount.com/login/sign_in?country=RO&language=ro-RO&svcCode=SVC202&authSvr=oauth2&client_id=LGAO2 21A02&division=ha&grant_type=password

Please help :)

@NorDroN
Copy link
Owner

NorDroN commented Jun 22, 2020

Have you been authorized successful? Did you get refresh_token?
Try to run wideq ls -c RO -l ro-RO -t [refresh_token here].
What do you see?

@daciand
Copy link
Author

daciand commented Jun 23, 2020

Yes, everything was fine at that step.
I just ran pi@raspberrypi:~ $ wideq ls -c RO -l ro-RO -t [my_refresh_token] but there is no output:
pi@raspberrypi:~ $ wideq ls -c RO -l ro-RO -t dcf2...ed08 pi@raspberrypi:~ $

@u20p17
Copy link

u20p17 commented Jul 4, 2020

Hi,
I now have successfully recieved my refesh token and when I start homebridge it seems that everything is ok. But I can also see no new device.
I would like to add my washer ( F16WD128GH). What could be the problem?

Thanks in advance!

@LeviJSmith
Copy link

Having same issue. Did u ever get this resolved?

@daciand
Copy link
Author

daciand commented Aug 11, 2020

No, I have abandoned until we'll get a reply for this ticket. I'm sorry but I don't have any idea what I could do any further in order to get this issue fixed or at least find out more information about it.

@u20p17
Copy link

u20p17 commented Aug 11, 2020

What information would you need? I can test thinge with my washing maschine for you! :)

@daciand
Copy link
Author

daciand commented Aug 11, 2020

Do you have any idea how could I activate debug logging for this plugin? I already have "debug": true set but it doesn't produce any debug output, other than:

Aug 11 12:16:28 raspberrypi homebridge[10593]: [8/11/2020, 12:16:28] Loaded plugin: [email protected]
Aug 11 12:16:28 raspberrypi homebridge[10593]: [8/11/2020, 12:16:28] Registering platform 'homebridge-wideq.WideQ'
Aug 11 12:16:28 raspberrypi homebridge[10593]: [8/11/2020, 12:16:28] [WideQ] Initializing WideQ platform...
Aug 11 12:16:28 raspberrypi homebridge[10593]: [8/11/2020, 12:16:28] [WideQ] **************************************************************
Aug 11 12:16:28 raspberrypi homebridge[10593]: [8/11/2020, 12:16:28] [WideQ] WideQ v0.1.9 by NorDroN
Aug 11 12:16:28 raspberrypi homebridge[10593]: [8/11/2020, 12:16:28] [WideQ] GitHub: https://github.com/NorDroN/homebridge-wideq
Aug 11 12:16:28 raspberrypi homebridge[10593]: [8/11/2020, 12:16:28] [WideQ] Email: [email protected]
Aug 11 12:16:28 raspberrypi homebridge[10593]: [8/11/2020, 12:16:28] [WideQ] **************************************************************
Aug 11 12:16:29 raspberrypi homebridge[10593]: [8/11/2020, 12:16:29] [WideQ] [INFO] Create client from token and get devices

@400HPMustang
Copy link

I'm getting the same thing, same debug information.

@adamrzanek
Copy link

I have the same problem :(

@chenqing212
Copy link

I have the same issue. I retrieved refresh token without issue and tested the toke without issue, but got the same debug info and just couldn’t see my device in homebridge.

I also tried different language setting, no luck. But as soon as I changed the country, it didn’t authenticate the token which means the token was specifically for the user with that specific locale setting.

Background with my LG account was, I had an gmail account with the LG fridge configured. But Gmail didn’t work with token retrieval, I had to de-couple the fridge with the account and registered a new email just to be able to sign up with LG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants