Releases: enwi/hueplusplus
Releases · enwi/hueplusplus
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::Bridge
HueFinder
->hueplusplus::BridgeFinder
HueFinder::HueIdentification
->hueplusplus::BridgeFinder::BridgeIdentification
HueLight
->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.h
as a free function, removebridge.getPictureOfLight(id)
. Get modelid from light instead - Move
kelvinToMired()
,miredToKelvin()
fromHueLight
toColorUnits.h
as a free function - Rename all functions to lowercase
light.on()
,light.off()
,bridgeFinder.addUsername()
,bridgeFinder.getBridge()
,bridgeFinder.findBridges()
,hueplusplus::BridgeFinder::normalizeMac()
,kelvinToMired()
,miredToKelvin()