# IR command from scan doesn't work when stored as a device command signal

**URL:** https://forum.bondhome.io/t/ir-command-from-scan-doesnt-work-when-stored-as-a-device-command-signal/2911
**Category:** Uncategorized
**Created:** [December 19, 2021, 6:56am UTC](https://forum.bondhome.io/t/ir-command-from-scan-doesnt-work-when-stored-as-a-device-command-signal/2911 "2021-12-19T06:56:05Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![prv](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/prv/32/664_2.png) [@prv](https://forum.bondhome.io/u/prv)
#### Post date: [December 19, 2021, 6:56am UTC](https://forum.bondhome.io/t/ir-command-from-scan-doesnt-work-when-stored-as-a-device-command-signal/2911/1 "2021-12-19T06:56:05Z")

</div>

(Note: this is all using the API on a Bond Home running firmware v2.15.8.1)

I’m using a scan to capture an IR command:

```auto
curl [...]/v2/signal/scan -d {
                "freq": 38,
                "modulation": "OOK"
        }

```

The result of the scan looks like:

```auto
{"freq":38,"bps":40000,"reps":1,"modulation":"OOK","encoding":"hex","data":"...."}

```

I’m able to replay this using signal/tx,

```auto
curl [...]/v2/signal/tx -d {"use_scan": true}

```

I then stored this as a signal (with “use\_scan”: true), and it is used corrrectly:

```auto
curl [...]/v2/devices/4af352fb/commands/67b74616/signal
{
"use_scan": true,
"freq": 38,
"bps": 40000,
"reps": 1,
"modulation": "OOK",
"encoding": "hex",
"data": [...]
}

```

It matches the scan result. However, when I try to send the signal using /v2/devices/{device}/commands/{command}/tx it returns a 204 (expected I think), but the command doesn’t seem to be sent (unlike signal/tx, I don’t see the command do anything).

I’m not sure if I’m using the device commands incorrectly, or if there’s some bug.

---

<div class="post-metadata">

### Author: ![residualimages](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/residualimages/32/74_2.png) [@residualimages](https://forum.bondhome.io/u/residualimages)
#### Post date: [December 20, 2021, 5:51pm UTC](https://forum.bondhome.io/t/ir-command-from-scan-doesnt-work-when-stored-as-a-device-command-signal/2911/2 "2021-12-20T17:51:50Z")

</div>

Two things:

1. have you attempted to set up a new device + do the IR scan and save _through the Bond app_ in Advanced mode (vs using the API)?
2. when you call the TX endpoint, does the Bond Bridge blink its blue LEDs?

---

<div class="post-metadata">

### Author: ![prv](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/prv/32/664_2.png) [@prv](https://forum.bondhome.io/u/prv)
#### Post date: [December 20, 2021, 8:34pm UTC](https://forum.bondhome.io/t/ir-command-from-scan-doesnt-work-when-stored-as-a-device-command-signal/2911/3 "2021-12-20T20:34:08Z")

</div>

(1) I’m not able to do IR scans using the app. By default, it seems to only look for RF, so the IR commands are not detected at all. Advanced mode only has a single “Frequency (mhz)” text box, but the IR signal is 38khz. Just in case, I tried 38, 0.38, 0.038, and none of those work.

(2) When I make the TX call, does Bond Bridge does not blink.

---

<div class="post-metadata">

### Author: ![residualimages](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/residualimages/32/74_2.png) [@residualimages](https://forum.bondhome.io/u/residualimages)
#### Post date: [December 20, 2021, 9:02pm UTC](https://forum.bondhome.io/t/ir-command-from-scan-doesnt-work-when-stored-as-a-device-command-signal/2911/4 "2021-12-20T21:02:08Z")

</div>

(1) when you’re in Advanced Mode you should change Signal Type to IR instead of RF or Auto; once you do that, you should _not_ be able to specify a frequency at all (the option should grey out)

(2) since the Bridge is not blinking, it would appear it is not even _trying_ to send - but I think it MAY have to do with the way you recorded using the API (I’ve not tried that for a long time, even with my IR devices).

---

<div class="post-metadata">

### Author: ![residualimages](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/residualimages/32/74_2.png) [@residualimages](https://forum.bondhome.io/u/residualimages)
#### Post date: [December 20, 2021, 9:04pm UTC](https://forum.bondhome.io/t/ir-command-from-scan-doesnt-work-when-stored-as-a-device-command-signal/2911/5 "2021-12-20T21:04:20Z")

</div>

> [@prv](#):
>
> Advanced mode only has a single “Frequency (mhz)” text box

You are using a Bond Bridge (black hockey puck shaped Bridge), not the Bridge Pro (big white box with Ethernet port), correct? The smaller Bridge / hockey puck is the only model that has IR capabilities.

 ![Screenshot_20211220-150624__01](https://us1.discourse-cdn.com/flex019/uploads/bond1/original/1X/f27375542db9bde172c2263acd094d6ce92eec3c.jpeg)

---

<div class="post-metadata">

### Author: ![prv](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/prv/32/664_2.png) [@prv](https://forum.bondhome.io/u/prv)
#### Post date: [December 20, 2021, 11:19pm UTC](https://forum.bondhome.io/t/ir-command-from-scan-doesnt-work-when-stored-as-a-device-command-signal/2911/6 "2021-12-20T23:19:07Z")

</div>

Yes, that’s correct, I’m using a Bond Home (black circular puck). On the bottom, it has a model: BD-1000

The IR capabilities definitely exist and work on the device (since I can start IR scan via API, and replay using use\_scan and it works).

---

<div class="post-metadata">

### Author: ![residualimages](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/residualimages/32/74_2.png) [@residualimages](https://forum.bondhome.io/u/residualimages)
#### Post date: [December 21, 2021, 3:09am UTC](https://forum.bondhome.io/t/ir-command-from-scan-doesnt-work-when-stored-as-a-device-command-signal/2911/7 "2021-12-21T03:09:52Z")

</div>

Odd, because my BD-1000s show this in Advanced Settings:

 ![Screenshot_20211220-173213__01](https://us1.discourse-cdn.com/flex019/uploads/bond1/original/1X/a777931675e8a7b2ce2d53ac7188a38af686804e.jpeg)

---

<div class="post-metadata">

### Author: ![prv](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/prv/32/664_2.png) [@prv](https://forum.bondhome.io/u/prv)
#### Post date: [December 22, 2021, 4:57am UTC](https://forum.bondhome.io/t/ir-command-from-scan-doesnt-work-when-stored-as-a-device-command-signal/2911/8 "2021-12-22T04:57:40Z")

</div>

Oh interesting, mine doesn’t display the “Signal type” or the “Search remote database”:

 ![Screenshot_20211220-150857_Bond](https://us1.discourse-cdn.com/flex019/uploads/bond1/original/1X/29dae02ca9102931d383f86e79b6a0e6c3301e9d.jpeg)

When I click the advanced settings, for a brief moment, I see the “Signal type” option, but then it disappears. I’m running firmware version v2.15.8.1, which I think is the latest?

---

<div class="post-metadata">

### Author: ![residualimages](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/residualimages/32/74_2.png) [@residualimages](https://forum.bondhome.io/u/residualimages)
#### Post date: [December 22, 2021, 4:58pm UTC](https://forum.bondhome.io/t/ir-command-from-scan-doesnt-work-when-stored-as-a-device-command-signal/2911/9 "2021-12-22T16:58:34Z")

</div>

I’m in the Beta firmware channel (which you can get to on the main app Settings page - not on the Bridge Advanced Settings).  
2.29.2beta on my Bridge starting with BD serial (1st gen BD-1000) and 2.29.7beta on my Bridge with ZZ serial (2nd gen BD-1000).

It’s stable enough for me personally that you could give it a try and see.  
And/or you could ask via in-app Support Chat if there is a reason why on, firmware 2.15.8.1 and app version x.y.z from iPhone or Android, that you don’t see the Signal Type or Database Lookup options in the Advanced mode of setting up a new device?

(@endy if you stop by here and have a quick explanation, this seems odd to me)

---

<div class="post-metadata">

### Author: ![merck](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/merck/32/1238_2.png) [@merck](https://forum.bondhome.io/u/merck)
#### Post date: [December 28, 2021, 1:16pm UTC](https://forum.bondhome.io/t/ir-command-from-scan-doesnt-work-when-stored-as-a-device-command-signal/2911/10 "2021-12-28T13:16:01Z")

</div>

Ah, I just replied on @prv’s other thread. Same advice applies: use the beta firmware.

---

<div class="post-metadata">

### Author: ![prv](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/prv/32/664_2.png) [@prv](https://forum.bondhome.io/u/prv)
#### Post date: [December 29, 2021, 6:44am UTC](https://forum.bondhome.io/t/ir-command-from-scan-doesnt-work-when-stored-as-a-device-command-signal/2911/11 "2021-12-29T06:44:12Z")

</div>

Thanks for the recommendation, I’ll try out the beta firmware in a couple of weeks (away from my device at the moment).

---

<div class="post-metadata">

### Author: ![prv](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.bondhome.io/prv/32/664_2.png) [@prv](https://forum.bondhome.io/u/prv)
#### Post date: [January 20, 2022, 7:07am UTC](https://forum.bondhome.io/t/ir-command-from-scan-doesnt-work-when-stored-as-a-device-command-signal/2911/12 "2022-01-20T07:07:17Z")

</div>

Just wanted to confirm that updating to the beta firmware resolved my issues, thanks for the help!
