Repository navigation
Releases: enwi/hueplusplus
Releases · enwi/hueplusplus
Release list
Release 1.2.0
Changes
- Update mbedtls to 3.2.1 (newer version is still not possible due to incompatibility with C++)
- Always set the class when creating rooms
- Use external library packages if available
- Change library output name for linux: Shared and static library are both called libhueplusplus.* instead of separate names. Windows names are unchanged due to conflicts
Release 1.1.0
Release 1.0.0
Changes
- Support on/off plugs and other light types
- Add contribution guide
- Support transactions to change multiple properties at once
- Support groups, scenes, schedules, rules and sensors
- Changed folder structure (
hueplusplus->src,hueplusplus/include->include/hueplusplus) - Support searching for new devices
- Support shared cache or separate cache per object
- Support entertainment mode, includes mbedTLS library as a submodule for this purpose
- Add examples and documentation pages with more explanations
Breaking Changes
- Library is in namespace
hueplusplus - Rename classes:
Hue->hueplusplus::BridgeHueFinder->hueplusplus::BridgeFinderHueFinder::HueIdentification->hueplusplus::BridgeFinder::BridgeIdentificationHueLight->hueplusplus::Light
- Move light access methods
bridge.getLight(id)->bridge.lights().get(id)
(also return type changed fromHueLight&tohueplusplus::Light(by value))bridge.getAllLights()->bridge.lights().getAll()
(also return type changed fromstd::vector<std::reference_wrapper<HueLight>>tostd::vector<hueplusplus::Light>)bridge.removeLight(id)->bridge.lights().remove(id)bridge.lightExists(id)->bridge.lights().exists(id)
- Use structs for colors
light.setColorHueSaturation(hue, sat)->light.setColorHueSaturation(hueplusplus::HueSaturation{hue, sat})
(orlight.setColorHueSaturation({hue, sat}))light.setColorXY(x,y)->light.setColorXY(hueplusplus::XYBrightness{{x,y},bri})(orlight.setColorXY({{x,y},bri}))- also affected:
light.getColorHueSaturation(),light.getColorXY(),light.setColorRGB(),light.alertHueSaturation(),light.alertXY()
- Remove
light.alertRGB(), uselight.alertXY()orlight.alertHueSaturation()instead and convert RGB first - Move
bridge.getPictureOfModel(model_id)toModelPictures.has a free function, removebridge.getPictureOfLight(id). Get modelid from light instead - Move
kelvinToMired(),miredToKelvin()fromHueLighttoColorUnits.has a free function - Rename all functions to lowercase
light.on(),light.off(),bridgeFinder.addUsername(),bridgeFinder.getBridge(),bridgeFinder.findBridges(),hueplusplus::BridgeFinder::normalizeMac(),kelvinToMired(),miredToKelvin()