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

Sensor not working since 2022.04 #26

Open
maymaymay opened this issue Apr 12, 2022 · 14 comments
Open

Sensor not working since 2022.04 #26

maymaymay opened this issue Apr 12, 2022 · 14 comments

Comments

@maymaymay
Copy link

maymaymay commented Apr 12, 2022

There is no sensor created.
Log shows:

Logger: homeassistant.components.sensor
Source: custom_components/google_keep/sensor.py:39
Integration: Sensor (documentation, issues)
First occurred: April 11, 2022, 13:21:52 (1 occurrences)
Last logged: April 11, 2022, 13:21:52

Error while setting up google_keep platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/google_keep/sensor.py", line 39, in setup_platform
login_success = keep.login(username, password)
File "/usr/local/lib/python3.9/site-packages/gkeepapi/init.py", line 693, in login
ret = auth.login(username, password, get_mac())
File "/usr/local/lib/python3.9/site-packages/gkeepapi/init.py", line 59, in login
raise exception.LoginException(
gkeepapi.exception.LoginException: ('NeedsBrowser', 'To access your account, you must sign in on the web. Touch Next to start browser sign-in.')

@PiotrMachowski
Copy link
Owner

This is an individual problem, check out this issue: kiwiz/gkeepapi#20

@k825k
Copy link

k825k commented May 16, 2022

same problem... Please tell me how to resolve.
APP password has already been set.

@adlpharm
Copy link

same here. Not working

@VaillantHassIo
Copy link

thought the update was the cause but there seems to be some changes on Googles end -.-
See: kiwiz/gkeepapi#123

@TomCasavant
Copy link

It looks like they've got a solution for it using OAuth urls simon-weber/gpsoauth#41

I assume we can just send this url in a notification when the integration is started?

@Roei639
Copy link

Roei639 commented May 30, 2022

This is an individual problem, check out this issue: kiwiz/gkeepapi#20

Hello,
Do you have a solution as well? See the solution attached at the link:
simon-weber/gpsoauth#42

@VaillantHassIo
Copy link

Will the 2022.06.01 Release with its OAuth2 Streamline help to fix this?

@Roei639
Copy link

Roei639 commented Jun 2, 2022

Will the 2022.06.01 Release with its OAuth2 Streamline help to fix this?

It's currently working

@VaillantHassIo
Copy link

yes after upgrading to 2022.06.01 it is working again! any explanation and will this last for long?

@PiotrMachowski
Copy link
Owner

It's possible that it is caused by a changing version of some library...

@gpitel
Copy link

gpitel commented Jun 29, 2022

I have been seeing a lot of comments about using Lynx (linux text browser) to authenticate a computer with google. Unfortunately I am using Hassio, and it does not appear I have access to install such a browser.

kiwiz/gkeepapi#32 (comment)

@gpitel
Copy link

gpitel commented Jun 29, 2022

Seems like the error started as soon as Google mandated App Passwords
https://support.google.com/accounts/answer/6010255
I am using the App Password and it is still not working (getting same error posted in first comment).

@slyticoon
Copy link

Any update on the status of this issue?

@PiotrMachowski
Copy link
Owner

PiotrMachowski commented Jul 9, 2022

yes after upgrading to 2022.06.01 it is working again! any explanation and will this last for long?

@slyticoon have you tried if it works for you?

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

9 participants