/hikvision-event-stream

This little piece of code allows you to listen for events from your Hikvision cameras.

Primary LanguageJava

Hikvision camera event listener

This little piece of bad written code allows you to listen for motion events from your Hikvision cameras.

Usage

This bad boy will print all events from camera. Please be aware most of those events ate heartbeat and can be ignored, what you really looking for is event with eventState=active

new HikvisionCamera("192.168.0.276", new HikvisionCameraAuthImpl(
        "login", "password"
)).listen(event->{
    System.out.println(event);
});

Tested cameras

  • Hikvision HWI-B121H(C)