Dahua VTO to MQTT Broker

i downloaded the latest version through hacs.But now last ring is one hour ahead,could you check, please? when i push te button of the bell now the binary sensor turn on but he don’t return to off

Fixed that issue

Hi,
HA reports the error:

“Failed to update VTO talk log, Error: ‘NoneType’ object is not iterable, Line: 180”

I have a VTO2000a

Thanks

ok the time of “last ring” is correct now.But when i push the bell button the binary_sensor .xxxxxx_ring don’t mark ON but is steadly OFF

Ok just installed it. Sensor communicated with VTO (VTO2111D) and get all data but when i ring the bell Dahua VTO Ring does not get to state ON.

What is the date / time of the last ring?

Last Ring

2020-02-15T00:24:01

Last Update

2020-02-16T09:26:16.792295

CallType

Outgoing

CreateTime

1581726241

EndState

Missed

Is the last ring right? What is your TZ?

What you mean by TZ?

Sorry got it TZ= Time zone

GMT +2 (Greece)

DAHUA VTO RING
appAutoStart

true

deviceType

VTO2111D

hardwareVersion

1.00

processor

dm365

serialNumber

3L07F03PAN00167

updateSerial

VTO2111D

updateSerialCloudUpgrade

VTO2111D:0:4:1:1d:5:0:1:9:3:3:0:1B0:0:2:0:0:0:0:0

Last Ring

2020-02-15T00:24:01

Last Update

2020-02-16T09:50:45.015434

CallType

Outgoing

CreateTime

1581726241

EndState

Missed

PeerNumber

9901

RecNo

97

TalkTime

0

CreateDateTime

2020-02-15T02:24:01

CreatedDate

2020-02-15T00:24:01

DAHUA VTO Available

true

deviceType

VTO2111D

hardwareVersion

1.00

processor

dm365

serialNumber

3L07F03PAN00167

updateSerial

VTO2111D

updateSerialCloudUpgrade

VTO2111D:0:4:1:1d:5:0:1:9:3:3:0:1B0:0:2:0:0:0:0:0

Last Ring

2020-02-15T00:24:01

Last Update

2020-02-16T09:51:20.919407

CallType

Outgoing

CreateTime

1581726241

EndState

Missed

PeerNumber

9901

RecNo

97

TalkTime

0

CreateDateTime

2020-02-15T02:24:01

CreatedDate

2020-02-15T00:24:01

Thanks for all details, according to the sensors, last ring was at 2020-02-15T00:24:01, do you remember when was the last time it rang?
If not, can you check it by calling from the intercom and check what is the time difference between the VTO and the HA?

Thanks

Hello i ring the bell 18:28 today.

Dahua VTO Available

1 minute ago

On

Dahua VTO Available

  • On February 17, 2020, 11:18 AM February 17, 2020, 6:35 PM

appAutoStart

true

deviceType

VTO2111D

hardwareVersion

1.00

processor

dm365

serialNumber

3L07F03PAN00167

updateSerial

VTO2111D

updateSerialCloudUpgrade

VTO2111D:0:4:1:1d:5:0:1:9:3:3:0:1B0:0:2:0:0:0:0:0

Last Ring

2020-02-17T18:28:00

Last Update

2020-02-17T18:37:23.236671

CallType

Outgoing

CreateTime

1581964080

EndState

Missed

PeerNumber

9901

RecNo

98

TalkTime

0

DAHUA VTO RING

appAutoStart

true

deviceType

VTO2111D

hardwareVersion

1.00

processor

dm365

serialNumber

3L07F03PAN00167

updateSerial

VTO2111D

updateSerialCloudUpgrade

VTO2111D:0:4:1:1d:5:0:1:9:3:3:0:1B0:0:2:0:0:0:0:0

Last Ring

2020-02-17T18:28:00

Last Update

2020-02-17T18:38:28.233666

CallType

Outgoing

CreateTime

1581964080

EndState

Missed

PeerNumber

9901

RecNo

98

TalkTime

0

CreateDateTime

2020-02-17T20:28:00

CreatedDate

2020-02-17T18:28:00

