Coder Social home page Coder Social logo

yee_link_light's Introduction

yee_link_light

一个将yeelight接入yeelink平台的小程序for Linx。
使用注意:
1.当然是要确保程序的运行环境能够访问到yeebox盒子。
2.配置文件yeelight.conf和程序要放在相同路径(任意)。
3.首次使用切记填写好yeelight.conf配置文件的相关信息,使用到的是yeelink平台的开关。
4.由于程序写得渣,为了防止程序崩溃啥的,如果需要长期在openwrt上运行,建议在/etc/inittab文件中加上
::respawn:/root/YeeSer
其中/root/YeeSer为程序的绝对路径。
5.demo文件夹下为编译好的适合路由器hg255d在openwrt环境下使用的程序。
6.代码中使用了来自网友wanli编写的 yeelink API for Linux:http://www.codelifeliwan.com/?p=612
7.演示:http://www.gifshow.com/i/photo/lwx?userId=509321&photoId=5407773&from=sina2.0&r=33

yee_link_light's People

Watchers

James Cloos avatar  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.