« Back to Product

Documentation

ENO_SetIntensity

 boolean ENO_SetIntensity (int $InstanceID, boolean $Status, int $Intensity) 

Parameters

InstanceID

ID of the device to be switched

Status

TRUE for On, FALSE for Off

Intensity

1..20, 1 = 5%, 20 = 100%

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Dims the device with ID InstanceID to value Intensity. The value Status indicates whether the device is to be switched on/ off.

Warning

Since the EnOcean system is unidirectional, can not be determined whether the command was successful. Error messages are only sent when an internal system error occurred (for example, if the interface is not connected).

Warning

The EnOcean protocol does not provide dimming. The Opus dimmer is controlled by a “Trick” over a time function, so that the result of the brightness can vary a little depending on the operation. The percentages are only approximate and no linear increase in brightness will be accepted.

Warning

This function can only be used with the Opus dimmer instance.

Example

ENO_SetIntensity(12345, true, 10); //Device dimmed to about 50%
Any questions?