aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-03-16Correct some Action fields to be pointersEvan Purkhiser
Since we specify omitempty on all Action fields it's important that fields whose empty values are valid values to marshal, we must use pointer types, so that the empty value is nil, not the empty value of the type For example, prior to this change you could not specify On: false and have it correctly be marshaled into a Action JSON.
2016-09-23Fixed issue #1 invalid types for hue and saturation in LightState struct.Collin Guarino
2016-09-23Added error checking in light_testCollin Guarino
2016-09-23Merge branch 'master' of github.com:Collinux/GoHueCollin Guarino
2016-09-23Fixed schedule_test outputCollin Guarino
2016-09-23Fixed light_test outputCollin Guarino
2016-09-23Fixed bridge_test file outputCollin Guarino
2016-09-23Fixed output of group and scene test files.Collin Guarino
2016-09-23Merge pull request #5 from chbmuc/masterCollin Guarino
Add (scene) functions
2016-09-15add RecallSceneByName()Christian Brunner
2016-09-15add RecallSceneChristian Brunner
2016-09-15add SetGroupState()Christian Brunner
2016-09-15add GetSceneByName()Christian Brunner
2016-07-03Added "See GoHue in action!" sectionCollin Guarino
Added "HueBeat" by Mobilpadde as an example implementation.
2016-02-29Changed example code to match new FindBridges function and fixed documentation.Collin Guarino
2016-02-29Changed FindBridge to FindBridges (plural) and refactored the function to ↵Collin Guarino
return []Bridge instead of just the first one.
2016-02-28Added defer on response body to close after HandleResponse finishes.Collin Guarino
2016-02-28Checked off 'search for new lights' under bridge features.Collin Guarino
2016-02-28Implemented Bridge.FindNewLights func.Collin Guarino
2016-02-28Ran go fmt on all files.Collin Guarino
2016-02-27Fixed example code to reflect new login system.Collin Guarino
2016-02-27Major fix for Bridge.CreateUser and change to user management design.Collin Guarino
2016-02-27Fixed Bridge.Login to verify authentication instead of crashing later.Collin Guarino
2016-02-27Checked off 'search for new bridges' feature.Collin Guarino
2016-02-27Implemented FindBridge, added unit tests, and documentation.Collin Guarino
2016-02-26Improved color variable documentation.Collin Guarino
2016-02-25Update README.mdCollin Guarino
2016-02-25Added godocs icon with link to library specCollin Guarino
2016-02-25Added clarity to Bridge.NewBridge documentation and adjusted error output ↵Collin Guarino
line spacing.
2016-02-25Converted Blink to use new SetBrightness func.Collin Guarino
2016-02-24Fixed bug in Bridge.GetAllLights where light.Bridge was not assigned and ↵Collin Guarino
causing a nil pointer.
2016-02-24Major bug fix for Bridge.GetAllLights not working in missing index cases.Collin Guarino
2016-02-24Added error checking to Light.Dim and Light.SetBrightnessCollin Guarino
2016-02-24Implemented Light.Brighten to complement Light.DimCollin Guarino
2016-02-24Added example for light.SetBrightness to readme.Collin Guarino
2016-02-24Implemented Light.SetBrightness as a shortcut to using a SetState struct.Collin Guarino
2016-02-21Reverted last change since /lights/<index> must start at 1.Collin Guarino
2016-02-21Fixed index issue where GetAllLights would not get index 0.Collin Guarino
2016-02-21Temporarily making Bridge.Login not force CreateUser every time in case the ↵Collin Guarino
user does not exist.
2016-02-21Improved error handling for Bridge.Login and Bridge.CreateUserCollin Guarino
2016-02-21Implemented error catching on GetAllLights if no lights are found.Collin Guarino
2016-02-20Implemented more verbose error output.Collin Guarino
2016-02-20Improved error log system.Collin Guarino
2016-02-19Cleaned up Light struct documentation.Collin Guarino
2016-02-19Implemented light.Dim func.Collin Guarino
2016-02-19Added examples for Light.SetColorCollin Guarino
2016-02-19Implemented Light.SetColor with light color XY HSL values pre-defined.Collin Guarino
2016-02-19Removed unnecessary parenthesis around GetInfo return.Collin Guarino
2016-02-19Simplified BridgeInfo Device struct and claned up Bridge.GetInfoCollin Guarino
2016-02-19Removed all log output except for errors.Collin Guarino