Giter Club home page Giter Club logo

googlehome-with-arduino's Introduction

Google Home with Arduino

This project contains Node.js Express & WebSocket for getting request from IFTTT Webhook service and send it to ESP8266 WebSocket Client for changing light state on/off

ESP8266 codes stored in ArduinoESP8266 directory

Server codes stored in Server directory

Server Setup

   node index.js

Arduino ESP8266 Setup

  1. Open up Arduino, then go to the Preferences (File > Preferences). Then, towards the bottom of the window, copy 'http://arduino.esp8266.com/stable/package_esp8266com_index.json' into the "Additional Board Manager URLs"

    • If you already have a URL in there, and want to keep it, you can separate multiple URLs by placing a comma between them.
  2. Hit OK. Then navigate to the Board Manager by going to Tools > Boards > Boards Manager. There should be a couple new entries in addition to the standard Arduino boards. Look for esp8266. Click on that entry, then select Install.

  3. Add ArduinoESP8266/ESP8266-Websocket to Arduino libraries

  4. Config your Wifi and your server informations in ArduinoESP8266/ESP8266-Websocket/ESP8266.c

IFTTT Setup

  1. Link your Google Assistant to your IFTTT account
  2. Create Webhook Alphabet in your IFTTT account
  3. configure it with your <your_ip_or_domain>/config/?lampID=<lamp_num_in_index.js>&state=<on_or_off>

googlehome-with-arduino's People

Contributors

clwluvw avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.