ph_irdesc PowerHome formula function
Description
Plays the Infrared code associated with the specified Equipment ID and Key Description.
Syntax
ph_irdesc ( id, point )
Argument |
Description |
id
|
The ID of the equipment whose IR you wish to play
|
point
|
The Key Description of the IR you wish to play. If the same Key Description exists for multiple buttons, then only 1 will be played.
|
Return value
Integer. Returns a 1 if an error occurs while retrieving the IR data from the database. Returns a 2 if the ID / KeyDesc cannot be found. Otherwise a 0 is returned.