# Distance sensor reporting on measured distance?

**URL:** https://community.homey.app/t/distance-sensor-reporting-on-measured-distance/110553
**Category:** Devices
**Tags:** homey-pro
**Created:** [May 27, 2024, 10:53am UTC](https://community.homey.app/t/distance-sensor-reporting-on-measured-distance/110553 "2024-05-27T10:53:02Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Esben](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/esben/32/79405_2.png) [@Esben](https://community.homey.app/u/Esben)
#### Post date: [May 27, 2024, 10:53am UTC](https://community.homey.app/t/distance-sensor-reporting-on-measured-distance/110553/1 "2024-05-27T10:53:02Z")

</div>

Hi folks

I am using Homey Pro 2023 to control my JYSK Huglo curtains (RF controlled).

This means Homey only knows the state of the curtains if every curtain interaction happens using Homey - where I am using dedicated curtain variables to know the state.

However, when someone uses the RF remote for the curtains, the state variables no longer match.

The remotes will not be replaced by buttons, so I need to figure out a way of using a sensor to measure whether the curtains are up or down.

A door/window sensor is one way to go, but what I am also wondering is, if there is an small ultrasonic/distance measuring device, which could be used to tell whether the curtain is up (and ideally by how much - by reporting the measured distance).

Do anyone here know of a sensor/device, which could be used to tell whether a curtain is up or down (and ideally by how much)?

---

<div class="post-metadata">

### Author: ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)
#### Post date: [May 27, 2024, 3:04pm UTC](https://community.homey.app/t/distance-sensor-reporting-on-measured-distance/110553/2 "2024-05-27T15:04:31Z")

</div>

What App are you using, does this App not receive signals from the used remote?

---

<div class="post-metadata">

### Author: ![Esben](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/esben/32/79405_2.png) [@Esben](https://community.homey.app/u/Esben)
#### Post date: [May 27, 2024, 3:48pm UTC](https://community.homey.app/t/distance-sensor-reporting-on-measured-distance/110553/3 "2024-05-27T15:48:32Z")

</div>

I am using [Brel App for Homey | Homey](https://homey.app/en-dk/app/com.brel-home.brel/Brel/).

No the app does not receive any signals (just tested it)… But as far as I understand it, Homey Pro 2023 does not have an IR/RF reciever function, which is why this new Homey is unable to learn signals like the old one.

It would be REALLY useful if Homey actually would register the signals from the RF remote in a manner so I could use it.

---

<div class="post-metadata">

### Author: ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)
#### Post date: [May 27, 2024, 3:58pm UTC](https://community.homey.app/t/distance-sensor-reporting-on-measured-distance/110553/4 "2024-05-27T15:58:50Z")

</div>

There is a Test version available for Brel:[Brel App for Homey | Homey](https://homey.app/en-dk/app/com.brel-home.brel/Brel/test/)

1.3.3  
20 nov 2023  
[test](https://homey.app/en-dk/app/com.brel-home.brel/Brel/test) Improved hub discovery process when many hubs/devices are present; expose battery level if available.

Try to pair your Remote, I think it can receive RF signals.

---

<div class="post-metadata">

### Author: ![Esben](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/esben/32/79405_2.png) [@Esben](https://community.homey.app/u/Esben)
#### Post date: [May 27, 2024, 4:07pm UTC](https://community.homey.app/t/distance-sensor-reporting-on-measured-distance/110553/5 "2024-05-27T16:07:17Z")

</div>

I just installed the test-version of the app and tried to pair a previously un-paired remote and it does not receive any signals from the remote.

Using the up/down/pause commands in the app works fine (as I have been using this up until now) in getting Homey to send out the RF signal to the curtains.

But now that I think about it, the app does register me pushing a button on the remote during pairing, so it definitely should be possible to get the RF signal to Homey.

---

<div class="post-metadata">

### Author: ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)
#### Post date: [May 27, 2024, 4:14pm UTC](https://community.homey.app/t/distance-sensor-reporting-on-measured-distance/110553/6 "2024-05-27T16:14:58Z")

</div>

Maybe you should contact the App developer for implementing received signals, succes.

---

<div class="post-metadata">

### Author: ![Esben](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/esben/32/79405_2.png) [@Esben](https://community.homey.app/u/Esben)
#### Post date: [May 27, 2024, 4:40pm UTC](https://community.homey.app/t/distance-sensor-reporting-on-measured-distance/110553/7 "2024-05-27T16:40:05Z")

</div>

I am not betting on it since it has been a long time since the last update, so would rather go for another fix. But thanks for the suggestion.

I guess what would be really awesome, is if would be possible to build your own Homey Pro 2023 on-device apps easily using a few building blocks.

Like in my case I can read out the RF signal to listen for using the Developer Tools. Now I just want an app that listens for this specific RF signal which I can use as a trigger/WHEN building block.

---

<div class="post-metadata">

### Author: ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)
#### Post date: [May 27, 2024, 6:02pm UTC](https://community.homey.app/t/distance-sensor-reporting-on-measured-distance/110553/8 "2024-05-27T18:02:43Z")

</div>

Here’s a very complete how-to-build-my-own-rf-app:

> [@RF Custom App: Signal (from signal analyzer) sent but not received](https://community.homey.app/t/rf-custom-app-signal-from-signal-analyzer-sent-but-not-received/96917/17):
>
> For anyone that would be interested in creating an Homey app for their RF device, here is how I processed: have a look at this: [Tuto](https://apps.developer.homey.app/the-basics/getting-started) (Vidéo are helpful) Then use the [Homey Developper Tool](https://tools.developer.homey.app/tools/signals) to register a button of your remote. Then you can use [this tool](http://htmlpreview.github.io/?https://github.com/harriedegroot/Athom-Homey-RF-Signal-Analyzer/blob/master/index.html) made by someone here to make a first analysis of the signal. The goal is to identify the header, the trailer, and the data in the middle, and to compute an average signal (because of noise, each register session will result in a slightly dif…
