Giter VIP home page Giter VIP logo

blinker_wol's Introduction

Blinker_WOL

使用小米小爱音箱进行WOL,需要有树莓派

请先去官网下载需要的库。 已经在树莓派 zero W 上测试正常运作。

需要更改private key和MAC 地址。

根据官网教程安装好程序,已经成功运行测试程序之后根据这篇教程绑定米家app, 之后把这个repo的Xiaomi_AI_WOL.py下载到目标树莓派。

git clone https://github.com/SodaWithoutSparkles/Blinker_WOL/
cd Blinker_WOL
nano Xiaomi_AI_WOL.py

更改private key 和MAC 地址,有需要的话更改broadcast address。(第9, 52, 77, 107行) 之后尝试运行:

sudo python3 Xiaomi_AI_WOL.py

关机的话,自己ssh吧。 可以配合cpulimit限制cpu usage。

Blinker_WOL

使用小米小愛音箱進行WOL,需要有樹莓派

請先去官網下載需要的庫。 已經在樹莓派 zero W 上測試正常運作。

需要更改private key和MAC 地址。

根據官網教程安裝好程序,已經成功運行測試程序之後根據這篇教程綁定米家app, 之後把這個repo的Xiaomi_AI_WOL.py下載到目標樹莓派。

git clone https://github.com/SodaWithoutSparkles/Blinker_WOL/
cd Blinker_WOL
nano Xiaomi_AI_WOL.py

更改private key 和MAC 地址,有需要的話更改broadcast address。(第9, 52, 77, 107行) 之後嘗試運行:

sudo python3 Xiaomi_AI_WOL.py

關機的話,自己ssh吧。 可以配合cpulimit限制cpu usage。

blinker_wol's People

Contributors

sodawithoutsparkles 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.