ph_insteonrawbcast PowerHome formula function
Description
Allows for the transmission of Insteon Broadcast messages (different from Group Broadcast messages).
Syntax
ph_insteonrawbcast ( ctlr, address, cmd1, cmd2 )
Argument Description
ctlr String. The ID of the Insteon Controller that will send the broadcast message.
address String. A properly formatted Insteon address string consisting of 3 pairs of hex digits separated by periods.
cmd1 Integer. The CMD1 value to send. An integer from 0 to 255.
cmd2 Integer. The CMD2 value to send. An integer from 0 to 255.
Return value
Integer. Returns a 0 if successful. -1 is returned if the controller is not available, -2 is returned if the controller does not support Insteon.
Usage
Use this funciton to send Insteon broadcast messages. This type of message is used by the SimpleHomeNet range of devices and allows PowerHome to send the same type of message.