Giter Club home page Giter Club logo

yeelightdotnet's Introduction

Xiaomi Yeelight Library for .NET

小米/亿联智能灯泡产品极客模式API解析库 for .NET

Description 简介

本项目是为小米Yeelight智能灯泡产品开发的.NET解析库,可以在内网中通过极客模式API寻找并控制灯泡。

本项目所有API reference来自小米亿联官网的文档,版权归其公司所有,本人仅对此文档内所提及的内容进行开发,文档内容归小米公司所有,本项目则按照CC-BY-NC-SA 3.0**大陆版授权,未经允许严禁商用。

This is a .NET library used for finding and controlling the Yeelight light bulb products via its "geek mode" APIs in internal network.

This library is based on Xiaomi Yeelight's official API reference document.. This project is authorized and protected by CC-BY-NC-SA 3.0 China Mainland. Any commercial uses is NOT allowed.

Tested features 已测试的功能

目前我手上只有俩单色版本的灯泡,正拿它们当小白鼠。目前所有单色产品的API测试貌似没什么问题。不过我也顺手搞了(其实是一块儿的)给彩色版用的API,只是没法测试。这里欢迎各位帮助测试相关API,若有问题,请fork一份本项目并进行修改,或是提个issue,但务必记住要附带上相关错误信息,谢谢。

同时亦欢迎感兴趣的关注者对本项目捐赠彩色版产品,或资助相应资金购买彩色版产品以测试并改善此项目。所有相关捐助资金用途可供质询,保证不乱用、浪费。欢迎联系:[email protected]

Currently I've only got two single-color (mono) lightbulbs, which means I can only test on them. So all single-color lightbulbs product related stuff are functional.

I have already included all the multi-color product related API, but they are not tested and maybe not functional. I welcome someone who can assist me to do the test. Simply fork and submit a pull request or an issue with detailed information of any crashes/exceptions/other errors.

I also welcome someone who can donate me one (or more) multi-color products if you really wish. I promise I will use it in the development as soon as I receive it. Contact me via [email protected]

To-Do list 还差啥……?

  • 小米特色SSDP支持

  • 异步TCP通信(暂用第三方库实现)

  • JSON操作

    • COMMAND信息
    • RESULT信息
    • NOTIFICATION信息(貌似没啥用,以后加上)
  • 某些异常处理

  • Mono/Xamarin.Mac移植和测试

  • PCL库移植测试

  • 接口文档

  • Xiaomi's "Fake" SSDP handling

  • Asynchronous TCP (Telnet) communication, currently still using 3rd party library

  • JSON handling

    • COMMAND message
    • RESULT message
    • NOTIFICATION message (a bit useless, will add later)
  • Some nasty exceptions handling

  • Mono/Xamarin.Mac port & test

  • Portable library port & test

  • Documentation

yeelightdotnet's People

Contributors

huming2207 avatar

Stargazers

 avatar

Watchers

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