-
Notifications
You must be signed in to change notification settings - Fork 23
[Help] Cancel VTO call on VTO2211G-P-S2 #45
Description
Hello,
Many commands listed on readme.md works fine, but i want cancel a VTO call to permit answer with home assistant on 2 way audio and it not work.
I use this command :
# Cancel VTO Call
service: dahua_vto.send_command
data:
entity_id: sensor.dahua_vto
method: console.runCmd
params: {'command': 'hc'}
event: false
{'error': {'code': 268959743, 'message': 'Unknown error! error code was not set in service!'}, 'result': False, 'method': 'console.runCmd', 'entity_id': 'sensor.dahua_vto'}
same problem with this other command :
# Make VTO Call
service: dahua_vto.send_command
data:
entity_id: sensor.dahua_vto
method: console.runCmd
params: {'command': 'call 9901'}
event: false
{'error': {'code': 268959743, 'message': 'Unknown error! error code was not set in service!'}, 'result': False, 'method': 'console.runCmd', 'entity_id': 'sensor.dahua_vto'}
I also tried the integration https://github.com/rroller/dahua with the call service dahua.vto_cancel_call, but that seems logical, because it also tries the hc command
Could someone help me find the solution?