Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Add support for Generic remotes? #1

Open
thetrueyoshifan opened this issue Sep 1, 2020 · 1 comment
Open

[Request] Add support for Generic remotes? #1

thetrueyoshifan opened this issue Sep 1, 2020 · 1 comment

Comments

@thetrueyoshifan
Copy link

thetrueyoshifan commented Sep 1, 2020

I was wondering if it would be possible for this rtl_433 implementation to support remotes, either as a single-state button or a motion sensor with a threshold. An example of the output from our remotes, via rtl_433:

time : 2020-08-31 19:18:40 model : Generic-Remote House Code: 7771 Command : 8 Tri-State : 0Z1XZZX100X0

For some context, these remotes are designed for an emergency button system. The default wall receivers are seriously limited, and it would be far more useful to integrate into HomeKit, rather than having to mod the wall units they came with.

@NorthernMan54
Copy link
Owner

You should be able to easily tweak the section of code around motion detection and switch it to different portion of the RTL_433 Response. The line that detects motion is here

var value = (data.motion === "true");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants