reolink_dev icon indicating copy to clipboard operation
reolink_dev copied to clipboard

Add optional SMTP server for event based AI detection

Open kmhallen opened this issue 3 years ago • 2 comments

Webhooks provide event based motion detection, but not AI detection SMTP event for AI detection start, cleared on next periodic update

kmhallen avatar Feb 17 '22 03:02 kmhallen

Hi @kmhallen , This is a very interesting approach. One thing though I think it won't work with NVRs which can have only 1 SMTP server configured for all Cameras. In its state I would recommend NVR people to not use it

cpainchaud avatar Feb 17 '22 08:02 cpainchaud

The unique SMTP port limitation is per Home Assistant integration. I couldn't figure out how to share variables between instances. The wording in the README could probably be updated to reflect that.

An NVR should work with a few changes because the email includes camera name and channel number.

I don't have an NVR to test with, only single cameras.

kmhallen avatar Feb 17 '22 14:02 kmhallen