I need help with configure Openhab to send IR signal back to turn AC on/off and set up Rules for it to run on schedule after. - through a Broadlink devices RM4
Ubuntu 20.04.2 LTS (GNU/Linux 4.4.0-19041-Microsoft x86_64) as terminal
Issue of the topic: Configure Openhab to send recorded IR signal through broadlink-mqtt scripts for turn on/off AC in schedule
I have 2 recorded IR signal for Power on/Power off as text files . Mosquitto Broker online through binding and Generic Mqtt thing online in OH3. Dont know how to link the signal files to the topic
Any help is very appreciated !
You can link an item to the command channel of the broadlink thing and use a .map file which you link in the profile settings.
Then when, i.e. putting the item to “ON” it will use the map file to convert that to the IR signal and send it with the command channel to the broadlink device.
Where do you put the broadlink.map file ? is it in openhab/conf/maps or /conf/items
The Rule picture you have “Edit script” at the top right, which one is it ?
I’m kinda struggling quite a bit. This is what i did, is it correct ? I dont know Javascript so if you can example the script part for my case, it would help a lot !