Skip to content
This repository was archived by the owner on Apr 21, 2021. It is now read-only.
/ Jeelight Public archive

A Java library that allows you to controll your Yeelight Smart Bulbs with Java.

Notifications You must be signed in to change notification settings

Antony1060/Jeelight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

This project is archived for now, might come back to it later when I have time

Jeelight

A Java library for controlling Yeelight LED smart lights.

Installation

Download the first thing in releases

Usage

Connecting

Yeelight light = new Yeelight("127.0.0.1" /* IP */, 55443 /* Port */);

Methods

  • setPower(boolean state, Effect effect, int duration)

    light.setPower(true, Effect.SMOOTH, 2);
  • toggle()

    light.toggle();
  • setRGB(RGB rgb, Effect effect, int duration)

    light.setRGB(new RGB(255, 0, 0), Effect.SMOOTH, 2);
  • setHSV(HSV hsv, Effect effect, int duration)

    light.setHSV(new HSV(100, 100), Effect.SMOOTH, 2);
  • setCT(int ct, Effect effect, int duration)

    light.setCT(60, EFFECT.SMOOTH, 2);
  • setName(String name)

    light.setName("YeetLight");

License

MIT

About

A Java library that allows you to controll your Yeelight Smart Bulbs with Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages