LimitlessLED
Comment: Library for sending commands to Limitless LED bulbs through the optional WiFi bridge.
See http://www.limitlessled.com for more detail.
The bulbs are sold under other brands/names in other regions (Limitless LED, Dekolight, iLight, applight, applamp, LEDme, EasyBulb, MiLight)
NOTE: The library only contains commands for the Dual White LED bulbs at this point in time.
Author: Trevor Hart
Version: 1.05
Comment: Library for sending commands to Limitless LED bulbs through the optional WiFi bridge.
See http://www.limitlessled.com for more detail.
The bulbs are sold under other brands/names in other regions (Limitless LED, Dekolight, iLight, applight, applamp, LEDme, EasyBulb, MiLight)
NOTE: The library only contains commands for the Dual White LED bulbs at this point in time.
Author: Trevor Hart
Version: 1.05
- LimitlessBridgeCommands
Fields:- AllFull As Int
Turn on fullmode for all groups - AllNight As Int
Turn on nightmode for all groups - AllOff As Int
Turn off all groups - AllOn As Int
Turn on all groups - BrightnessDown As Int
Decrease brightness for the selected group - BrightnessUp As Int
Increase brightness for the selected group - ColorTempDown As Int
Decrease colour temperature (towards warm white) for the selected group - ColorTempUp As Int
Increase colour temperature (towards cool white)for the selected group - Group1Full As Int
Turn on fullmode for group 1 - Group1Night As Int
Turn on nightmode for group 1 - Group1Off As Int
Turn off group 1 - Group1On As Int
Turn on group 1 - Group2Full As Int
Turn on fullmode for group 2 - Group2Night As Int
Turn on nightmode for group 2 - Group2Off As Int
Turn off group 2 - Group2On As Int
Turn on group 2 - Group3Full As Int
Turn on fullmode for group 3 - Group3Night As Int
Turn on nightmode for group 3 - Group3Off As Int
Turn off group 3 - Group3On As Int
Turn on group 3 - Group4Full As Int
Turn on fullmode for group 4 - Group4Night As Int
Turn on nightmode for group 4 - Group4Off As Int
Turn off group 4 - Group4On As Int
Turn on group 4 - RGBAllOff As Int
RGB Only - Turn off all RGB lights - RGBAllOn As Int
RGB Only - Turn on all RGB lights - RGBBrightnessDown As Int
RGB Only - Decrease brightness for all RGB lights - RGBBrightnessUp As Int
RGB Only - Increase brightness for all RGB lights - RGBColour_Aqua As Int
- RGBColour_BabyBlue As Int
- RGBColour_Fusia As Int
- RGBColour_Green As Int
- RGBColour_Lavendar As Int
- RGBColour_Lilac As Int
- RGBColour_LimeGreen As Int
- RGBColour_Mint As Int
- RGBColour_Orange As Int
- RGBColour_Pink As Int
- RGBColour_Red As Int
- RGBColour_RoyalBlue As Int
- RGBColour_SeafoamGreen As Int
- RGBColour_Violet As Int
- RGBColour_Yellow As Int
- RGBColour_YellowOrange As Int
- RGBDiscoLast As Int
RGB Only - Previous disco mode for all RGB lights - RGBDiscoNext As Int
RGB Only - Next disco mode for all RGB lights - RGBSpeedDown As Int
RGB Only - Decrease disco speed for all RGB lights - RGBSpeedUp As Int
RGB Only - Increase disco speed for all RGB lights - RGBWAllOff As Int
RGBW Only - Turn off all RGBW lights - RGBWAllOn As Int
RGBW Only - Turn on all RGBW lights - RGBWBrightness As Int
- RGBWColour As Int
- RGBWDiscoMode As Int
- RGBWDiscoModeFaster As Int
- RGBWDiscoModeSlower As Int
- RGBWGroup1Night As Int
- RGBWGroup1Off As Int
Turn off group 1 - RGBWGroup1On As Int
Turn on group 1 - RGBWGroup1White As Int
- RGBWGroup2Night As Int
- RGBWGroup2Off As Int
Turn off group 2 - RGBWGroup2On As Int
Turn on group 2 - RGBWGroup2White As Int
- RGBWGroup3Night As Int
- RGBWGroup3Off As Int
Turn off group 3 - RGBWGroup3On As Int
Turn on group 3 - RGBWGroup3White As Int
- RGBWGroup4Night As Int
- RGBWGroup4Off As Int
Turn off group 4 - RGBWGroup4On As Int
Turn on group 4 - RGBWGroup4White As Int
- RGBWNight As Int
- RGBWWhite As Int
- AllFull As Int
- LimitlessBridgeFinder
Methods:- Close
Close the connection to the UDP socket. - GetBridges As Boolean
Search for bridges on the network. Calls EventName_Result when complete.
Returns False if there isnt a valid broadcast IP address on the network. - GetBroadcastIP As String
Get the actual broadcast IP address from the network.
Returns an empty string if no broadcast IP available. - Initialize (host As String, port As Int, EventName As String)
Initializes the UDP socket for sending the broadcast. - IsConnected As Boolean
Returns a value indicating if the UDP socket is connected or not. - IsInitialized As Boolean
Returns a value indicating if the UDP socket is initialized
- android.permission.ACCESS_WIFI_STATE
- android.permission.INTERNET
- Close
- LimitlessWiFiBridge
Methods:- BrightnessFadeDown (group As Int)
Fade the brightness of the group down. - BrightnessFadeUp (group As Int)
Fade the brightness of the group up. - Close
Close the connection to the Wifi Bridge. - ColorFadeCool
Fade the colour of the selected group to cool white. - ColorFadeWarm
Fade the colour of the selected group to warm white. - DWFull (group As Int)
- DWNight (group As Int)
- DWOff (group As Int)
- DWOn (group As Int)
- GetBroadcastIP As String
Get the actual broadcast IP address from the network. - GetBroadcastIP2 As String
- GetMyWifiIP As String
Returns the IP address of the wifi network. Returns "127.0.0.1" (localhost) if not connected. - Initialize (host As String, port As Int)
Initializes the WiFi Bridge for sending commands
- host = WiFi Bridge IP address eg 10.1.1.1
- port = WiFi Bridge port number eg 8899 - IsConnected As Boolean
Returns a value indicating if the WiFi Bridge is connected or not. - IsInitialized As Boolean
Returns a value indicating if the WiFi Bridge initialized - Ping (host As String, count As Int) As String
Pings the WiFi bridge using the Android Ping command.
Ping command is not available on all devices. Returns "Error" if unable to run Ping command. - Ping2 (host As String, port As Int) As String
Pings the WiFi bridge using the bridge control commandset.
Returns MAC address of the WiFi bridge is successful or empty string unsuccessful. - RGBColour (colour As Int)
- RGBWBrightnessFadeDown (group As Int)
- RGBWBrightnessFadeUp (group As Int)
Fade the brightness of the group up. - RGBWOff (group As Int)
- RGBWOn (group As Int)
- RGBWSetBrightness (group As Int, brightness As Int)
- RGBWSetDiscoMode
- RGBWSetDiscoModeFaster
- RGBWSetDiscoModeSlower
- RGBWSetNight (group As Int)
- RGBWSetWhite (group As Int)
- Send (message As Int)
Sends a message to the WiFi Bridge (1 byte) - Send2 (message1 As Int, message2 As Int)
Sends a message to the WiFi Bridge (2 bytes) - avaiableSdcard As Boolean
- android.permission.ACCESS_WIFI_STATE
- android.permission.INTERNET
- BrightnessFadeDown (group As Int)
Attachments
Last edited: