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

Door / window contact naming convention not uniform #1565

Open
ai-xyz opened this issue Nov 18, 2020 · 2 comments
Open

Door / window contact naming convention not uniform #1565

ai-xyz opened this issue Nov 18, 2020 · 2 comments
Labels
bug There is a defect in the code

Comments

@ai-xyz
Copy link

ai-xyz commented Nov 18, 2020

Hi,

i thought about adding to the rtl_433_mqtt_hass.py the ability to send auto discovery also for door / window contacts. As far as i can see the naming of the state if the contact is open or closed is different for all the sensors:

honeywell.c -> contact_open
dsc.c-> closed
kerui.c -> opened
simplisafe.c -> state
interlogix.c -> switch1 (i guess)

Is this somehow intended because some sensors are sending additional data or could we add there a naming convention in order to homgenize this type of devices and add the possibility for auto discovery?

@zuckschwerdt
Copy link
Collaborator

It's just that so far nobody came forward with a general scheme. There are some quirks to consider with each different device. I guess most users integrating these are interested in a specific sensor only.

@gdt gdt added the bug There is a defect in the code label Sep 29, 2023
@gdt
Copy link
Collaborator

gdt commented Sep 29, 2023

I'm calling this is a bug; it seems obvious that naming should be regularized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug There is a defect in the code
Projects
None yet
Development

No branches or pull requests

3 participants