Google Home plugin

this is weird I can log on to your server with my PC but not my phone.

Try flushing the cash of the brouwser on your phone…
it’s only a gest, It can be a problem with Google signin ?

Ok got logged into your site then went to simulator from there now what?

For a Smart Home Action, the simulator do not work.

I will make a small video showing hot it work on my side.

I realize that How do I get the [test]HomeGenie loaded into google home or is this not possible yet

open this link : https://assistant.erxinfo.ca:7980/test.mov

here the log for my connection, In our case, I only have the GET , no Post.

::ffff:192.168.0.31 - - [21/Apr/2019:02:18:15 +0000] “GET /oauth/auth?response_type=…dWRfZGV2 HTTP/1.1” 200 2872
sub : 107303129643049077563
guid : e6375a37-b820-4a80-a1cd-6dca71d83075
::ffff:192.168.0.31 - - [21/Apr/2019:02:18:27 +0000] “POST /oauth/auth HTTP/1.1” 302 2866
guid : e6375a37-b820-4a80-a1cd-6dca71d83075
::ffff:108.177.68.44 - - [21/Apr/2019:02:18:27 +0000] “POST /oauth/token HTTP/1.1” 200 1509
guid : e6375a37-b820-4a80-a1cd-6dca71d83075
::ffff:66.102.7.181 - - [21/Apr/2019:02:18:32 +0000] “POST /google-smart-home HTTP/1.1” 200 9108

Ok got a bit further when I try to add to Google home it comes up with the login and when I log in it eventualy comes up saying accounts linked but never closes and puts me back in Google home like your video

I can see your request but i do not see the last request "POST /google-smart-home

This line is the one getting the device to GH

well I’ll try again tomorrow eye are getting tired.
Maybe something will come to me while I’m sleeping

Ok will be waiting to see the error your getting when the control get back to GH.

Thanks for your help

Wahoo!!! Figured it out.
Maybe because Im using latest Android pi build on my phone. I had to click top right options button after I got the successful acounts linked info displaying then go down to “Open in Microsoft…” and click that. once i did that i was back at google home and everything is working thanks @saue0 for sticking with me.

Great news, I now need to make the server more stable.
Then convert-it for firebase.

@saue0
I am facing problems with my firewall that will not let me connect to HomeGenie from outside.
Guess I have to buy one tomorrow.
Reverting…

OK, Hosting is now on firebase from google.
The new web address is : https://googlehome.erxinfo.ca

@Tuicemen How is the system working ?
Could you do a test since i did some change.

The web server need a little mode refining.
Once that done, I will submit the project to google.

Will monitore the cost of the hosting for the next months. It’s a pay as you go. With a 300$ us credit for the first years,

Thanks

@saue0 I did a few tests this morning turning things on and off from my phone and with my google mini all work.
However google mini commands were very slow to work . I got the responce that couldnt connect to smart things a couple of times. But I get that from Alexa too. The only complaint so far is the lag time it takes for a command to actually work but Im sure that will improve.

Working on a new version of the cloud.
The problem is the time it take to load the node module when not use for a long time.

Ok new version of the cloud. Hope it will help on performance.
Require new authetification. sorry

and new plugin as well. (test button validate the user in the plugin)
1001-Google_Home.hgx (17.7 KB)

Please use this URL : https://home-genie-cloud.erxinfo.ca

Ill try to test this later today.

Ok I must be doing something wrong the web page https://home-genie-cloud.erxinfo.ca throws a sync error.
I’m trying all this from the PC maybe I need to use my phone and link from that.

If you press the sync button, this send a command to Google to sync the device (only valid when the link in done inside Google Home).

You need to relink your account in Google Home as well.

Does the Dashboar work ?