All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
This release contains breaking changes. This means that if you have been using a previous version of this library, you may need to change your code to account for the changes in this version. See below for the details.
- Support for other kinds of switches than just the Philips Hue dimmer switches.
getUnassignedLightByName(String)
method, to accompany thegetUnassignedLights()
method added in the previous release.- Added geofence support as motion sensors. They can be retrieved like all motion sensors with
getMotionSensors()
orgetMotionSensorByName(String)
with the name of a registered device. - Added ambient light sensor support.
- Changed how switches are handled: Philips Hue dimmer switches are no longer considered special in any way.
Instead, all switches are equal and can be accessed with the new
Switch
interface. TheHue
class now hasgetSwitches()
andgetSwitchByName(String)
methods instead of the oldgetDimmerSwitches()
andgetDimmerSwitchByName(String)
methods. LightType.ON_OFF
enum value was renamed toLightType.ON_OFF_LIGHT
to better distinguish it from theON_OFF_PLUGIN_UNIT
value.
DimmerSwitch
,DimmerSwitchAction
,DimmerSwitchButton
, andDimmerSwitchButtonEvent
classes. These have basically been replaced with theSwitch
,SwitchEvent
,Button
, andButtonEvent
classes.- Setter methods accessible with the
getRaw()
method. Some of these were deprecated in v1.1.0 already.
- Support for Smart Plugs: they will appear in the API with the type
LightType.ON_OFF_PLUGIN_UNIT
- Support for lights that do not belong to any group or zone: accessible using the
getUnassignedLights()
of theHue
object
- Deprecate the
LightType.ON_OFF
enumeration value: this one will be renamed toON_OFF_LIGHT
in the future
- Fixed issue #15:
the
HueBridgeDiscoveryService
returnedHueBridge
objects with their name and IP address reversed
- Bridge discovery: possibility to find any Bridges in the current LAN. UPnP and N-UPnP methods supported.
- Resourcelinks, accessible with the
getRaw()
method - Scenes, accessible with the
getRaw()
method - Possibility to activate a scene for a room
- Other types of light groups besides just lights and zones are now supported too
setCaching(boolean)
method. This caches the Bridge state (i.e. light, sensor and room states) and stops querying the Bridge unless explicitly told to do that by using therefresh()
method, or until caching is disabled again.setBrightness(int)
method forRoom
objects.
- Support for zones
- Getter methods for certain properties accessible with the
getRaw()
method
- Certain setter methods accessible with the
getRaw()
method
- Initial release