aboutsummaryrefslogtreecommitdiff
path: root/light.go
AgeCommit message (Collapse)Author
2016-02-14Fixed Light struct integer types and added more documentation for SetState func.Collin Guarino
2016-02-14Improved Light.Blink by dimming and raising the brightness instead of ↵Collin Guarino
turning on and off.
2016-02-13Converted SetLightState to Light.SetStateCollin Guarino
2016-02-13Cleaned up documentation and tests.Collin Guarino
2016-02-13Added documentation for Bridge.Delete, Bridge.Put, Light.Delete.Collin Guarino
2016-02-13Implemented Bridge.Delete and Light.Delete.Collin Guarino
2016-02-12Renamed GetLight to GetLightByName and added unit tests.Collin Guarino
2016-02-12Speed improvements to SetLightState by using new GetLightByIndex func.Collin Guarino
2016-02-12Major speed improvement for getting light state.Collin Guarino
2016-02-12Added Light.Blink and made SetLightState get the new light state after a change.Collin Guarino
2016-02-12Simplified GetLight func and cleaned up Light json struct.Collin Guarino
2016-02-11Finalized Light.SetName function, fixed error caused by invalid uri.Collin Guarino
2016-02-10Simplified Light.ColorLoop to accept a boolean instead of having ↵Collin Guarino
on/off/toggle modes.
2016-02-10Added email to license headers.Collin Guarino
2016-02-10Added screenname to license headers.Collin Guarino
2016-02-10Added GPLv2 license header to all files.Collin Guarino
2016-02-09Attempt to fix memory error with SetName.Collin Guarino
2016-02-08Rough implementation for Light.SetName and simplified Bridge.Put returns.Collin Guarino
2016-02-08Fixed documentation capitalization for Light struct.Collin Guarino
2016-02-08Added documentation to the 3 colorloop functions.Collin Guarino
2016-02-08Fixed light on/off toggle to return error.Collin Guarino
2016-02-08Added ColorLoop on, off, toggle functions.Collin Guarino
2016-02-07Simplified light.On/Off and added error returns.Collin Guarino
2016-02-07Added light.Toggle func and documentation for On, Off, Toggle.Collin Guarino
2016-02-07Restructured light struct and all funcs to manage bridge association.Collin Guarino
2016-02-07Configuring On/Off functions for lights.Collin Guarino
2016-02-06Fixed LightState struct and bridge.Put request model.Collin Guarino
2016-02-04Added json bindings for LightState struct.Collin Guarino
2016-02-04Added index to Light struct to easily reference it from []light.Collin Guarino
2016-02-04Prepared SetLightState for bridge.PutCollin Guarino
2016-02-02Convered GetAllLights to use the bridge.Get function.Collin Guarino
2016-01-31Cleaned up code formatting.Collin Guarino
2016-01-31Refactored naming convention for http.Collin Guarino
2016-01-31Refactored error system to make sure all functions return an error if it occurs.Collin Guarino
2016-01-31Rough implementation of SetLightState with unit tests.Collin Guarino
2016-01-31Fixed json unmarshal issue in GetAllLights caused by invalid data type (was ↵Collin Guarino
not []float).
2016-01-30Fixed light state float types and started SetLightState func.Collin Guarino
2016-01-30Prepared SetLightState struct for SetState func.Collin Guarino
2016-01-30Renamed lights files to light (singular).Collin Guarino