public class ColorLight extends Light
| Constructor | Description |
|---|---|
ColorLight(java.net.InetAddress ip,
Token token,
int timeout,
int retries) |
configureRouter, configureRouter, discover, firmware, getAcceptableModels, getIp, getRetries, getTimeout, getToken, info, model, send, send, sendOk, sendOk, sendToArray, sendToArray, sendToObject, sendToObject, update, updateProgress, updateStatusgetBrightness, getColorTemperature, getDeviceMode, getHue, getIntProp, getName, getProps, getRGB, getSaturation, getSingleProp, getTimeUntilPowerOff, isOn, powerOffAfterTime, setAsDefault, setBrightness, setColorTemperature, setHSV, setName, setPower, setRGB, stopPowerOffAfterTime, togglePowerpublic ColorLight(java.net.InetAddress ip,
Token token,
int timeout,
int retries)
ip - The IP address of the light to connect to. If the address is null the first light that was found will be chosen.token - The token for that device. If the token is null the token will be extracted from unprovisioned devices.timeout - The timeout for the communicationretries - The number of retries after a failed communicationCopyright © 2018. All rights reserved.