hikmqtt

command module
v0.0.0-...-afba3c6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2021 License: MIT Imports: 16 Imported by: 0

README

MQTT for Hikvision camera

Capture a frame every 5 seconds and publish to mqtt.

Run: LD_LIBRARY_PATH=/hiksdk/lib/ ./hikmqtt -c hikmqtt.json

Config hikmqtt.json:

{
    "Url": "mqtt://127.0.0.1:1883",
    "Username": "user",
    "Password": "password",
    "Cams": [
        {
            "Ip": "192.168.0.1",
            "Username": "camuser",
            "Password": "campassword",
            "Name": "First cam"
        },
        {
            "Ip": "192.168.0.2",
            "Username": "camuser1",
            "Password": "campassword1",
            "Name": "Second cam"
        }
    ]
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL