Giter Site home page Giter Site logo

filipporaciti / esp32-wol Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 53 KB

ESP32 send Wake On Lan packet to power on your Computer. You can do that with its website or a voice assistant (Google or Alexa)

License: MIT License

CMake 4.10% C 90.25% HTML 5.65%
alexa esp-rainmaker esp32 esp32-idf google-assistant google-home google-home-assistant idf iot rainmaker

esp32-wol's Introduction

ESP32 Wake On Lan

Introduction

In this project I used an ESP32 to send Wake on Lan packet to power on my Computer. There is a web server where you can send WoL packet and change target MAC address. And for the laziest people I add ESP RainMaker project to send WoL packet from an assistant (like Google Home or Alexa).

Requirements

Hardware

  • Esp32
  • Computer with Windows/Linux/MacOS (to build and setup) and/or Computer with Wake on Lan enabled
  • Smartphone IOS/Android
  • Cable to connect Esp32 to your Computer

Software

Get Started

Get esp32-WOL

git clone --recursive https://github.com/filipporaciti/esp32-WOL.git
cd esp32-WOL

Setup

  • Target MAC address (Wake on Lan)

You can configure it from the integrated website (port 80) or from menuconfig; from terminal run idf.py menuconfigWoL ConfigurationDestination MAC address

  • WiFi SSID and password

You'll configure it when you have to connect your ESP32 with ESP RainMaker app

Build

idf.py build

Flash and Monitor

idf.py flash monitor

Connect ESP32 to ESP RainMaker app

If you can't see the QR code in your terminal, you can try to run idf.py erase-flash before flash the firmware on ESP32.

To connect ESP RainMaker app with your ESP32 it's just enought to open ESP RainMaker app, push '+' button on top-right and scan the QR code; here you can configure SSID and password thar ESP32 takes to connect to the network.

Connect ESP RainMaker to Google Home and Alexa

  • Google Home

Open Google Home app → Settings → Works with Google → Search ESP RainMaker and log in with your account.

  • Alexa

Open Alexa app → More → Things to Try → Search ESP RainMaker, enable it and log in with your account.

esp32-wol's People

Contributors

filipporaciti avatar

Watchers

 avatar

Forkers

szf2020

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.