Page 2 of 3
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Wednesday 11 January 2017 12:03
by mlamie
Cubes wrote:I must say this is working quite well. Thanks for the tip!
Only silly issue I'm having is that I end up with loads of chrome browser tabs where I've searched for 'Outside lights'. The interact-back command works fine for getting rid of the window but they're all still there (1 per command) when I switch to another tab.
I know, it is the same situation when you use the "Ok Google" standalone. Each Google Now request will remain visible as a Chrome custom tab. Maybe there is a way to kill/close those Chrome custom tabs. If someone has experience there please feel free to add.
All I could find is:
http://stackoverflow.com/questions/3322 ... custom-tab
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Thursday 12 January 2017 8:20
by Derik
mmm
Is there a way so i can lear/read all my commands ?
Not all of my command's/switches are HTTP ...
And is there a option to acces with wan acces?
Nice feature..!!!
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Thursday 12 January 2017 9:45
by mlamie
Derik wrote:
Is there a way so i can lear/read all my commands ?
Not all of my command's/switches are HTTP ...
And is there a option to acces with wan acces?
Can you be a bit more specific regarding the command question? I do not fully understand the question. FYI the url used by me is based on Domoticz API/JSON see also
http://domoticz.com/wiki/Domoticz_API/JSON_URL%27s
I used the switchcmd on/off as example, but there is much more.
Regarding the access question. I expect you mean remote control over the internet. All what needs to be changed is the local IP adress towards a domain name or external IP address. To work with Domoticz from outside your local network there are several options:
Via
My Domoticz
Via
Nginx Proxy Setup
And what I use is via OpenVPN in combination with
DuckDNS. This enables me to access all my devices locally.
If you use a Rasberry Pi you should check
http://www.pivpn.io/
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Thursday 12 January 2017 10:26
by Derik
mm
Id did not understand json...
Thanks for the link, now i do get the json option.
Only to type all this on my phone..

errors for me all the time.
Should there be no webbased login to Automate or a other [ webbased ] app ....
When i have to do this by all my family phone...
only 1 thing..
Still got my first voicecommand working....

Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Thursday 12 January 2017 11:27
by mlamie
Derik wrote:
Should there be no webbased login to Automate or a other [ webbased ] app ....
When i have to do this by all my family phone...
No, there is no webapp. Once you have created your flow you can easily share your flow(s) per email or with the Automate community and import them on the other devices.
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Sunday 12 February 2017 18:34
by Pierryck
It works great

Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Wednesday 19 April 2017 13:59
by marcotrumpet
Hi everyone.. the trick works but not the "back" action.. how can I solve?
Inviato dal mio SM-G950F utilizzando Tapatalk
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Wednesday 19 April 2017 15:18
by DutchHans
Hello all,
Voicecontrol can be much easier with Google Assistant and IFTTT.. create an applet with Google Assistant and Maker for a Url request.. you can even use variables. I have everything voicecontrolled..from asking what temperature it is..setting temperatures..controlling Harmony.. , garage doors, lights etc... Even when my phone is in my pocket I can just say" ok google, open the door" Assistant responses with "sure" and the door opens instantly...
Thought some of you might be interested..
Regards, Hans
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Wednesday 19 April 2017 19:01
by marcotrumpet
The real problem for me is that google assistant doesn't work in Italy. If I set the applet in ifttt and ask with "ok google" nothing appens
Inviato dal mio SM-G950F utilizzando Tapatalk
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Wednesday 19 April 2017 20:12
by DutchHans
I could only install Assistant when i changed language and region to US - English... Assistant is standard not available in Holland..
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Wednesday 19 April 2017 21:05
by blauwebuis
The real real problem is with your, and your visitors loss of privacy.
As a privacy professional I would highly recommend against using these services.
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Wednesday 19 April 2017 21:47
by DutchHans
@ blauwebuis...
Please explain...
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Thursday 20 April 2017 19:43
by marcotrumpet
Ok I added a 2 seconds delay
Inviato dal mio SM-G950F utilizzando Tapatalk
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Wednesday 03 May 2017 13:27
by Abbadon
DutchHans wrote:Hello all,
Voicecontrol can be much easier with Google Assistant and IFTTT.. create an applet with Google Assistant and Maker for a Url request.. you can even use variables. I have everything voicecontrolled..from asking what temperature it is..setting temperatures..controlling Harmony.. , garage doors, lights etc... Even when my phone is in my pocket I can just say" ok google, open the door" Assistant responses with "sure" and the door opens instantly...
Thought some of you might be interested..
Regards, Hans
Can you tell us more? how to get voice info about temperature in room?
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Thursday 04 May 2017 6:52
by tontze
DutchHans wrote:@ blauwebuis...
Please explain...
obviously, voice assistant services are constantly listening you and your quests. Whetever they send information further than their own service, that i do not know ..
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Monday 21 August 2017 12:41
by Wob76
DutchHans wrote:Hello all,
Voicecontrol can be much easier with Google Assistant and IFTTT.. create an applet with Google Assistant and Maker for a Url request.. you can even use variables. I have everything voicecontrolled..from asking what temperature it is..setting temperatures..controlling Harmony.. , garage doors, lights etc... Even when my phone is in my pocket I can just say" ok google, open the door" Assistant responses with "sure" and the door opens instantly...
Thought some of you might be interested..
Regards, Hans
Hi,
I have played around with Google Assistant to URL, I have this working to trigger objects. I couldn't work out how to get a response back, could you explain how are you getting a response to temperature request?
Thanks,
Wob
Sent from my SM-G935F using Tapatalk
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Monday 21 August 2017 13:35
by DutchHans
Hi Wob,
Ok, here you go. I guess you have Google Assistant installed.
Part 1
Go to ifttt.com and sign in (its free). Click "New applet". click "+this". Then search for Google Assistant. Choose trigger. Click on "Say a simple phrase". Fill in what you want to say in the box "What do you want to say?" For example "Switch the light on" in the next box (optional) "Switch on the light" and the third (optional) "Lights please". Fill in what Assistant has to reply when it understood your command "What do you want the Assistant to say in response?" for example:"Sure, No Problem". I leave language on english. Than "Create trigger"
Part 2
Click on "+that". Choose action service. Search for "Make a web request" in the URL you fill in the json api URL, like: "
http://user:password@yourserver:8080/js ... itchcmd=On" For method you choose "GET" and content type(optional) "application/json". than click Save.
You're done!
If you say "OK Google" "Switch the light on" the webrequest is made and the light switches on and Google replies with "Sure, no problem"
There are more things to discover in IFTTT. You can pass variables for example. Than things like "OK Google" "Set the livingroom temperature to 23 degrees" where 23 is a variable.
Hope this helps.
Cheers, Hans
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Monday 21 August 2017 14:50
by EdwinK
I couldn't find the 'make a web request' thingy. For my HUE lights I used the Philips Hue recipe, and that is sort of working
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Monday 21 August 2017 21:15
by DutchHans
Sorry, its not called " make a webrequest" it's called "webhooks" (they changed the name)
Re: Android voice control "Ok Google" like "Google Home" for free!
Posted: Monday 21 August 2017 21:16
by DutchHans
Sorry, its not called " make a webrequest" it's called "webhooks" (they changed the name)