Creates an instance of Group based on the provided notification frame. You shouldn't create groups by yourself but rather use the [[Groups]] class to provide you with a list of all groups.
The connection that will be used to send and receive commands.
Notification frame that is used to set the properties of the Group class instance.
Readonly
ConnectionThe connection that will be used to send and receive commands.
Readonly
GroupIDID of the group.
Readonly
propertyThe event will be emitted when any of the public properties has changed. The event object contains a reference to the product, the name of the property that has changed and the new value of that property.
Name of the group.
Defines the variation of the group.
The order in which the groups should be displayed by a client application.
The placement of the product. Either a house index or a room index number.
This method fires PropertyChanged events based on the changes in the frame provided by the parameter. This method will be used internally and you shouldn't need to use it on your own.
Change notification frame to calculate the changes.
Change properties of the group.
If there are no changes in the properties the method returns directly with a resolved promise.
New value for the Order property.
New value for the Placement property.
New value for the Name property.
New value for the Velocity property.
New value for the NodeVariation property.
New list of nodes.
Protected
propertyProtected
This method emits the property changed event for the provided property name.
Name of the property that has changed.
Refresh the data of this group and read the attributes from the gateway.
You can use this method to refresh the state of the group in case that you have missed changes, e.g. a simple remote control may change the state of the group and you won't receive an event for it.
Sets the variation of the group to a new value.
New value for the variation of the group.
Sets the target position for all products of the group
New target position value in percent.
The velocity with which the scene will be run.
The priority level for the run command.
The command originator for the run command.
The parameter that should be set by this command. MP or FP1-FP16.
Flag if the priority level lock should be used.
Up to 8 priority levels.
Lock time for the priority levels in seconds (multiple of 30 or Infinity).
Returns the session ID of the command.
Sets the target position for all products of the group as raw value.
New target position value as raw value.
The velocity with which the scene will be run.
The priority level for the run command.
The command originator for the run command.
The parameter that should be set by this command. MP or FP1-FP16.
Flag if the priority level lock should be used.
Up to 8 priority levels.
Lock time for the priority levels in seconds (multiple of 30 or Infinity).
Returns the session ID of the command.
Sets the velocity for the group.
New velocity value for the group.
The gateway can hold up to 100 groups. A group is a collection of actuator nodes in conjunction with a name and some other come characteristics.
There are three different group types. House, Room and User defined. There can be only one instance of the group type house. The GroupID = 0 is reserved for the house group. An actuator can only be represented in one room group. So, if an actuator is assigned to a room group it will automatically be removed from another existing room group.
Group