elad-bar/DahuaVTO2MQTT

Door sensor for sliding gate, alarm if door is opened more than x minutes.

Opened this issue · 1 comments

Hi, sometimes people in my house forget to close the sliding gate,
and i'd like to sound alarm whenever gate is open more than x minutes.
Is this possible? I've tested with my dahua VTO2202F-P-S2, paired with door sensor (NC)
while it does send warning to my phone through dmss app, ("door contact" warning).
It doesn't sound any alarm to my phone (only notification sound) and it's not looping
Also i didn't buy their VTH, cause the thing is, i'm using my own windows based viewing station,
and i hope i could also sound alarm from there so that people in my house could be warned if the gate is not closed..

Hi,

Since I don't have contact sensor attached to my unit, I cannot tell you how to use it, but I guess if there is an event, you just need to subscribe to it,
My suggestion is to use an MQTT explorer app and subscribe to DahuaVTO/# (all topics under the main topic),
Once the contact sensor is triggered, you should see the additional topic related to it,
Please let me know if it worked for you

Thanks