Set up the O3 to transmit infrared remote control signals using enteliWEB or MQTT.
To configure the IR blaster using enteliWEB:
- Obtain the remote control codes specific to your appliance brand and model in Pronto hex format (4-digit hexadecimal values separated by spaces). Remote control codes are available online on websites such as remotecentral.com.
- Specify the CSV object (there are 12 default CSV objects per O3) with specific instances as listed in the IR Blaster table, command it to manual mode, then enter the remote control code as the Value property.
- Specify how many times you want to repeat the code in the AV10 object. By default, code is sent once per transmission.
- In the MV9 (Send IR Code) object, command the object value (select one of 12 options available) to the state corresponding to the remote control signal that you want to transmit.
To configure the IR blaster over MQTT:
- Publish the remote control code using the format {"data": "N"} to commands/object/irCode1.
- IR codes range from irCode1 to irCode12.
- "N" is the pronto code string.
For example, the following code:
{"data": "0000 006d 0022 0003 00a9 00a8 0015 003f 0015 003f 0015 003f 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 003f 0015 003f 0015 003f 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 003f 0015 003f 0015 003f 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 0015 003f 0015 003f 0015 003f 0015 003f 0015 003f 0015 0702 00a9 00a8 0015 0015 0015 0e6e"}
can be published to:
commands/object/irCode1
2. To send the IR code, publish:
{"data":N} to commands/object/irPattern
Note: "N" specifies the index of the IR code you want to send. Allowable index values range from 1 to 12. 1 is Idle so the IR code index must start at 2 for irCode1, 3 for irCode2, 4 for irCode3, and so on.
For example,
{"data":2}
To view the number of times IR code is sent per transmission, subscribe to the following topic:
events/object/irRepeat
and read the Present_Value JSON key.
Comments
0 comments
Please sign in to leave a comment.