-
- add new class BaseHttpHandler - rename lin- and winHttpHandler to Lin- and WinHttpHandler - print error messages to std::cerr
-
This way deleted lights will not be returned
-
- 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
-
- make functions of HueLight virtual so they can be mocked
-
- 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
-
- error was that transitiontime was misspelled
-
- exported duplicate code to another function
-
- also remove uneeded std::cout
-
- removed duplicate code
-
- 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
-
- 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
-
- 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
-
- add function for getting the id of a light
-
- add a new function for checking whether a specific light with a given id exits - also provide a const version of said function
-
- add install command for shared lib, which was missing before - add subdirectory to include path for header files so it stays clean
-
- divide Build and install into smaller parts - add Advanced usage that describes the best way to use this library with CMake
-
- 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
-
- reduce variable scope of res, because its value was never really used
-
- also reduce ttl of multicast to 1 to stay in the local network, but could still be increased to 16
-
This is recommended by windows https://msdn.microsoft.com/de-de/library/windows/desktop/ms742213(v=vs.85).aspx
-
…tpHandlers\n-fix mock_HttpHandler
-
Add compatability with different operating systems
-
- Rename HttpHandler to linHttpHandler - Add new winHttpHandler for windows - Export duplicate functions from win/lin-HttpHandler into IHttpHandler