forgive me did not understand what you ask? were you talking to me?
ah ok ok do you want a timezone? ok ROME +1
What kind of VTO does this work with?
I was looking into a 3211d and wondering if it would work for me using this integration.
@ghizmo82, I will try to reproduce it in my environment and will update
@danbutter, I have VTO1220BW
I will also add steps to check if your VTO unit support that integration during the weekend.
found the bug, I set the TZ to +2 with DST:
create_date_time = datetime.fromtimestamp(create_time - (3 * 60 * 60))
will fix it in few days, should be pretty simple
to check if your VTO unit supported by this component, please try to access the call log of the unit:
http://USERNAME:PASSWORD@IP/cgi-bin/recordFinder.cgi?action=find&name=VideoTalkLog
please post the result (private message),
If you got 404 page, it will not work
Updated the integration with the bug fix for the timezone, please let me know if it works for you
thanks
Added support for entities from integration section (Configuration -> Integrations)
ok i will try thanks
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