# Dahua VTO to MQTT

Dahua VTO to MQTT is a self-hosted home automation app. DahuaVTO2MQTT listens to events from Dahua VTO door readers, cameras, and NVR (network video recorder) units and publishes them as MQTT (message queuing telemetry transport) messages. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/1958/dahua-vto-to-mqtt

## Description

DahuaVTO2MQTT listens to events from Dahua VTO door readers, cameras, and NVR (network video recorder) units and publishes them as MQTT (message queuing telemetry transport) messages. It lets home-automation stacks such as Home Assistant react to door events and send commands back to the door. Use it to bridge your Dahua access-control hardware into any MQTT-based setup.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

30/100 (Low), based on 4 of 5 factors.
- Maintained: 0 (GitHub repository is archived)
- Popular: 41 (107 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Security check: 69 (no serious findings, 1 minor)

## Links

- Docker Hub: https://hub.docker.com/r/ronnieroller/dahuavto2mqtt
- Documentation: https://gitlab.com/elad.bar/dahuavto2mqtt
- Unraid: https://ca.unraid.net/apps/dahuavto2mqtt-0odtw2j01kfwun

## Common questions

### Which Docker Compose fields must I replace before starting DahuaVTO2MQTT?

Replace the placeholders for the Dahua VTO host, username, and password, and for the MQTT broker host, port, username, and password. Without these values, it cannot log into the door reader or talk to the MQTT broker.

### Is the published port 9563 required?

No, port 9563 is the optional Prometheus metrics endpoint. You can ignore it or point a monitoring system at it if you want to watch the service.

### How do I send a command such as unlocking the door?

Set MQTT_BROKER_TOPIC_PREFIX to a fixed name and publish commands under that prefix. For example, publishing to DahuaVTO/Command/Open tells the door to unlock.

### What MQTT message should I expect for a button press?

Button presses are reported as MQTT JSON messages rather than simple ON events. Subscriptions should expect and parse the JSON event data.

### Can I use it with Dahua cameras instead of a VTO unit?

Yes, use the camera-related parameters instead of the DAHUA_VTO_* parameters when configuring cameras.

## Alternatives

- Domoticz: Domoticz is a free, open-source home automation system that lets you monitor and control lights, switches, sensors, and smart devices, with…
- Gladys Assistant: Gladys Assistant is a privacy-first, open-source home assistant for self-hosted users that centralizes connected devices, visualizes data o…
- Google Home: Easily control Chromecast and Google Home devices, manage settings, sync with smart devices, and discover new features with this comprehens…
- Home: With the new Home app, you can securely control all your Homekit accessories from your favorite iOS device.
- Homebridge: Homebridge is an open-source bridge that makes smart-home devices work with Apple HomeKit.
- Homey-Wan-Kenobi-MCP: Homey-Wan-Kenobi MCP is a self-hosted Model Context Protocol (MCP) server that lets local language-model assistants control Homey Pro smart…
- Scrypted: Scrypted is a high-performance, open-source video integration and automation platform.
- SmartThings: Effortlessly manage home devices with voice control, create routines, monitor remotely, and track energy usage.
- fhem: FHEM is a self-hosted home automation server written in Perl that lets homelab users control devices, view sensor data, and automate routin…
- ioBroker: ioBroker is an open-source IoT platform that gives you a graphical web interface to configure, automate, and control your smart-home and ho…
- jeedom: Jeedom is a smart home hub that lets you control devices like lights and heating from one place.
- openHAB: openHAB is a vendor- and technology-agnostic open-source home automation platform.

---
Source: Our Local Host (https://ourlocalhost.com/app/1958/dahua-vto-to-mqtt), the self-hosted and open-source app directory.
