Open bazidibavaria opened 3 years ago
Hi,
to stop a call, a new function can be integrated
DAHUA_CONSOLE_RUN_CMD = "console.runCmd"
def console_run_cmd_cancel_call(self): _LOGGER.debug("Cancel call") def handle_console_run_cmd_cancel_call(message): _LOGGER.info(f"Cancel call msg: {message}") request_data = { "command": "hc" } self.send(DAHUA_CONSOLE_RUN_CMD, handle_console_run_cmd_cancel_call, request_data)
Additionally a mqtt subscription to an command event should be integrated.
Hi,
to stop a call, a new function can be integrated
DAHUA_CONSOLE_RUN_CMD = "console.runCmd"
Additionally a mqtt subscription to an command event should be integrated.