This video shows my framework for capturing, storing, emailing, reporting images and videos captures from IP cameras that support RTSP stream.
Link to the Node Red Flow:
[ Ссылка ]
Create SQL script:
CREATE TABLE 'nvr' ('id' INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, 'type' TEXT NOT NULL, 'path' TEXT, 'filename' TEXT, 'epoch' INTEGER, 'timestamp' INTEGER DEFAULT CURRENT_TIMESTAMP, 'wwwpath' TEXT)
![](https://i.ytimg.com/vi/ihZWrJmbGFY/maxresdefault.jpg)