Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 508 Bytes

File metadata and controls

23 lines (17 loc) · 508 Bytes

YeelightAPI

YeelightAPI - a simple Java library which helps you to work with your Xiaomi Yeelight devices via network.

How to use

public class Main
{
    public static void main(String[] args) 
    {

        YeelightBulb bulb = new YeelightBulb("192.168.0.100");

        bulb.setRGBColor(255, 255, 255); //Set bulb white color
        bulb.setBrightness(25); //Set brightness to 25%
    }
}

All methods

For more info use Wiki page of API documentation.

Readme is under construction