Homey Community Forum

Learn/send custom IR or RF signals?

I understand you abandoned the idea that your device managing IR / RF can do it really. I did not. I already have a Broadlink, but I don’t see the point to keep several devices consuming energy while they could/should do the same thing.
So thank you for your answer, but please, stop proposing to use Broadlink or Harmony. If I’m here it’s to find a way to get Homey doing the full job, not to reproduce what I already have in place currently.

The Homey is technically able to learn IR / RF on short periods. That’s what is used when you are in Homey developper console. But this API is not available for use in applications (which could for instance listen for signals just after creation and memorize to re-send when triggered. It would listen only in the first second of the configuration).

It seems there is a page about such API here:
https://apps-sdk-v2.developer.athom.com/tutorial-Signals.html
But it sends to a 404 page (deleted page ?)

1 Like

V2 = old

We were just trying to help with the easiest and quickest and practical ideas :grinning_face_with_smiling_eyes::upside_down_face:
That’s mostly requested, no offence.

It seems impossible, doesn’t it?
What makes you think otherwise? Just curious.:wink:

I don’t think otherwise, it’s just not possible with Homey. There are no features available in the SDK that allow IR/RF recording. Besides that, recording signals doesn’t match with how apps have to deal with signals (where they have to declare which signals to listen to, or transmit, up front).

Whoops, Robert. I used / borrowed your comment to make a point to Ezeta :blush:
So fuhgetaboutit :hugs:

1 Like

One thing I don’t understand is that Homey is able to physically capture raw 433Mhz code via the developer control panel with no problem at all… Why can’t it play back the code it’s able to record … ? Surely wouldn’t this be able to be resolved with a software fix to the OS…

Tasmota is able to record and re broadcast 433mhz codes with just a mere 512kb of firmware.

I have a cheap $7 universal learning remote fob attached to the end of my car keys that I use to open up my sliding gate when I get home every day. It’s able to learn thousands of RF remote controls. It just has a cheap little 4mm x 4mm sizes chip inside. It can learn and play back RF codes no prob at all… It probably only has 200kb of firmware in it.

AU $2.23 45% Off | 2020 New Universal Cloning Duplicator Key Fob A Distance Remote Control 433MHZ Clone Fixed Learning Code For Gate Garage Door

I just don’t understand why Homey can’t do what this cheap Chinese universal remote can do ?

Athom told its customers a few years ago that it was a corporate decision for Homey to not have remote learning capabilities. Their reasoning behind this (according to them) was “we think customers will get confused by it” .

They then back flipped a couple of years ago and said they “would’ incorporate learning into the system but they never ended up doing it… (they sort of started doing it with IR) but it’s as good as not existing at all.

Going by their past statements one can only logically conclude that there’s no hardware limitation that’s physically stoping Homey from being to be able to learn / play back RF codes and it should only take a software fix… Why would they say they were going to add it in , if it’s not physically possible…

Both devices don’t learn-and-playback raw codes, they support a specific set of (cheap, often-used) RF tx chips and know how to interpret the data sent by them.

Like you said, I don’t think there’s a technical reason why Homey can’t do this either, there are plenty of open source libraries that can be used to implement support for these chips. It wouldn’t surprise me though that the software handling the existing RF part hasn’t changed much over the years and that the original developer(s) is long gone. Sort of a “wouldn’t dare touch it” situation.

Thanks for the info.

I’m sort of familiar with how RF gear works but I’m still learning…

From my understanding , as you say , all RF devices need an interpretive layer to handle the receiving and transmission side of things as it not just pure binary data that’s being dealt with but also how the RF part is performed during the actual RF transmission of the code … Timing , pulse widths etc etc

I probably could of worded things better in my previous post but in a sense what goes over the air is “sort” of raw data. It contains all the data in it. It just needs to be interpreted, but your technically correct there. The data is only truly “raw” when it’s stored in memory.

Here’s an example of a stored raw code I use to turn on a RF relay that’s connected to one of my out door lights.

AA B0 21 03 08 0168 0410 2A80 28181908190818190819090819081819081908181818181908 55

In the end if all it takes is to just add 200Kb of freely available open source software such as Portisch and incorporate it into the system that can interpret ingoing and outgoing RF transmissions (and also same with IR) then I guess there is no financial or technical hardware excuse for Athom to not do it… They said they would…

Or are they still worried it will “confuse customers”. Lol :joy:

It is possible, they just need to get off their butt . :roll_eyes:

Yes, You’re right, IR is limited with the line of sight. But this is valid for all systems, using IR as a carrier medium. And just because of that there is a interest to have Homey also IR-capable.
Let’s go personal :wink:
I have Homey and i also have a Harmony hub from Logitech. Working quite well together (Homey is “The Boss”)… BUT, i have Harmony in my TV room, Homey is located in workroom. They (rooms) do not “IR” each other. In workroom i have two blandishments:

  1. To automate a old Kenwood VRS-N8100 (as this is connected as Room-2 to TV-rooms receiver, then just cards to switch on/off and set input are required
  2. To use a old/cheap IR control to start some flows

So, the point 1 - yeah, may-be another Harmony, which one may be more expensive than the old Kenwood… or just to teach to Homey ~4 commands to send (yes, they sitting together, around 30cm away)

Point 2 - also solvable with “Z-bee” switches/controllers, costing… for 21 buttons ~100…200€ instead of already have IR remote.

Just for info, on my Homey model 2016 (v1) I can teach custom ir-remote buttons, but only when it’s enabled in the Apps ‘Experiments’ settings.

That (looks like) it works, and you can send that signal using a a flow card. But none of my devices respond to any copied signal.
Early 2019 non-pro

You’r right, same here, to bad… :frowning:

Unfortunately if it can’t play back learnt codes it renders the feature useless.