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

Sub-GHz: Nexus-TH weather station protocol improvements on detection #256

Merged
merged 2 commits into from
Oct 12, 2024

Conversation

m7i-org
Copy link
Contributor

@m7i-org m7i-org commented Oct 10, 2024

What's new

Added detection improvements for Nexus-TH as in https://github.com/merbanan/rtl_433/blob/00bd97c63a58083d2a79ccb7089786ff9d0fda2e/src/devices/nexus.c#L63-L78 :

  • If hum==0% there's no humidity sensor, so don't overwrite to 20%
  • If the Rubicson check matches, then it's probably not a Nexus-TH
  • Check temp range beween -50C and 100C

I haven't found the time of looking into changing the display name (rtl_433 calls the sensor a Nexus-T if there's no humidity), but I think this is good enough.


For the reviewer

  • I've uploaded the firmware with this patch to a device and verified its functionality
  • I've confirmed the bug to be fixed / feature to be stable

Added detection improvements for Nexus-TH as in https://github.com/merbanan/rtl_433/blob/00bd97c63a58083d2a79ccb7089786ff9d0fda2e/src/devices/nexus.c#L63-L78 :
 - If hum==0% there's no humidity sensor, so don't overwrite to 20%
 - If the Rubicson check matches, then it's probably not a Nexus-TH
 - Check temp range beween -50C and 100C
@m7i-org
Copy link
Contributor Author

m7i-org commented Oct 10, 2024

@htotoo your .sub-generator is linked in the source, I imagine you might have something to say about the changes?

@Willy-JL Willy-JL added the enhancement New enhancement or request label Oct 11, 2024
@Willy-JL Willy-JL changed the title Nexus-TH improvements on detection Sub-GHz: Nexus-TH weather station protocol improvements on detection Oct 11, 2024
@Willy-JL Willy-JL merged commit 925481f into Next-Flip:dev Oct 12, 2024
2 checks passed
@m7i-org m7i-org deleted the fix/nexus-T branch October 13, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New enhancement or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants