Agent DVR MQTT

Agent DVR MQTT

Connect Agent DVR to your MQTT server using the Settings menu. When Agent is connected you can set alert actions to publish messages to your MQTT server.

To do this, edit your device, go to the alerts tab and select Actions. Add an action to take on alert (or other event).

Adding action for MQTT

Here you can specify the topic to post to (for example, Agent/alerts) and the message.

Agent can also receive and process MQTT messages on the channel Agent/commands. These commands follow the same format as our HTTP API.

For example: cmd=allon

Agent will action the command and send a JSON response to the Agent/responses channel.