This project shows how to utilize the additional data that is sent with a dahua event. This flow:
- Creates payload for snapshot call.
- Covers all supported event types. see here
- Numbers snapshot (allows multiple snapshots per message type before rewrite).
- Stores snapshot in different folders according to camera and trigger type.
- Creates payload for text including snapshot file location.
- Creates payload for separate tts message.
- Bounces duplicate and stop messages.
- Rate limit by event and camera number.
- Retrieve phone state, bounce tts message if on phone.
- Create multiple zone triggers per camera.(See below)
Dahua cameras offer other information in the event data. Target location and direction of travel among other things. Sample JSON included in flow file. (see github page below)
More details can be found here: