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
26 Jan, 2018
40 commits
  • 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 »
  • Add new tests for HueLight
    2a530510
    Moritz W authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Cleanup Hue test and add tests for new functions
    84c6d86e
    Moritz W authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Fix error in HueLight ...
    541c5f68
    - problem was that in Off-/On-NoRefresh true was not returned when light was off/on, but a transitiontime was set
    -- fix makes usage of these common functions more efficient
    Moritz W authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Fix comparison issue with in SimpleColorHueStrategy ...
    12a23f39
    - in setColorXY problem was that hue bridge only returns 4 decimal places, but with setColorRGB or in general more than 4 decimal places are quite common
    -- fixed issue by truncating floats during comparison by converting to int
    Moritz W authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Add new functions in HueLight ...
    1df7e3e8
    - add function for getting a lights type as string
    - add function for getting a lights model id as string
    - add function for getting a lights unique id as string
    - add function for getting a lights manufacturer name as string
    - add function for getting a lights lumninair id as string
    - add function (and const one) for getting a lights software version as string
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Add new function in HueLight ...
    1388003d
    - add function for getting the id of a light
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Add new function to Hue ...
    5f7e4699
    - add a new function for checking whether a specific light with a given id exits
    - also provide a const version of said function
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Add missing install for shared library to CMakeLists ...
    d5b1f674
    - add install command for shared lib, which was missing before
    - add subdirectory to include path for header files so it stays clean
    Moritz W authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Update README.md ...
    8c83f5a1
    - divide Build and install into smaller parts
    - add Advanced usage that describes the best way to use this library with CMake
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • add new functionality to CMakeLists ...
    425f609f
    - cleanup and document CMakeLists
    - add hueplusplus-config.cmake to make it easier to use hueplusplus by simply calling find_package
    - remove GLOB in test/CMakeLists.txt and exchange with set
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Make sure to close sockets on errors and after receiving data
    4f2efcab
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • remove debug prints in receive methods of winHttpHandler
    2c40066e
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • cleanup winHttpHandler ...
    ef847742
    - reduce variable scope of res, because its value was never really used
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • clanup winHttpHandler ...
    c8d0a591
    - also reduce ttl of multicast to 1 to stay in the local network, but could still be increased to 16
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Return return_code of WSAStartup rather than calling WSAGetLastError() ...
    3f792d8c
    This is recommended by windows https://msdn.microsoft.com/de-de/library/windows/desktop/ms742213(v=vs.85).aspx
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Fix compiling on linux and windows,\n-get rid of unneeded ifdef and ifndef in Ht… ...
    03696ce8
    …tpHandlers\n-fix mock_HttpHandler
    Moritz W authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Forgot to udpate part under Authenticate Bridges
    5c8e126d
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Describe hwo to use new HttpHandlers
    03cf9200
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Refine debug messages in all HttpHandlers
    9d85cfbf
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Update README ...
    9c0dada5
    Add compatability with different operating systems
    Moritz Wirger authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Add crude windows compatability, ...
    9e554815
    - Rename HttpHandler to linHttpHandler
    - Add new winHttpHandler for windows
    - Export duplicate functions from win/lin-HttpHandler into IHttpHandler
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • remove publish state, because it is actually not needed
    f0b19d95
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Add a step for publishing the state of build to github
    b9a08544
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • Update Doxyfile to exclude jsoncpp from documentation
    337e7c80
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »
  • replace debug with build
    4e480a3a
    Nodeduino authored
    2018-01-26 22:36:24 +0100  
    Browse Code »