Logo white

Peter M. Groen / hueplusplus

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 345
  • Compare
  • Branches 4
  • Tags 2
  • hueplusplus
04 Jun, 2018
9 commits
  • Fix unittests for HueCommandAPI
    a16d2be9
    Moritz W authored
    2018-06-04 14:42:50 +0200  
    Browse Code »
  • Add new functions to Hue class ...
    a675e68a
    - add getPictureOfLight and getPictureOfModel to get a picture name of a light or a model id
    Nodeduino authored
    2018-06-04 14:42:50 +0200  
    Browse Code »
  • Change testhelper from static variables to inline functions. ...
    7b070eb8
    - Avoids UB
    Jojo-1000 authored
    2018-06-04 14:42:50 +0200  
    Browse Code »
  • Implement retry in HueCommandAPI, add tests. ...
    bf0d3aa3
    - On errors connection reset or timed out, waits and retries once
    Jojo-1000 authored
    2018-06-04 14:42:50 +0200  
    Browse Code »
  • Update ip and username in HueCommandAPI when bridge is added ...
    0db0a5dd
    - Also added tests to verify it
    Jojo-1000 authored
    2018-06-04 14:42:50 +0200  
    Browse Code »
  • Fix compile error on linux and undefined behavior from last commit. ...
    2dc5770a
    - Username and id were initialized from themselves
    Jojo-1000 authored
    2018-06-04 14:42:50 +0200  
    Browse Code »
  • Add HueCommandAPI as a layer over HttpHandler. ...
    47a624a2
    - Used to enforce a timeout between api requests, closes #15
    Jojo-1000 authored
    2018-06-04 14:42:50 +0200  
    Browse Code »
  • Use system_error instead of runtime_error where error codes exist.
    f9a1f744
    Jojo-1000 authored
    2018-06-04 14:42:50 +0200  
    Browse Code »
  • Improve error messages of BaseHttpHandler ...
    bd30ad58
    - Rename IHttpHandler to BaseHttpHandler in debug messages
    - Add more informative debug print when the body of a response could not be found
    Moritz Wirger authored
    2018-06-04 14:42:50 +0200  
    Browse Code »

14 Apr, 2018
8 commits
  • Remove ct color support for Color Lights, which closes #11 ...
    3d500e3c
    - Hue Color Lights do not support ct mode so the support for it has been removed
    Moritz Wirger authored
    2018-04-14 00:02:40 +0200  
    Browse Code »
  • Add new light function for bridges using v1.24 ...
    74017451
    - add getProductname to get the product name of a light
    Moritz Wirger authored
    2018-04-14 00:02:40 +0200  
    Browse Code »
  • Change unittest cmake target to also work on windows.
    6587a32f
    Jojo-1000 authored
    2018-04-14 00:02:40 +0200  
    Browse Code »
  • Export include directory with cmake library ...
    34570436
    - Now the library can just be included with add_subdirectory, no need to configure include path
    Moritz Wirger authored
    2018-04-14 00:02:40 +0200  
    Browse Code »
  • Modify test_Hue.cpp to be correct after last change
    1f45c588
    Moritz Wirger authored
    2018-04-14 00:02:40 +0200  
    Browse Code »
  • Fix problem where username could not be requested ...
    c5a06db1
    - wrong function was used to request the username
    Moritz Wirger authored
    2018-04-14 00:02:40 +0200  
    Browse Code »
  • Fix typos in SimpleColorHueStrategy ...
    700c6eb3
    transition was misspelled
    Moritz Wirger authored
    2018-04-14 00:02:40 +0200  
    Browse Code »
  • Improve error messages in LinHttpHandler ...
    a4c67dcc
    - improved by also printing errno as string
    Moritz W authored
    2018-04-14 00:02:40 +0200  
    Browse Code »

26 Jan, 2018
23 commits
  • Update readme to be in line with the latest merge
    463bc8ba
    Moritz Wirger authored
    2018-01-26 22:39:37 +0100  
    Browse Code »
  • Fix missing renames of MockLinHttpHandler.
    1d2d1f94
    Jojo-1000 authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Change mock of LinHttpHandler to mock of BaseHttpHandler. ...
    10b9b262
    Test also works on windows now.
    Jojo-1000 authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Add coveragetest to Test stage of Jenkinsfile
    05df0146
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Readd WinHttpHandler: to error output in WinHttpHandler.cpp
    7924da62
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Fix renaming of HttpHandler classes in CMakeLists.txt
    01e6b78e
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Fix typo in readme
    1d2b3f22
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Print error messages to std::cerr rather than std::cout in Hue.cpp
    5e4dd02f
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Make IHttpHandler purely virtual ...
    8a0c7fe4
    - add new class BaseHttpHandler
    - rename lin- and winHttpHandler to Lin- and WinHttpHandler
    - print error messages to std::cerr
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Change tabs to spaces to make code more appealing
    1e1caf35
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Refresh state before searching for light in Hue::lightExists ...
    a1d3770c
    This way deleted lights will not be returned
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Update readme to be in line with the new changes
    8e85447a
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Add a whole load of tests so everything important is tested now ...
    ea91f483
    - add tests for ExtendedColorHueStrategy
    - add tests for ExtendedColorTemperatureStrategy
    - add missing test for HueLight
    - add tests for IHttpHandler
    - add tests for SimpleBrightnessStrategy
    - add tests for SimpleColorHueStrategy
    - add tests for SimpleColorTemperatureStrategy
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Add mock class for HueLight ...
    4056d090
    - make functions of HueLight virtual so they can be mocked
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Fix problem in setColorRGB of SimpleColorHueStrategy.cpp ...
    23937b4c
    - problem was that a rgb color of (0,0,0) is not representable with CIE xy so this case now the light will be turned off
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Add #ifndef to testhelper.h to fix problems when it is included
    1b3dbc39
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Fix error in SimpleColorHueStrategy ...
    6efe9b21
    - error was that transitiontime was misspelled
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Remove unneeded if statement in linHttpHandler
    bc2e2d62
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Remove unneeded std::cout
    ba9c6de0
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Improve error message of Hue::refreshState
    aef5387c
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Closes #9 ...
    85fba134
    - exported duplicate code to another function
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Fix issue #8 ...
    a3900e59
    - also remove uneeded std::cout
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Fix issue #10 ...
    0cc3f77c
    - removed duplicate code
    Moritz W authored
    2018-01-26 22:36:24 +0100  
    Browse Code »