aboutsummaryrefslogtreecommitdiff
path: root/light.go
AgeCommit message (Collapse)Author
2016-02-24Implemented Light.Brighten to complement Light.DimCollin Guarino
2016-02-24Implemented Light.SetBrightness as a shortcut to using a SetState struct.Collin Guarino
2016-02-19Cleaned up Light struct documentation.Collin Guarino
2016-02-19Implemented light.Dim func.Collin Guarino
2016-02-19Implemented Light.SetColor with light color XY HSL values pre-defined.Collin Guarino
2016-02-18Moved functions, rearranged Bridge.funcs into bridge.go fileCollin Guarino
2016-02-18Implemented Bridge.Login() func that will assign Bridge.Username and create ↵Collin Guarino
the user if it does not exist. Also convered more functions to Bridge.func()
2016-02-17Changed light definitions of 'self' to 'light'.Collin Guarino
2016-02-16Renamed all 'self' definitions to resemble the struct name.Collin Guarino
2016-02-16Changed documentation header standard project wide to a less passive voice.Collin Guarino
2016-02-14Documentation links for philips hue website to official docs added to all ↵Collin Guarino
file headers.
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