-
Notifications
You must be signed in to change notification settings - Fork 14
Recording
To send a command we first need to record it. Browse to the web gui.
First write a topic. This is for identifier.
Example 1 on/off switch: broadlink/switches/button1
Example 2 heater: broadlink/heater/livingroom/mode
This is the action we want to send.
Example 1: on | off
Example 2: heat | cool | dry | fan
Select the broadlink device that should record the IR/RF signal. In the list of devices you can use the 'select' button or copy/paste the id to the input field.
Press the 'Record IR | RF' button to begin. A helper at the gui top will instruct on what to do. With a IR signal you should press the button until it's recorded.
When running RF first hold the RF button, then release it and at last click the button again.
All send commands will be suspended when recording to make sure no faulty commands are recorded.
In the gui you have the option to "Block Play". This will block all send commands until button is pressed again. When recording and replaying commands to validate that everything works, you can block all other commands to minimize errors.
Each topic will be an own state. Look at the examples.
The button with topic broadlink/switches/button1 will have the on/off state. So with the same topic we set message to 'off' and record the off command. Change message to 'on' and record the on command.
Now we can send rf/ir signals broadlink/switches/button1 with the action on/off.
The heatpump has more than an on/off state. So we need to split the topics into groups that has the functionality state. This heater have power, different modes and temperature.
Topic: broadlink/heater/livingroom/mode Message:
- auto
- cool
- dry
- fan
- heat
Topic: broadlink/heater/livingroom/power Message:
- on
- off
Topic: broadlink/heater/livingroom/temperature Message:
- ..
- 18
- 19
- 20
- 21
- 22
- ..