Simple controls for the MiLight LED WiFi bridge (also known as LimitlessLED and EasyBulb)
Signature | hs.milight.maxBrightness |
---|---|
Type | Constant |
Description | Specifies the maximum brightness value that can be used. Defaults to 25 |
Source | extensions/milight/init.lua |
Signature | hs.milight.minBrightness |
---|---|
Type | Constant |
Description | Specifies the minimum brightness value that can be used. Defaults to 0 |
Source | extensions/milight/init.lua |
Signature | hs.milight.new(ip[, port]) -> bridge |
---|---|
Type | Constructor |
Description | Creates a new bridge object, which will be connected to the supplied IP address and port |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/milight/internal.m |
Signature | hs.milight:delete() |
---|---|
Type | Method |
Description | Deletes an `hs.milight` object |
Parameters |
|
Returns |
|
Source | extensions/milight/internal.m |
Signature | hs.milight:disco() -> bool |
---|---|
Type | Method |
Description | Cycles through the disco modes |
Parameters |
|
Returns |
|
Source | extensions/milight/init.lua |
Signature | hs.milight:send(cmd[, value]) -> bool |
---|---|
Type | Method |
Description | Sends a command to the bridge |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/milight/internal.m |
Signature | hs.milight:zoneBrightness(zone, value) -> integer |
---|---|
Type | Method |
Description | Sets brightness for the specified zone |
Parameters |
|
Returns |
|
Source | extensions/milight/init.lua |
Signature | hs.milight:zoneColor(zone, value) -> bool |
---|---|
Type | Method |
Description | Sets RGB color for the specified zone |
Parameters |
|
Returns |
|
Notes |
|
Source | extensions/milight/init.lua |
Signature | hs.milight:zoneOff(zone) -> bool |
---|---|
Type | Method |
Description | Turns off the specified zone |
Parameters |
|
Returns |
|
Source | extensions/milight/init.lua |
Signature | hs.milight:zoneOn(zone) -> bool |
---|---|
Type | Method |
Description | Turns on the specified zone |
Parameters |
|
Returns |
|
Source | extensions/milight/init.lua |
Signature | hs.milight:zoneWhite(zone) -> bool |
---|---|
Type | Method |
Description | Sets the specified zone to white |
Parameters |
|
Returns |
|
Source | extensions/milight/init.lua |