Post about your Basic project here

Moderator: Mmiscool

User avatar
By Luc Volders
#66130 Ok I am not advocating Google here but I really think Google Home is amazing. And they have just released their SDK so any tinkerer can build himself a Google Home with a Raspberry Pi of about 40 USD.

I have connected the Google Assistant through an ESP-8266 wifi chip.

The setup is as follows:
Google Home accepts commands that are send to IFTTT and that sends a command to the ESP8266.

I wrote my project in just 7 lines of Basic. Then I extended it to use 6 I/O ports instead of just 1. This means it is capable of triggering relays or transistors for switching lights, pumps, sprinklers, ledstrips etc.

So walking into your room and saying: OK Google switch on the living room lights, is no science fiction any more.

Find the directions on my web-log: http://lucstechblog.blogspot.nl/2017/05/google-home-and-esp8266.html

This is far to long to post here.

ESP Basic is really Amazing !!!!



Luc Volders
User avatar
By Mmiscool
#66234 It would seem you have been picked up on hack a day.

http://hackaday.com/2017/05/23/google-h ... s-esp8266/
User avatar
By joeman2116
#70680
Luc Volders wrote:Ok I am not advocating Google here but I really think Google Home is amazing. And they have just released their SDK so any tinkerer can build himself a Google Home with a Raspberry Pi of about 40 USD.

I have connected the Google Assistant through an ESP-8266 wifi chip.

The setup is as follows:
Google Home accepts commands that are send to IFTTT and that sends a command to the ESP8266.

I wrote my project in just 7 lines of Basic. Then I extended it to use 6 I/O ports instead of just 1. This means it is capable of triggering relays or transistors for switching lights, pumps, sprinklers, ledstrips etc.

So walking into your room and saying: OK Google switch on the living room lights, is no science fiction any more.

Find the directions on my web-log: http://lucstechblog.blogspot.nl/2017/05/google-home-and-esp8266.html

This is far to long to post here.

ESP Basic is really Amazing !!!!



Luc Volders




Luc,

I came across your very interesting article and thought I would try it.

Unfortunately I must be doing something wrong.
---------------------------------------------------
I have loaded the current ver 69 espbasic, did the port forwarding .
I already had iftt and maker accounts.

If i open a browser and issue the url with the living room on message.
Esp basic responds and i see the living room off or on command on the screen..
So software and port forwarding ok.

When i tell google home to turn living room on or off ... it replies but nothing happens..
The command does not appear to be going to maker to control the esp d1 mini.
I have redone both iftt and maker but still no go..

When i issue the google home request to turn on or off ... i do get a notification on my phone on or off....



my test iftt:



This trigger fires when you say “Ok Google” to the Google Assistant followed by a phrase

Say a phrase with a text ingredient
switch the living room $
please turn the living room $
turn the living room $


make a web request:

http://17x.xx3.26.241:8086 /msg?saywhat=living.room.{{TextField}}
method GET
Content text/plain

I would appreciate some help
Thanks
joe
User avatar
By Luc Volders
#70712 Hey Joeman,

Several things come to my mind.

- I used port 8085 you use port 8086 have you consequently used the same port ?
- Is it sending to the right IP adress ???
- Last but not least have you tried my small program:

Code: Select allmsgbranch [mybranch]

textbox command

wait

[mybranch]
command = msgget("saywhat")
command = replace(command , "." , " ")
print command
wait


Which I described in my weblog. With this you can test what you are actually receiving. And alter the program accordingly.

Luc