Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.
/ yapi Public archive

Yapi is a Java API that lets you control different Yeelight devices via Wi-Fi

License

Notifications You must be signed in to change notification settings

florian-mollin/yapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

afd1b62 · Nov 26, 2017

History

30 Commits
Nov 1, 2017
Nov 25, 2017
Nov 19, 2017
Nov 25, 2017
Nov 26, 2017
Nov 25, 2017
Nov 26, 2017
Nov 25, 2017
Nov 26, 2017
Nov 1, 2017
Nov 1, 2017

Repository files navigation

Build Status

Yapi : Yeelight Java API

Yapi is an API that lets you control different Yeelight devices via Wi-Fi.

Get Yapi

To use Yapi, you can download the JAR here (Java 8 or above is required).

Usage / Example

Here is a simple example of how to use the API:

// Instantiate your device (with its IP)
YeelightDevice device = new YeelightDevice("192.168.1.47");
// Switch on the device
device.setPower(true);
// Change device color
device.setRGB(255, 126, 0);
// Change device brightness
device.setBrightness(100);

For a complete overview of available commands, see the API documentation.

About

Yapi is a Java API that lets you control different Yeelight devices via Wi-Fi

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages