mikejac / node-red-contrib-google-smarthome

A collection of Node-RED nodes to control your smart home devices via Google Assistant.
GNU General Public License v3.0
116 stars 36 forks source link

no user loged in #414

Closed T1mey closed 1 year ago

T1mey commented 1 year ago

Hello,

I did the setup a year ago and for some reason my setup stopped working (2 months ago). I'm getting the error:

"HttpActions:reportState(): skipped reporting states, no user logged in"

image

Any idea what could be wrong? Activate google passkeys but I don't think this is the reason.

T1mey commented 1 year ago

found it...

T1mey commented 1 year ago

After a restart of node-red I have the same issue again ... everthing worked before...

ANy ideas`?

Caprico85 commented 1 year ago

Hello @T1mey!

"no user logged in" means there is something wrong with the oAuth2 tokens.

First thing you could try is logging out and in again. To do that, in the service list, select your service and select "Unlink account". Then relink as usual.

image

If this doesn't help, stop Node-RED. Then delete the file `google-smarthome-auth-*.json' in Node-RED's user directory (where your flows.json, settings.js, etc. are). Then restart Node-RED and relink your account as usual.

T1mey commented 1 year ago

Thanks a lot ... relinking solved the issue. The message was a bit misleading ... I thought the credentials of my node red config are not fitting.

Caprico85 commented 11 months ago

Changed the message to "account is not linked. (Re-)link your account in the app."