Solved Authorization for request
-
bonjour, personnellement j’avais trouvé une solution.
aller dans la console action de google
https://console.actions.google.com/
puis selectionner votre projet
ensuite ajouter ceci a l’adresse url de la page web car la ligne n’apparait dans la page.
deviceregistration/
vous devriez avoir quelque chose qui ressemble a ceci
https://console.actions.google.com/u/0/project/home-assistant******/deviceregistration/
vous pourrez créer votre modele.
dans Specify traits choisir on/off et start/stop et sauver.
poser une question au miroir et il vous demandera d’autoriser, sur le smartphone autorisé et allez dans l’appli google home.
dans parametre puis assistant google puis gerer les parametres de l’assistant ensuite
dans appareils cliquer sur appareils associés a l’assistant.
vous devriez retrouvé le nom de model register, cliquer dessus et activé résultat personnels.je ne sais plus si j’avais dus refaire le token ou pas.
en espèrant que sa aide.
bonne journée -
https://console.actions.google.com/u/0/project/home-assistant******/deviceregistration/
replace
home-assistant******
by yourproject-id
select the product name related with your project-id and open it
you should have something like this:
Verify if
TV
deviceType is set -
@bugsounet, @bigjojo Hello and thank you both for your replies. In console.actions.google it says I have not any projects yet. Should I create a new one?
-
@Anthony said in Authorization for request:
@bugsounet Hello and thank you for your reply. In console.actions.google it says I have not any projects yet. Should I create a new one?
I imported my magic mirror project and I got the screen you show above but the model id was already named with my project’s id
-
And it does not let me save it. It says “was an error processing your request. Dismiss”
-
bonsoir, surement a causse de @ devant bugsounet
retire le @ sa devrait passé.
a+ -
@bigjojo This worked for register and thank you for that. But now I have the same problem as before. I did the procedure by asking Jarvis to show my shopping list, he replied tha I must give permission, I got the popup in my phone, open it renamed the device as Jarvis and finally gave the permission.
But when I go to my phone’s home and after try to go again to assistants settings I gind the device but it is unamed and the permission tab is unchecked again.
-
Hello everyone. I don’t know what am I doing wrong here but I still cannot give permission to GA. I followed all above steps @bugsounet and @bigjojo mentioned but when I run “npm run list” after pasting the authcode I am geting this:
[GA] Device instance data: {}
Although when I ask GA to show shopping list, I get the usual respond and in my phone I get the popup, I rename the device, give permission and if I go to home screen and try again to find the Jarvis device everything is uncheked again like the screenshots in my previous post. I don’t know what else to do.
-
@Anthony maybe devidetype should bé web application
-
But bugsounet said:
Verify if TV deviceType is set
And as you can see in his example he also has tv device type.
-
Yes sorry i went to read all at the top
-
I had the problem similar to this one with a test Google account, trying to download your secret credentials by checking your rights.
-
I do not know if the problem is from me because in my mobile I have 2 accounts. I create the second one just to be the same as MM and GA account. Maybe it is confused? So before I try anything has to do with GA I must first change profile in my phone.
-
registred???
is it not registered???
is that a typo in code on the wiki?
-
@mroyusa No I don’t think this is a typo otherwise everybody would have the same problem. Also in every post I have read here for this nobody have mentioned that.
-
This post is deleted! -
Finally made it! I still do not know what my mistake was but I did it all from scratch (deleted the project from google console and created a new one), followed all wiki steps for credentials and home app and finally it worked. I am so relieved. Thank you all for your help.
-
-