Feature: Dahua terminals are read over their CGI interface 

Description 

The connector for Dahua access terminals now talks to the device. It answers the digest authentication of the terminal, reads the offline access records in time windows without storing a swipe twice, leaves out swipes the device denied, and reads and sets the device clock. Entry and exit of a record become clock-in and clock-out. The vendor's documented interface has no call that lists or changes the users of a terminal, so a connection test shows no user count and the user attributes of Dahua cannot be changed yet.

Impact 

A company with Dahua terminals sees their punches after the next poll. Terminals are reached on the local network, so the server must be able to reach their address.