Giter Site home page Giter Site logo

jcalebbr / wakeonlan-esp8266 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from koenieee/wakeonlan-esp8266

0.0 1.0 0.0 28 KB

Very small and simple library to use the ESP8266 for sending magic packets to an enabled Wake On Lan device.

License: GNU General Public License v3.0

C++ 100.00%

wakeonlan-esp8266's Introduction

WakeOnLan-ESP8266

Very small and simple library to use the ESP8266 for sending magic packets to an enabled Wake On LAN device.

Example

Use the library with the (only) function like this:

IPAddress computer_ip(255, 255, 255, 255); \\ DON'T change this, this will cause magic packet to be sent as BROADCAST

byte mac[] = { 0xFE, 0xBB, 0x34, 0xE5, 0x29, 0xFC }; \\ CHANGE this to the machine's mac address

WakeOnLan::sendWOL(computer_ip, UDP, mac, sizeof mac);

Or just look into the file: examples/WakeOnLan-ESP8266/WakeOnLan-ESP8266.ino To view a full working example.

Installation

Copy the library into the folder:

C:\Program Files (x86)\Arduino\libraries (for x64 systems)

C:\Program Files\Arduino\libraries (for x32 systems)

Note: This library only works using the Arduino IDE v1.0+

wakeonlan-esp8266's People

Contributors

koenieee avatar jcalebbr avatar bondar 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.