Android voice control "Ok Google" like "Google Home" for free!

User avatar
mlamie
Posts: 147
Joined: Friday 25 October 2013 17:12
Target OS: Raspberry Pi
Domoticz version: 3.5877
Location: The Netherlands
Contact:

Re: Android voice control "Ok Google" like "Google Home" for free!

Postby mlamie » Wednesday 11 January 2017 13:03

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
Raspberry Pi 3, RaZberry, RFXtrx433
Various Z-Wave devices, KlikAanKlikUit devices, ESP8266 NodeMCU, Sonoff POW and a Essent E-thermostaat
IP camera: Dahua 4MP IPC-HDBW4421R-AS, Vivotek FD8134V

User avatar
Derik
Posts: 1722
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Android voice control "Ok Google" like "Google Home" for free!

Postby Derik » Thursday 12 January 2017 9:20

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..!!!
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups

User avatar
mlamie
Posts: 147
Joined: Friday 25 October 2013 17:12
Target OS: Raspberry Pi
Domoticz version: 3.5877
Location: The Netherlands
Contact:

Re: Android voice control "Ok Google" like "Google Home" for free!

Postby mlamie » Thursday 12 January 2017 10:45

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/
Raspberry Pi 3, RaZberry, RFXtrx433
Various Z-Wave devices, KlikAanKlikUit devices, ESP8266 NodeMCU, Sonoff POW and a Essent E-thermostaat
IP camera: Dahua 4MP IPC-HDBW4421R-AS, Vivotek FD8134V

User avatar
Derik
Posts: 1722
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Android voice control "Ok Google" like "Google Home" for free!

Postby Derik » Thursday 12 January 2017 11:26

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.... :lol: :lol:
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups

User avatar
mlamie
Posts: 147
Joined: Friday 25 October 2013 17:12
Target OS: Raspberry Pi
Domoticz version: 3.5877
Location: The Netherlands
Contact:

Re: Android voice control "Ok Google" like "Google Home" for free!

Postby mlamie » Thursday 12 January 2017 12:27

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.
Raspberry Pi 3, RaZberry, RFXtrx433
Various Z-Wave devices, KlikAanKlikUit devices, ESP8266 NodeMCU, Sonoff POW and a Essent E-thermostaat
IP camera: Dahua 4MP IPC-HDBW4421R-AS, Vivotek FD8134V

Pierryck
Posts: 28
Joined: Saturday 27 February 2016 21:39
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Android voice control "Ok Google" like "Google Home" for free!

Postby Pierryck » Sunday 12 February 2017 19:34

It works great :)

marcotrumpet
Posts: 95
Joined: Saturday 18 February 2017 9:21
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Android voice control "Ok Google" like "Google Home" for free!

Postby marcotrumpet » Wednesday 19 April 2017 13:59

Hi everyone.. the trick works but not the "back" action.. how can I solve?

Inviato dal mio SM-G950F utilizzando Tapatalk

DutchHans
Posts: 201
Joined: Friday 03 April 2015 20:44
Target OS: Raspberry Pi
Domoticz version:
Location: Germany (near dutch border)
Contact:

Re: Android voice control "Ok Google" like "Google Home" for free!

Postby DutchHans » Wednesday 19 April 2017 15:18

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

marcotrumpet
Posts: 95
Joined: Saturday 18 February 2017 9:21
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Android voice control "Ok Google" like "Google Home" for free!

Postby marcotrumpet » Wednesday 19 April 2017 19:01

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

DutchHans
Posts: 201
Joined: Friday 03 April 2015 20:44
Target OS: Raspberry Pi
Domoticz version:
Location: Germany (near dutch border)
Contact:

Re: Android voice control "Ok Google" like "Google Home" for free!

Postby DutchHans » Wednesday 19 April 2017 20:12

I could only install Assistant when i changed language and region to US - English... Assistant is standard not available in Holland..

blauwebuis
Posts: 113
Joined: Wednesday 21 December 2016 10:11
Target OS: Raspberry Pi
Domoticz version: current
Contact:

Re: Android voice control "Ok Google" like "Google Home" for free!

Postby blauwebuis » Wednesday 19 April 2017 21:05

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.

DutchHans
Posts: 201
Joined: Friday 03 April 2015 20:44
Target OS: Raspberry Pi
Domoticz version:
Location: Germany (near dutch border)
Contact:

Re: Android voice control "Ok Google" like "Google Home" for free!

Postby DutchHans » Wednesday 19 April 2017 21:47

@ blauwebuis...

Please explain...

marcotrumpet
Posts: 95
Joined: Saturday 18 February 2017 9:21
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Android voice control "Ok Google" like "Google Home" for free!

Postby marcotrumpet » Thursday 20 April 2017 19:43

Ok I added a 2 seconds delay

Inviato dal mio SM-G950F utilizzando Tapatalk

Abbadon
Posts: 53
Joined: Thursday 01 October 2015 8:25
Target OS: Raspberry Pi
Domoticz version: beta
Location: Poland, Wrocław
Contact:

Re: Android voice control "Ok Google" like "Google Home" for free!

Postby Abbadon » Wednesday 03 May 2017 13:27

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?

tontze
Posts: 223
Joined: Thursday 12 January 2017 16:30
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Android voice control "Ok Google" like "Google Home" for free!

Postby tontze » Thursday 04 May 2017 6:52

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 ..
-----------------------------------------
Rpi 3 / Razberry 2
RFLink 433mhz / Nrf 2.4Ghz
Mi Light
ESP82xx


Return to “Android”

Who is online

Users browsing this forum: No registered users and 3 guests