# \[APP\]\[Pro\] Broadlinkred App

**URL:** https://community.homey.app/t/app-pro-broadlinkred-app/36921
**Category:** Apps
**Created:** [November 4, 2020, 9:36am UTC](https://community.homey.app/t/app-pro-broadlinkred-app/36921 "2020-11-04T09:36:20Z")
**Posts on this page:** 1
**Showing post:** 38

<div class="post-metadata">

### Author: ![Pieterv123](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/pieterv123/32/13353_2.png) [@Pieterv123](https://community.homey.app/u/Pieterv123)
#### Post date: [February 13, 2023, 9:18am UTC](https://community.homey.app/t/app-pro-broadlinkred-app/36921/38 "2023-02-13T09:18:31Z")

</div>

There is not so much to transfer, as I don’t have the app in the app store.  
the code is here:  
[https://github.com/djfanatix/com.broadlinkred](https://github.com/djfanatix/com.broadlinkred)

The original is here:  
[https://github.com/RWensveen/com.broadlink](https://github.com/RWensveen/com.broadlink)

The new devices, _Broadlink red_, need an extra code to be send before the usual code to work.  
I changed this in the file /lib/communicate.js

example:  
Old broadlink device:

```auto
	async enter_learning() {
		var payload = new Uint8Array(16);
		payload[0] = 3;
		await this.send_packet(0x6a, false, payload);
	}

```

New broadlink device:

```auto
	async enter_learning() {
		var payload = new Uint8Array(16);
		payload[0] = 4;
		payload[1] = 0;
		payload[2] = 3;
		await this.send_packet(0x6a, false, payload);
	}

```

For IR this applicable for:

- enter learning
- check IR data
- send IR/RF data

RF I didn’t change, as I don’t have a pro device

---

_[View the full topic](https://community.homey.app/t/app-pro-broadlinkred-app/36921)._
