FilipDem / Domoticz-NEST-plugin

NEST Plugin for Domoticz using the Google credentials.
13 stars 4 forks source link

Error: Nest: > General error TaskHandler: 'Away' #45

Open remko2000 opened 5 months ago

remko2000 commented 5 months ago

I performed this.

One device is added in domoticz 'nest - away' but I can't switch it. In my domoticzlog I get: 2024-01-19 16:26:08.594 Error: Nest: > General error TaskHandler: 'Away'

I notices that the issuetoken is not ended with nest.com but with: .........................home.nest.com&include_granted_scopes=true&auto=1

How can I solve this?

remko2000 commented 5 months ago

If I use the whole issuetokenstring in domoticz I get the error 'Error: Nest: Hardware setting issue_token must end with nest.com.' and nothing happened.

After entering I also have to reset my raspberry because domotoicz seems to freeze

The same issuetoken and cookie I using for this plugin: https://github.com/chrisjshull/homebridge-nest and in homebridge my nestintegration works perfectly with the same issuetoken en cookie.

FilipDem commented 5 months ago

Does it work with the python script as suggested in the README?

remko2000 commented 5 months ago

If I run: export NEST_ISSUE_TOKEN='xxx' export NEST_COOKIE='xxx' python3 nest.py (with my own credentials) I get:

[1] 4871 [2] 4872 [3] 4873 [4] 4874 [5] 4875 [6] 4876 [7] 4877 [8] 4878 [1] Done export NEST_ISSUE_TOKEN=’https://accounts.google.com/o/oauth2/iframerpc?action=issueToken [2] Done response_type=token%20id_token [3] Done login_hint=AJDLj6LQu-SMCQLMJfOUep6S7tCeLwi32GHHNI-lXOyTIzOBfBqHNTS9U8H3AzTRgZsLH-2wuAG4URJSWdMwbZtaKMiQKN3WiA [4] Done client_id=733249279899-44tchle2kaa9afr5v9ov7jbuojfr9lrq.apps.googleusercontent.com [5] Done origin=https%3A%2F%2Fhome.nest.com [6] Done scope=openid%20profile%20email%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fnest-account [7]- Done ss_domain=https%3A%2F%2Fhome.nest.com -bash: Secure-3PAPISID=W4uKAvmMtZMZPMtJ/AzcEC14lkS1FvW6fr: No such file or directory [8]+ Done include_granted_scopes=true -bash: Host-3PLSID=s.NL: command not found -bash: s.youtube:fggSuoXcNYoxaSM-yjKNyWAJFte0gBrQDHdzg3-p_tpyTxI0G0MmtrfdvNcJXGf-BK68lw.: command not found -bash: Secure-3PSIDCC=ABTWhQFR9RHfMfGEC5BZeVSL-igPB-5jalnl6jsskF--0IysMbuyJbm0fw_a7aL14wfQCs’: command not found

What does this mean?

FilipDem commented 5 months ago

This seems to be completely wrong... No idea, but seems this is not going well... Perhaps add some debug information in the nest.py...

remko2000 commented 5 months ago

Sorry maybe a stupid question but; how do I debug this in ssh?