This module is the interface to a Milight Bridge which is connected to the network using a Wifi connection. It uses a UDP protocal with no acknowledgement so there is no guarantee that your command was received.
The Milight system is sold under various brands around the world including "LimitlessLED, EasyBulb, AppLamp"
The API documentation is available here: http://www.limitlessled.com/dev/
Define
define <name> MilightBridge <host/ip>
Specifies the MilightBridge device.
<host/ip> is the hostname or IP address of the Bridge.
Readings
-
state
[ok|unreachable]: Set depending on result of a UDP ping sent every 10 seconds.
-
sendFail
0 if everything is OK. 1 if the send function was unable to send the command - this would indicate a problem with your network and/or host/port parameters.
-
slot[0|1|2|3|4|5|6|7|8]
The slotX reading will display the name of the MilightDevice that is defined with this Bridge as it's IODev. It will be blank if no device is defined for that slot.
Attributes
-
sendInterval
Default: 100ms. The bridge has a minimum send delay of 100ms between commands.
-
checkInterval
Default: 10s. Time after the bridge connection is re-checked.
-
port
Default: 8899. Older bridges (V2) used port 50000 so change this value if you have an old bridge.
-
tcpPing
If this attribute is defined, ping will use TCP instead of UDP.
=end html
=cut