What can we improve?

Documentation

(Edit)

ENO_SetRoomOccupancy

 boolean ENO_SetRoomOccupancy (int $InstanceID, boolean $Occupied) 

Parameters

InstanceID

ID of the Instance of the device to be switched

Occupied

TRUE for on, FALSE for off

Returns

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

Description

Sets the occupancy of the device with the ID InstanceID to the value Occupied.

This function can only be used with EnOcean Thanos instances.

Example

ENO_SetRoomOccupancy(12345, true);