MCPcopy Index your code
hub / github.com/eliotstocker/Light-Controller

github.com/eliotstocker/Light-Controller @v1.8-b4

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.8-b4 ↗ · + Follow
563 symbols 1,374 edges 60 files 128 documented · 23%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Light Controller

Promo Image

Build Status

Build Status

Description

The best way to control your LED Bulbs, Including Home and Lockscreen widgets

New Light Controller API Availabel here: http://eliotstocker.github.io/Light-ControllerAPI

have you got LED lights, but find yourself using the Lightswitch more often than not because of the need to open the app in order to simply turn on the lights? this app is for you, it was developed specifically in order to give you the light switches where they are most accessible. you choose where you want the switches, be it on one of your home screens, on the lock screen or both.

The widget gives you easy access to switch each zone on and off as well as global control. also included is easy access to the main application for more advanced control.

The application enables control of both RGBW bulbs and Dual White Bulbs, And you can now choose to turn on one or both sets of lighting zones.

We have started working on some extra lighting modes also light listening mode, where it will attempt to detect the beat of the music playing and pulse different colours to the music. A candle mode to emulate the flickering of a candle, along with the built in disco modes.

Control LED Bulbs from: * AppLamp * EasyBulb * Limitless LED * MiLight * ilux

and some others also.

You will need the Wifi Controller box to access these lights from the application

if the application doesn't work out of the box, you may need to setup the IP address of your controller box, by default the application will attempt to broadcast to the whole network, and find any available Bridge. this does not work in all setups.

New Features Coming soon: * Full Control API (With Permission System) * Alarm Clock Plugin * Location Base Light Control Plugin * Tablet Interface * Internet Based Control

This Project is Open source

Contributors: * Eliot Stocker * Louis Orleans * AppLamp (Thanks for Providing Hardware too!) * Harry Sibenaler * Matthew Nagel

Come and join us in the Issue tracker for new features and bug fixes.

find the source on GitHub here: https://github.com/eliotstocker/Light-Controller Pull request and translations very welcome

Change Log

Changes can be found here

License

Light Controller is published under the GPL V3 license

Libraies

Light controller uses the following libraries: * HoloColorPicker by Lars Werkman * Android PagerSlidingTabStrip by Andreas Stütz * Material Dialogs by Aidan Follestad * Appcompat Android Support by Google * Material-Drawer by HeinrichReimer * CircularSeekBar by devadvance * Google Play Services for Wear by Google * PebbleKit Android by Pebble

Extension points exported contracts — how you extend this code

OnCircularSeekBarChangeListener (Interface)
Listener for the CircularSeekBar. Implements the same methods as the normal OnSeekBarChangeListener. [3 implementers]
circularseekbar/src/main/java/com/devadvance/circularseekbar/CircularSeekBar.java
OnColorChangedListener (Interface)
An interface that is called whenever the color is changed. Currently it is always called when the color is changes. @au [2 …
LC1/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java
OnShapeChangeListener (Interface)
(no doc) [1 implementers]
wear/src/main/java/tv/piratemedia/lightcontroler/ShapeWear.java
OnColorSelectedListener (Interface)
An interface that is called whenever a new color has been selected. Currently it is always called when the color wheel h
LC1/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java
OnSizeChangeListener (Interface)
(no doc)
wear/src/main/java/tv/piratemedia/lightcontroler/ShapeWear.java
OnSaturationChangedListener (Interface)
(no doc)
LC1/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java
OnOpacityChangedListener (Interface)
(no doc)
LC1/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java
OnValueChangedListener (Interface)
(no doc)
LC1/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java

Core symbols most depended-on inside this repo

setOnOff
called by 29
LC1/src/main/java/tv/piratemedia/lightcontroler/SaveState.java
sendMessage
called by 27
LC1/src/main/java/tv/piratemedia/lightcontroler/UDPConnection.java
getOnOff
called by 27
LC1/src/main/java/tv/piratemedia/lightcontroler/SaveState.java
setNewCenterColor
called by 24
LC1/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java
LightsOn
called by 24
LC1/src/main/java/tv/piratemedia/lightcontroler/controlCommands.java
setColor
called by 23
LC1/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java
setColor
called by 23
LC1/src/main/java/com/larswerkman/holocolorpicker/SVBar.java
createPendingIntent
called by 20
LC1/src/main/java/tv/piratemedia/lightcontroler/notificationService.java

Shape

Method 482
Class 71
Interface 8
Enum 2

Languages

Java100%

Modules by API surface

LC1/src/main/java/tv/piratemedia/lightcontroler/controller.java53 symbols
circularseekbar/src/main/java/com/devadvance/circularseekbar/CircularSeekBar.java43 symbols
LC1/src/main/java/com/larswerkman/holocolorpicker/ColorPicker.java40 symbols
LC1/src/main/java/tv/piratemedia/lightcontroler/controlCommands.java30 symbols
LC1/src/main/java/tv/piratemedia/lightcontroler/api/APIPermissionManager.java20 symbols
wear/src/main/java/tv/piratemedia/lightcontroler/ShapeWear.java19 symbols
LC1/src/main/java/com/larswerkman/holocolorpicker/OpacityBar.java19 symbols
LC1/src/main/java/com/larswerkman/holocolorpicker/ValueBar.java18 symbols
LC1/src/main/java/com/larswerkman/holocolorpicker/SaturationBar.java18 symbols
LC1/src/main/java/tv/piratemedia/lightcontroler/MiiLightProvider.java17 symbols
LC1/src/main/java/tv/piratemedia/lightcontroler/wear/WearSettings.java16 symbols
LC1/src/main/java/com/larswerkman/holocolorpicker/SVBar.java15 symbols

For agents

$ claude mcp add Light-Controller \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page