Creates an instance of Product. You shouldn't create instances of the [[Product]] class by yourself. Instead, use the [[Products]] class to read all installed products from the KLF-200.
The connection object that handles the communication to the KLF interface.
Notification frame that is used to set the properties of the Product class instance.
Readonly
ConnectionThe connection object that handles the communication to the KLF interface.
Readonly
NodeIDNodeID is an Actuator index in the system table, to get information from. It must be a value from 0 to 199.
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.
String representation of the TypeID and SubType.
The current position of the product in percent.
The value is derived from the raw value and depending on the type ID it is inverted, so that 100% means e.g. window is fully open, roller shutter is fully closed, light is at full power etc.
Raw value of the current position of the product.
Raw value of the current position of the functional paramter 1.
Raw value of the current position of the functional paramter 2.
Raw value of the current position of the functional paramter 3.
Raw value of the current position of the functional paramter 4.
A read only array of the raw limitations' max values.
A read only array of the raw limitations' min values.
A read only array of the limitation originators.
A read only array of the limitation time raw values.
Name of the product.
Defines the variation of a product.
The order in which the products should be displayed by a client application.
The placement of the product. Either a house index or a room index number.
The power mode of the node.
Contains the position values to move the product to a special position. The special position is defined by the alias value.
E.g. for a window the alias ID for secured ventilation if 0xD803. To move a product into secured ventilation position you have to read the value of the alias for the alias ID 0xD803 and set the raw target position to that value. Different types of windows may return different raw positions.
Type of the product, eg. KMG, KMX.
Remaining time in seconds to reach the desired target position.
The serial number of the product.
Current operating state of the product.
Additional status information, e.g. that opening a window is overruled by the rain sensor.
Details the node type and depends on the TypeID property.
The target position in percent.
Raw value of the target value for the position of the product.
Timestamp of the last change to any of the properties.
Indicates the node type, ex. Window, Roller shutter, Light etc.
Clears the limitation for the parameter.
Parameter for which the limitation should be set.
Command Originator.
Priority Level.
Promise
Readonly
The maximum value of a limitation of the product.
Parameter for which the limitation should be returned.
Readonly
The maximum value (raw) of a limitation of the product.
Parameter for which the limitation should be returned.
Readonly
The minimum value of a limitation of the product.
Parameter for which the limitation should be returned.
Readonly
The minimum value (raw) of a limitation of the product.
Parameter for which the limitation should be returned.
Returns the limitation originator for a functional parameter. You have to call refreshLimitationAsync to get the latest values first.
Paramter for which the limitation originator should be returned.
The limitation originator.
Returns the limitation time in seconds for a functional parameter. You have to call refreshLimitationAsync to get the latest values first.
Parameter for which the limitation time should be returned.
The limitation time in seconds or Infinity.
Returns the raw value of the limitation time for a functional parameter. You have to call refreshLimitationAsync to get the latest values first.
Parameter for which the limitation time raw value should be returned.
The raw limitation time value.
Returns a tuple of min and max values for the limitation of the provided parameter.
Parameter for which the limitations should be returned.
A tuple of the min and max values as percentage in the range [0, 1]. The first value of the tuple corresponds always to the min raw value and the second value corresponds always to the max raw value.
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 product and read the attributes from the gateway.
This method re-reads the data from the KLF-200. If the product hasn't sent its recent data to the KLF-200, call Products.requestStatusAsync first.
Refreshes the limitation data for the provided limitation type of a parameter.
The limitation type for which the data should be refreshed.
Parameter for which the limitation should be refreshed.
Promise
Sets a new limitation.
Min value of the limitation in the range [0, 1].
Max value of the limitation in the range [0, 1].
Parameter for which the limitation should be set.
Limitation time in seconds. Must be a multiple of 30.
Command Originator.
Priority Level.
Promise
Sets a new limitation with raw values.
Raw min value of the limitation.
Raw max value of the limitation.
Parameter for which the limitation should be set.
Limitation time.
Command Originator.
Priority Level.
Promise
Sets the variation of a product to a new value.
New value for the variation of the product.
Sets the product to a new position in percent.
New position value in percent.
The priority level for the run command.
The command originator for the run command.
The parameter that should be returned in the notifications. MP or FP1-FP16.
Additional functional paramters can be set during the command.
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).
Sets the product to a new position as raw value.
New position value as raw value.
The priority level for the run command.
The command originator for the run command.
The parameter that should be returned in the notifications. MP or FP1-FP16.
Additional functional paramters can be set during the command.
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).
Stops the product at the current position.
The priority level for the run command.
The command originator for the run command.
The parameter that should be returned in the notifications. MP or FP1-FP16.
Additional functional paramters can be set during the command.
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).
Let the product "wink". Its main intention is to identify a product.
Winking depends on the product, e.g. a window moves the handle a little bit.
If false wink will be stopped.
Wink time in seconds (up to 253) or 254 for manufactor defined or 255 for infinite time.
The priority level for the run command.
The command originator for the run command.
Each product that is registered at the KLF-200 interface will be created as an instance of the Product class.
Product