VTO2000A Home Assistant integration

hsmptg

n3wb
Joined
Sep 10, 2020
Messages
6
Reaction score
4
Location
Portugal
Hi
Now that I managed to upgrade my VTO2000A to the last available version (2019-03-05 V4.300.0000000.1.R) I tried to use the eladbar/dahuavto2mqtt docker image to be capable of receiving MQTT messages from certain events generated by my VTO2000A.
But like in the previous firmware's version (4.0) the only events I can receive is the DahuaVTO/VideoMotion/Event:

1599827146417.png

I mainly interested in the call button press event but... I can not get it! :(

The GitHub page of the project says that the supported Models are: VTO1220BW, VTO2111d-WP and VTO3211D-P2-S1 but since with my VTO2000A I receive something maybe it is possible to make it compatible as well.
Any suggestions?
Many thanks!
 
Last edited:

DeadEnd

n3wb
Joined
Nov 16, 2018
Messages
12
Reaction score
9
Location
Kentucky
What topic are you subscribed to?
From that screen shot it looks like you only subscribed to the DahuaVTO/VideoMotion/Event topic... so that is why that is all you see.
If you want to subscribe to anything within DahuaVTO subscribe to DahuaVTO/#.
The wildcard will subscribe to all topics within DahuaVTO parent.

Good Luck.
DeadEnd
 

hsmptg

n3wb
Joined
Sep 10, 2020
Messages
6
Reaction score
4
Location
Portugal
What topic are you subscribed to?
From that screen shot it looks like you only subscribed to the DahuaVTO/VideoMotion/Event topic... so that is why that is all you see.
If you want to subscribe to anything within DahuaVTO subscribe to DahuaVTO/#.
The wildcard will subscribe to all topics within DahuaVTO parent.

Good Luck.
DeadEnd
Well, you are right that looking to the picture I could only get the specific topic I subscribed (DahuaVTO/VideoMotion/Event) but I can assure you that using the DahuaVTO/# (what I did) I never receive the events I would like to.
To be honest, yesterday I received a second event (DahuaVTO/VideoBlind/Event I think) that I did not mentioned, and during today's test I also got (DahuaVTO/SIPRegisterResult/Event) but... that's it, only these three events and not the one related with the press of the call button for instance.

1599850694396.png

Unless... those other events only happens once the SIP connection is established (something that I still did not finished as the Success:false corroborates).

I'll try and post here the results!
Thanks
 

hsmptg

n3wb
Joined
Sep 10, 2020
Messages
6
Reaction score
4
Location
Portugal
Hi
Thanks but I think that just allow me to see the records of the calls:
Code:
records[0].CallType=Outgoing
records[0].CreateTime=1548775116
records[0].EndState=Received
records[0].LocalNumber=8001
records[0].MessageTime=0
records[0].PeerNumber=9901
records[0].PeerType=3rdParty
records[0].RecNo=1
records[0].TalkTime=43
records[1].CallType=Incoming
records[1].CreateTime=1548775182
records[1].EndState=Received
records[1].LocalNumber=8001
records[1].MessageTime=0
records[1].PeerNumber=9901
records[1].PeerType=3rdParty
records[1].RecNo=2
...
records[433].CallType=Outgoing
records[433].CreateTime=1600518366
records[433].EndState=Missed
records[433].LocalNumber=3000
records[433].MessageTime=0
records[433].PeerNumber=9901
records[433].PeerType=VTH
records[433].RecNo=434
records[433].TalkTime=0
I would like a way to know when the button of the VTO2000A is pressed.

But meanwhile, I was able to do that using a SIP server (Asterisk).
Regards
 

lelik

n3wb
Joined
Mar 24, 2021
Messages
2
Reaction score
1
Location
Astana
Yes, it's will allow you to receive events from VTO/VTH (some Dahua Cameras and NVR's will also works) and allow to send any commands like open the lock, etc (some useful links with commands you can found at the end of README).
You can integrate video from VTO using Home Assistant generic camera, example:
Code:
  - platform: generic
    name: Doorbell
    still_image_url: https://192.168.1.110/cgi-bin/snapshot.cgi?channel=1
    stream_source: rtsp:/192.168.1.110:554/cam/realmonitor?channel=1&subtype=0
    username: !secret vto_username
    password: !secret vto_password
    authentication: digest
    verify_ssl: false
How to integrate bi-directional audio I doesn't know yet.
 
Top