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

DSC Security Not auto discovering Closed #2894

Open
RandalMorris opened this issue Apr 6, 2024 · 0 comments
Open

DSC Security Not auto discovering Closed #2894

RandalMorris opened this issue Apr 6, 2024 · 0 comments

Comments

@RandalMorris
Copy link

RandalMorris commented Apr 6, 2024

I was able to get my DSC sensors to pull vis Auto Discovery, but the only ones that pull is the, battery_ok timestamp and tamper. Is it doable to create a new mapping for closed similar to the tamper mapping? this would save me so much time having to do a manual binary sensor.

Edit: Swapped the payload for closed as I forgot they are reversed

"closed": {
    "device_type": "binary_sensor",
    "object_suffix": "closed",
    "config": {
        "device_class": "safety",
        "force_update": "true",
        "payload_on": "0",
        "payload_off": "1"
    }
},

Below is the reference from the rtl_433_mqtt_hass.py and a output of what the same level of output gives me in Mqtt explorer.

"tamper": {
    "device_type": "binary_sensor",
    "object_suffix": "tamper",
    "config": {
        "device_class": "safety",
        "force_update": "true",
        "payload_on": "1",
        "payload_off": "0"
    }
},

id = 2681681
closed = 0
event = 1
tamper = 0
battery_ok = 1
xactivity = 1
xtamper1 = 0
xtamper2 = 0
exception = 0
esn = 28eb51
status = 161
status_hex = a1
mic = CRC

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

1 participant