My comments

  1. Ring time on both seems to be correct and the same 18.28.
  2. On VTO RING there is this line that seems strange:
    CreateDateTime
    2020-02-17T20:28:00
    It is exactly 2 hours after last ring !!!
  3. Also i want to note that on the doorbell i have also a VTH1550CH attached and declared into the config of the VTO. The VTO allows only one VTH to communicate with it. So if your integrations is immitating a VTH then this might be the issue.

Let me know if i can do something to help you troubleshoot

Also another question. Would it be possible in the future to be able to listen to the live audio and talk also over Hassio (2way talk)?

On both components the time is being taken from the same value, if it’s the same maybe I will need debug logs to understand the issue, can you please provide it?
Can you please also provide me the data from the following URL:
http://USERNAME:PASSWORD@IP/cgi-bin/recordFinder.cgi?action=find&name=VideoTalkLog

Need to replace USERNAME, PASSWORD and IP with the real one…

need to check it

I have also that unit (v2 just received it a week ago), it works in parallel since the integration is HTTP request to the unit every 10 seconds to check for last call over the 30 last seconds,
it has nothing to do with the way the VTH communicate with VTO.

you can connect to the VTO unit multiple devices not just 1 VTH, meaning that you can create SIP integration with the unit to get 2 way voice, currently I didn’t plan to do that, nor have the time…

Please find the output of the url you asked me to run:
records[0].CallType=Outgoing
records[0].CreateTime=1550951782
records[0].EndState=Missed
records[0].PeerNumber=9901
records[0].RecNo=1
records[0].TalkTime=0
records[1].CallType=Outgoing
records[1].CreateTime=1550965867
records[1].EndState=Received
records[1].PeerNumber=9901
records[1].RecNo=2
records[1].TalkTime=36
records[2].CallType=Outgoing
records[2].CreateTime=1551083649
records[2].EndState=Missed
records[2].PeerNumber=9901
records[2].RecNo=3
records[2].TalkTime=0
records[3].CallType=Outgoing
records[3].CreateTime=1551257310
records[3].EndState=Missed
records[3].PeerNumber=9901
records[3].RecNo=4
records[3].TalkTime=0
records[4].CallType=Outgoing
records[4].CreateTime=1551429832
records[4].EndState=Missed
records[4].PeerNumber=9901
records[4].RecNo=5
records[4].TalkTime=0
records[5].CallType=Outgoing
records[5].CreateTime=1551429862
records[5].EndState=Received
records[5].PeerNumber=9901
records[5].RecNo=6
records[5].TalkTime=122
records[6].CallType=Outgoing
records[6].CreateTime=1551546758
records[6].EndState=Received
records[6].PeerNumber=9901
records[6].RecNo=7
records[6].TalkTime=121
records[7].CallType=Outgoing
records[7].CreateTime=1551692955
records[7].EndState=Missed
records[7].PeerNumber=9901
records[7].RecNo=8
records[7].TalkTime=0
records[8].CallType=Outgoing
records[8].CreateTime=1551776898
records[8].EndState=Missed
records[8].PeerNumber=9901
records[8].RecNo=9
records[8].TalkTime=0
records[9].CallType=Outgoing
records[9].CreateTime=1551777050
records[9].EndState=Missed
records[9].PeerNumber=9901
records[9].RecNo=10
records[9].TalkTime=0
records[10].CallType=Outgoing
records[10].CreateTime=1551860216
records[10].EndState=Received
records[10].PeerNumber=9901
records[10].RecNo=11
records[10].TalkTime=21
records[11].CallType=Outgoing
records[11].CreateTime=1551958560
records[11].EndState=Missed
records[11].PeerNumber=9901
records[11].RecNo=12
records[11].TalkTime=0
records[12].CallType=Outgoing
records[12].CreateTime=1553034293
records[12].EndState=Missed
records[12].PeerNumber=9901
records[12].RecNo=13
records[12].TalkTime=0
records[13].CallType=Outgoing
records[13].CreateTime=1553262567
records[13].EndState=Missed
records[13].PeerNumber=9901
records[13].RecNo=14
records[13].TalkTime=0
records[14].CallType=Outgoing
records[14].CreateTime=1553266085
records[14].EndState=Received
records[14].PeerNumber=9901
records[14].RecNo=15
records[14].TalkTime=121
records[15].CallType=Outgoing
records[15].CreateTime=1553517664
records[15].EndState=Received
records[15].PeerNumber=9901
records[15].RecNo=16
records[15].TalkTime=121
records[16].CallType=Outgoing
records[16].CreateTime=1553763041
records[16].EndState=Missed
records[16].PeerNumber=9901
records[16].RecNo=17
records[16].TalkTime=0
records[17].CallType=Outgoing
records[17].CreateTime=1553952952
records[17].EndState=Missed
records[17].PeerNumber=9901
records[17].RecNo=18
records[17].TalkTime=0
records[18].CallType=Outgoing
records[18].CreateTime=1553956916
records[18].EndState=Received
records[18].PeerNumber=9901
records[18].RecNo=19
records[18].TalkTime=121
records[19].CallType=Outgoing
records[19].CreateTime=1554033716
records[19].EndState=Missed
records[19].PeerNumber=9901
records[19].RecNo=20
records[19].TalkTime=0
records[20].CallType=Outgoing
records[20].CreateTime=1554048023
records[20].EndState=Missed
records[20].PeerNumber=9901
records[20].RecNo=21
records[20].TalkTime=0
records[21].CallType=Outgoing
records[21].CreateTime=1554126031
records[21].EndState=Missed
records[21].PeerNumber=9901
records[21].RecNo=22
records[21].TalkTime=0
records[22].CallType=Outgoing
records[22].CreateTime=1554376859
records[22].EndState=Missed
records[22].PeerNumber=9901
records[22].RecNo=23
records[22].TalkTime=0
records[23].CallType=Outgoing
records[23].CreateTime=1555408152
records[23].EndState=Missed
records[23].PeerNumber=9901
records[23].RecNo=24
records[23].TalkTime=0
records[24].CallType=Outgoing
records[24].CreateTime=1555517913
records[24].EndState=Missed
records[24].PeerNumber=9901
records[24].RecNo=25
records[24].TalkTime=0
records[25].CallType=Outgoing
records[25].CreateTime=1555536583
records[25].EndState=Missed
records[25].PeerNumber=9901
records[25].RecNo=26
records[25].TalkTime=0
records[26].CallType=Outgoing
records[26].CreateTime=1555757923
records[26].EndState=Missed
records[26].PeerNumber=9901
records[26].RecNo=27
records[26].TalkTime=0
records[27].CallType=Outgoing
records[27].CreateTime=1555771936
records[27].EndState=Missed
records[27].PeerNumber=9901
records[27].RecNo=28
records[27].TalkTime=0
records[28].CallType=Outgoing
records[28].CreateTime=1555885520
records[28].EndState=Missed
records[28].PeerNumber=9901
records[28].RecNo=29
records[28].TalkTime=0
records[29].CallType=Outgoing
records[29].CreateTime=1556569099
records[29].EndState=Missed
records[29].PeerNumber=9901
records[29].RecNo=30
records[29].TalkTime=0
records[30].CallType=Outgoing
records[30].CreateTime=1557171998
records[30].EndState=Missed
records[30].PeerNumber=9901
records[30].RecNo=31
records[30].TalkTime=0
records[31].CallType=Outgoing
records[31].CreateTime=1557321805
records[31].EndState=Missed
records[31].PeerNumber=9901
records[31].RecNo=32
records[31].TalkTime=0
records[32].CallType=Outgoing
records[32].CreateTime=1557505905
records[32].EndState=Received
records[32].PeerNumber=9901
records[32].RecNo=33
records[32].TalkTime=90
records[33].CallType=Outgoing
records[33].CreateTime=1557553720
records[33].EndState=Received
records[33].PeerNumber=9901
records[33].RecNo=34
records[33].TalkTime=121
records[34].CallType=Outgoing
records[34].CreateTime=1557907915
records[34].EndState=Missed
records[34].PeerNumber=9901
records[34].RecNo=35
records[34].TalkTime=0
records[35].CallType=Outgoing
records[35].CreateTime=1557922363
records[35].EndState=Missed
records[35].PeerNumber=9901
records[35].RecNo=36
records[35].TalkTime=0
records[36].CallType=Outgoing
records[36].CreateTime=1558132785
records[36].EndState=Missed
records[36].PeerNumber=9901
records[36].RecNo=37
records[36].TalkTime=0
records[37].CallType=Outgoing
records[37].CreateTime=1558366679
records[37].EndState=Missed
records[37].PeerNumber=9901
records[37].RecNo=38
records[37].TalkTime=0
records[38].CallType=Outgoing
records[38].CreateTime=1558730698
records[38].EndState=Missed
records[38].PeerNumber=9901
records[38].RecNo=39
records[38].TalkTime=0
records[39].CallType=Outgoing
records[39].CreateTime=1559256899
records[39].EndState=Received
records[39].PeerNumber=9901
records[39].RecNo=40
records[39].TalkTime=36
records[40].CallType=Outgoing
records[40].CreateTime=1559893839
records[40].EndState=Missed
records[40].PeerNumber=9901
records[40].RecNo=41
records[40].TalkTime=0
records[41].CallType=Outgoing
records[41].CreateTime=1560031673
records[41].EndState=Received
records[41].PeerNumber=9901
records[41].RecNo=42
records[41].TalkTime=120
records[42].CallType=Outgoing
records[42].CreateTime=1560195647
records[42].EndState=Missed
records[42].PeerNumber=9901
records[42].RecNo=43
records[42].TalkTime=0
records[43].CallType=Outgoing
records[43].CreateTime=1560545343
records[43].EndState=Missed
records[43].PeerNumber=9901
records[43].RecNo=44
records[43].TalkTime=0
records[44].CallType=Outgoing
records[44].CreateTime=1560794562
records[44].EndState=Missed
records[44].PeerNumber=9901
records[44].RecNo=45
records[44].TalkTime=0
records[45].CallType=Outgoing
records[45].CreateTime=1560930841
records[45].EndState=Missed
records[45].PeerNumber=9901
records[45].RecNo=46
records[45].TalkTime=0
records[46].CallType=Outgoing
records[46].CreateTime=1561490453
records[46].EndState=Missed
records[46].PeerNumber=9901
records[46].RecNo=47
records[46].TalkTime=0
records[47].CallType=Outgoing
records[47].CreateTime=1561814315
records[47].EndState=Missed
records[47].PeerNumber=9901
records[47].RecNo=48
records[47].TalkTime=0
records[48].CallType=Outgoing
records[48].CreateTime=1561818313
records[48].EndState=Missed
records[48].PeerNumber=9901
records[48].RecNo=49
records[48].TalkTime=0
records[49].CallType=Outgoing
records[49].CreateTime=1561819303
records[49].EndState=Missed
records[49].PeerNumber=9901
records[49].RecNo=50
records[49].TalkTime=0
records[50].CallType=Outgoing
records[50].CreateTime=1561915843
records[50].EndState=Missed
records[50].PeerNumber=9901
records[50].RecNo=51
records[50].TalkTime=0
records[51].CallType=Outgoing
records[51].CreateTime=1562312041
records[51].EndState=Missed
records[51].PeerNumber=9901
records[51].RecNo=52
records[51].TalkTime=0
records[52].CallType=Outgoing
records[52].CreateTime=1562417850
records[52].EndState=Missed
records[52].PeerNumber=9901
records[52].RecNo=53
records[52].TalkTime=0
records[53].CallType=Outgoing
records[53].CreateTime=1562615011
records[53].EndState=Missed
records[53].PeerNumber=9901
records[53].RecNo=54
records[53].TalkTime=0
records[54].CallType=Outgoing
records[54].CreateTime=1562871504
records[54].EndState=Missed
records[54].PeerNumber=9901
records[54].RecNo=55
records[54].TalkTime=0
records[55].CallType=Outgoing
records[55].CreateTime=1580040242
records[55].EndState=Missed
records[55].PeerNumber=9901
records[55].RecNo=56
records[55].TalkTime=0
records[56].CallType=Outgoing
records[56].CreateTime=1580040249
records[56].EndState=Missed
records[56].PeerNumber=9901
records[56].RecNo=57
records[56].TalkTime=0
records[57].CallType=Outgoing
records[57].CreateTime=1580051931
records[57].EndState=Missed
records[57].PeerNumber=9901
records[57].RecNo=58
records[57].TalkTime=0
records[58].CallType=Outgoing
records[58].CreateTime=1580071469
records[58].EndState=Missed
records[58].PeerNumber=9901
records[58].RecNo=59
records[58].TalkTime=0
records[59].CallType=Outgoing
records[59].CreateTime=1580071483
records[59].EndState=Missed
records[59].PeerNumber=9901
records[59].RecNo=60
records[59].TalkTime=0
records[60].CallType=Outgoing
records[60].CreateTime=1580082667
records[60].EndState=Received
records[60].PeerNumber=9901
records[60].RecNo=61
records[60].TalkTime=19
records[61].CallType=Outgoing
records[61].CreateTime=1580149847
records[61].EndState=Received
records[61].PeerNumber=9901
records[61].RecNo=62
records[61].TalkTime=25
records[62].CallType=Outgoing
records[62].CreateTime=1580153868
records[62].EndState=Missed
records[62].PeerNumber=9901
records[62].RecNo=63
records[62].TalkTime=0
records[63].CallType=Outgoing
records[63].CreateTime=1580230273
records[63].EndState=Missed
records[63].PeerNumber=9901
records[63].RecNo=64
records[63].TalkTime=0
records[64].CallType=Outgoing
records[64].CreateTime=1580238585
records[64].EndState=Missed
records[64].PeerNumber=9901
records[64].RecNo=65
records[64].TalkTime=0
records[65].CallType=Outgoing
records[65].CreateTime=1580250361
records[65].EndState=Missed
records[65].PeerNumber=9901
records[65].RecNo=66
records[65].TalkTime=0
records[66].CallType=Outgoing
records[66].CreateTime=1580323709
records[66].EndState=Missed
records[66].PeerNumber=9901
records[66].RecNo=67
records[66].TalkTime=0
records[67].CallType=Outgoing
records[67].CreateTime=1580324521
records[67].EndState=Missed
records[67].PeerNumber=9901
records[67].RecNo=68
records[67].TalkTime=0
records[68].CallType=Outgoing
records[68].CreateTime=1580424217
records[68].EndState=Missed
records[68].PeerNumber=9901
records[68].RecNo=69
records[68].TalkTime=0
records[69].CallType=Outgoing
records[69].CreateTime=1580583867
records[69].EndState=Missed
records[69].PeerNumber=9901
records[69].RecNo=70
records[69].TalkTime=0
records[70].CallType=Outgoing
records[70].CreateTime=1580583910
records[70].EndState=Missed
records[70].PeerNumber=9901
records[70].RecNo=71
records[70].TalkTime=0
records[71].CallType=Outgoing
records[71].CreateTime=1580635502
records[71].EndState=Missed
records[71].PeerNumber=9901
records[71].RecNo=72
records[71].TalkTime=0
records[72].CallType=Outgoing
records[72].CreateTime=1580650531
records[72].EndState=Missed
records[72].PeerNumber=9901
records[72].RecNo=73
records[72].TalkTime=0
records[73].CallType=Outgoing
records[73].CreateTime=1580653645
records[73].EndState=Missed
records[73].PeerNumber=9901
records[73].RecNo=74
records[73].TalkTime=0
records[74].CallType=Outgoing
records[74].CreateTime=1580681462
records[74].EndState=Missed
records[74].PeerNumber=9901
records[74].RecNo=75
records[74].TalkTime=0
records[75].CallType=Outgoing
records[75].CreateTime=1580803876
records[75].EndState=Missed
records[75].PeerNumber=9901
records[75].RecNo=76
records[75].TalkTime=0
records[76].CallType=Outgoing
records[76].CreateTime=1581109751
records[76].EndState=Missed
records[76].PeerNumber=9901
records[76].RecNo=77
records[76].TalkTime=0
records[77].CallType=Outgoing
records[77].CreateTime=1581114026
records[77].EndState=Missed
records[77].PeerNumber=9901
records[77].RecNo=78
records[77].TalkTime=0
records[78].CallType=Outgoing
records[78].CreateTime=1581190068
records[78].EndState=Missed
records[78].PeerNumber=9901
records[78].RecNo=79
records[78].TalkTime=0
records[79].CallType=Outgoing
records[79].CreateTime=1581190922
records[79].EndState=Missed
records[79].PeerNumber=9901
records[79].RecNo=80
records[79].TalkTime=0
records[80].CallType=Outgoing
records[80].CreateTime=1581190930
records[80].EndState=Missed
records[80].PeerNumber=9901
records[80].RecNo=81
records[80].TalkTime=0
records[81].CallType=Outgoing
records[81].CreateTime=1581197134
records[81].EndState=Missed
records[81].PeerNumber=9901
records[81].RecNo=82
records[81].TalkTime=0
records[82].CallType=Outgoing
records[82].CreateTime=1581364826
records[82].EndState=Missed
records[82].PeerNumber=9901
records[82].RecNo=83
records[82].TalkTime=0
records[83].CallType=Outgoing
records[83].CreateTime=1581452842
records[83].EndState=Missed
records[83].PeerNumber=9901
records[83].RecNo=84
records[83].TalkTime=0
records[84].CallType=Outgoing
records[84].CreateTime=1581532275
records[84].EndState=Received
records[84].PeerNumber=9901
records[84].RecNo=85
records[84].TalkTime=2
records[85].CallType=Outgoing
records[85].CreateTime=1581714582
records[85].EndState=Missed
records[85].PeerNumber=9901
records[85].RecNo=86
records[85].TalkTime=0
records[86].CallType=Outgoing
records[86].CreateTime=1581717512
records[86].EndState=Missed
records[86].PeerNumber=9901
records[86].RecNo=87
records[86].TalkTime=0
records[87].CallType=Outgoing
records[87].CreateTime=1581717567
records[87].EndState=Missed
records[87].PeerNumber=9901
records[87].RecNo=88
records[87].TalkTime=0
records[88].CallType=Outgoing
records[88].CreateTime=1581717625
records[88].EndState=Missed
records[88].PeerNumber=9901
records[88].RecNo=89
records[88].TalkTime=0
records[89].CallType=Outgoing
records[89].CreateTime=1581718354
records[89].EndState=Missed
records[89].PeerNumber=9901
records[89].RecNo=90
records[89].TalkTime=0
records[90].CallType=Outgoing
records[90].CreateTime=1581718532
records[90].EndState=Missed
records[90].PeerNumber=9901
records[90].RecNo=91
records[90].TalkTime=0
records[91].CallType=Outgoing
records[91].CreateTime=1581718587
records[91].EndState=Missed
records[91].PeerNumber=9901
records[91].RecNo=92
records[91].TalkTime=0
records[92].CallType=Outgoing
records[92].CreateTime=1581718634
records[92].EndState=Missed
records[92].PeerNumber=9901
records[92].RecNo=93
records[92].TalkTime=0
records[93].CallType=Outgoing
records[93].CreateTime=1581718728
records[93].EndState=Missed
records[93].PeerNumber=9901
records[93].RecNo=94
records[93].TalkTime=0
records[94].CallType=Outgoing
records[94].CreateTime=1581724516
records[94].EndState=Missed
records[94].PeerNumber=9901
records[94].RecNo=95
records[94].TalkTime=0
records[95].CallType=Outgoing
records[95].CreateTime=1581724567
records[95].EndState=Missed
records[95].PeerNumber=9901
records[95].RecNo=96
records[95].TalkTime=0
records[96].CallType=Outgoing
records[96].CreateTime=1581726241
records[96].EndState=Missed
records[96].PeerNumber=9901
records[96].RecNo=97
records[96].TalkTime=0
records[97].CallType=Outgoing
records[97].CreateTime=1581964080
records[97].EndState=Missed
records[97].PeerNumber=9901
records[97].RecNo=98
records[97].TalkTime=0

Do you need something more from my side?

Also in regards to 2way audio. I played around with the SIP firmware but unfortunately when using the sip firmware i cannot use any longer the RFID tags to open the door

Also by using the following on my configuration.yaml i am able to open the door.

You don’t need it, the component should expose a service to do that - dahuavto.open

1 Like

I’m using face recognition to open the gate, much easier :slight_smile:

Will check later the details you sent…

Thanks

1 Like

Ok i just changed it so i use the service dahuavto.open and it work fine !! Thnx
You say you use face recognition to open the door. Do you mind elaborating on that how you do it. Do you use the Facebox platform?
Also another stupid problem i have is that if i open the stream of VTO through VLC i can hear also the audio but when i access the same stream from Hassio through a picture glance card no audio comes through. Any ideas?