Skip to content

Instantly share code, notes, and snippets.

@at103
at103 / dahua_rpc.py
Created May 13, 2025 18:45 — forked from gxfxyz/dahua_rpc.py
Basic Dahua RPC wrapper
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Basic Dahua RPC wrapper.
Example:
from dahua_rpc import DahuaRpc
dahua = DahuaRpc(host="192.168.1.10", username="admin", password="password")