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

Detect Open door via DMSS and RFID #298

Open
flyingpeter opened this issue Aug 21, 2023 · 10 comments
Open

Detect Open door via DMSS and RFID #298

flyingpeter opened this issue Aug 21, 2023 · 10 comments

Comments

@flyingpeter
Copy link

Hi!

first of all congratulations for this repo. I was using the other Hacs repo, that worked great but it was more “manual” then yours. I noticed that the other one detected the door open calls from DMSS or from the RFID reader on the VTO.

Can you add it to home assistant also as a device?

When I open the door via the app or via thw RFID it was supposed to detect in the log. I think it’s number 8.

Is your repo able to do it and I didn’t figure out how?

thanks in advance,

pedro

@lleonardos
Copy link

i can confirm that the RFID value shows in the Event bus for my vto2211g-wp.
but it don´t display as sensor or attribute

@flyingpeter
Copy link
Author

flyingpeter commented Aug 22, 2023 via email

@lleonardos
Copy link

what repo did you use?

@flyingpeter
Copy link
Author

flyingpeter commented Aug 22, 2023 via email

@flyingpeter
Copy link
Author

Hey i got it working like i had before. With event detector. If number 8 it door was unlocked.

1 similar comment
@flyingpeter
Copy link
Author

Hey i got it working like i had before. With event detector. If number 8 it door was unlocked.

@moskovskiy82
Copy link

Hey i got it working like i had before. With event detector. If number 8 it door was unlocked.

Can you share the event code for HA? Not quite sure where to put the status as per the manual beneath

platform: event
event_type: dahua_event_received
event_data:
name: Cam13
Code: BackKeyLight
action: Start

@flyingpeter
Copy link
Author

Like this:
'{{ trigger.event.data.Data.State | int == 8 }}' ?

@moskovskiy82
Copy link

Like this: '{{ trigger.event.data.Data.State | int == 8 }}' ?

It's even easier

#318

@flyingpeter
Copy link
Author

I only understood now what you wanted:

alias: Dahua Opening Sniffer
trigger:

  • platform: event
    event_type: dahua_event_received
    condition: []
    action:
  • choose:
    • conditions: "{{ trigger.event.data.Data.State | int == 8 }}"
      sequence:
      • service: persistent_notification.create
        data:
        title: Dahua VTO
        message: Portão Aberto
      • type: turn_on
        device_id: 41fa0590e3a7a367f
        entity_id: switch.gate_open
        domain: switch
        mode: queued

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

3 participants