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

Is there a way to specify only the protocols we want? Would that help with sensitivity? #137

Open
melyux opened this issue Apr 18, 2024 · 4 comments
Labels
question Further information is requested

Comments

@melyux
Copy link

melyux commented Apr 18, 2024

Current Situation

RTL_433 offers a -R flag to specify the protocol(s) you want to decode. Is there a compile flag we can use with this library to do that too? It's not that I care about it decoding other protocols than my devices, but I'm wondering if that would help with the automatic adjustment of the signal floor (not exactly sure how that works) if it didn't have to consider all my neighbors' devices, just my own.

Logs

N/A

Configuration

N/A

Environment

  • Software: OpenMQTTGateway

Process Supervisor

not applicable

Additional Context

I love you

@melyux melyux added the question Further information is requested label Apr 18, 2024
@DigiH
Copy link
Collaborator

DigiH commented Apr 19, 2024

Hi @melyux

Have you had a look at the MY_DEVICES compile definition option?

While I haven't used it myself for quite a while it was working nicely when I did, and seems to be exactly what you're looking for.

https://github.com/NorthernMan54/rtl_433_ESP?tab=readme-ov-file#compile-definition-options

@NorthernMan54
Copy link
Owner

@melyux PS - Reducing the number of supported devices with the MY_DEVICES option would not change sensitivity, just remove potential false positives from your environment.

The decoder logic, checks all enabled decoders, and returns the results from all. So additional decoders wouldn't stop other decoders from processing the signal.

@melyux
Copy link
Author

melyux commented Apr 19, 2024

@DigiH @NorthernMan54 MY_DEVICES is just a Boolean, right? No way to specify what exact protocols I want?

But good to know that it wouldn't change anything anyone would care about in the first place

@NorthernMan54
Copy link
Owner

@melyux MY_DEVICES is a compiler directive that enables you to specify which decoders to bundle and is in multiple locations within the code base. It is best used to remove false positives from the results. And if this isn't your issue, then it isn't worth the effort

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

No branches or pull requests

3 participants