Skip to content

strikegun/ioBroker.wifilight

 
 

Repository files navigation

Logo

ioBroker.wifilight

NPM version Tests Build status License

Description

ioBroker Adapter for WiFi Light

Info

Supports LW12, LD382 and LD382A. Support for Mi-Light/LimitlessLED RGBW added.

How to use the command state:
  • Possible identifiers are: red, r, green, g, blue, b, bri, sat, transition, on, off
  • The string can be a JSON with or without parentheses.
  • You can also assign a value by =
  • Range of colors: 0..255
  • Range of bri: 0..100

Some Examples:

r = 100; g = 250, b = 100
r: 0, g: 0, b = 255
red: 200, green: 0, blue: 0
{r:100, b: 200, transition: 20}
off
on
{on:0}

To change the color you do not have to use all three vallues. For example, red = 0, blue and green will stay unchanged.

r, g, b, w States:
  • Values 0..255
  • #rrggbb[ww]

Installation

Execute the following command in the iobroker root directory (e.g. in /opt/iobroker)

npm install iobroker.wifilight 

About

WiFi Light for ioBroker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.4%
  • HTML 10.6%