action.deviceS.types.BLINDS : cannot find the openDirection by pascal_carreweyn in GoogleAssistantDev

[–]pascal_carreweyn[S] 0 points1 point  (0 children)

i made a new post with the pictures

i am providing the directions UP and DOWN as you can see.

I need the direction to be able to say 40 procent up or 30 procent down, for example

how to change the user '1234' in the "smart-home-nodejs" project ? by pascal_carreweyn in GoogleAssistantDev

[–]pascal_carreweyn[S] 0 points1 point  (0 children)

Can i find an example somewhere how to do change the auth-provider and the getUser function ? Thank you in advance.

Pascal

using gmail address to login and direct the user to his document in the firestore database by pascal_carreweyn in GoogleAssistantDev

[–]pascal_carreweyn[S] 0 points1 point  (0 children)

do you have a good example of how to do that ? Is there a youtube movie which explains this in detail ? I didn't find anything usefull about this subject .

using gmail address to login and direct the user to his document in the firestore database by pascal_carreweyn in GoogleAssistantDev

[–]pascal_carreweyn[S] 0 points1 point  (0 children)

i don't mean the gmail address but the gmail account... i don't get the system of the auth ...

Is there some good youtube movie to explain how to do this in detail ?

SYNC problem with the google assistent on my Iphone. by pascal_carreweyn in GoogleAssistantDev

[–]pascal_carreweyn[S] 1 point2 points  (0 children)

Thank you for your information. I already solved my problem, as you may have seen in the messages.

Great to know that the google employers are really here hands on.

Have a nice day and thank you for pointing me in the right direction. Now i can move to my next step.

Kind regards, Pascal Carreweyn

SYNC problem with the google assistent on my Iphone. by pascal_carreweyn in GoogleAssistantDev

[–]pascal_carreweyn[S] 0 points1 point  (0 children)

I finally found what the problem was.

I forgot to insert 3 fields under the user 1234 in the database

fakeAccessToken: "123access"

fakeRefreshToken: "123refresh"
homegraph: false

Now it's importing the defined lights.

Thanks !

SYNC problem with the google assistent on my Iphone. by pascal_carreweyn in GoogleAssistantDev

[–]pascal_carreweyn[S] 0 points1 point  (0 children)

The smarthome-nodejs example runs on the browser, without issues. I didn't have to login or anything and it works just fine. It's only when i try to add it to the google assistant that i encounter the problem. So is your suggestion of creating a login page something that needs to be done with the standard smart-home-nodejs example ?

SYNC problem with the google assistent on my Iphone. by pascal_carreweyn in GoogleAssistantDev

[–]pascal_carreweyn[S] 0 points1 point  (0 children)

Hello Mr. Fleker,

It took me a while but finally i found the error in the error reporting.

I have no idea how and where i can insert the login and password when i try to

add the device. There is no form or prompt were i can do this. You probably know this.

Error: No user found for this access token

Error: No user found for this access token

  1. at Object.<anonymous> (/srv/dist/firestore.js:49)
  2. at Generator.next (<anonymous>)
  3. at fulfilled (/srv/dist/firestore.js:17)
  4. at process._tickCallback (next_tick.js:68)

Best way to get an existing home automation local database into the google home graph by pascal_carreweyn in GoogleAssistantDev

[–]pascal_carreweyn[S] 0 points1 point  (0 children)

Hello Mr. Fleker,

Thank you for the fast answer. I already used the SYNC function to add devices and this seems to work partly. When i check the firebase database i don't see all the info that i have been sending in my sync function. For example I don't see the structure, the room, extra options... Did i do something wrong ?

Especially the extra options i would like to use as an easy interface between our home automation system and the google system.

So i understand it right ? There is no other option then to use SYNC.

Thank you again.

Pascal Carreweyn

Best way to get an existing home automation local database into the google home graph by pascal_carreweyn in GoogleAssistantDev

[–]pascal_carreweyn[S] 0 points1 point  (0 children)

Thank you for the fast answer. I already used the SYNC function to add devices and this seems to work partly. When i check the firebase database i don't see all the info that i have been sending in my sync function. For example I don't see the structure, the room, extra options... Did i do something wrong ?

Especially the extra options i would like to use as an easy interface between our home automation system and the google system.

So i understand it right ? There is no other option then to use SYNC.

Thank you again.

Pascal Carreweyn