TheCrypt0 / yi-hack-v4

New Custom Firmware for Xiaomi Cameras based on Hi3518e Chipset. It features RTSP, SSH, FTP and more!
GNU General Public License v3.0
1.53k stars 219 forks source link

MQTT: provide filename of recording #346

Open gdoumen opened 2 years ago

gdoumen commented 2 years ago

MQTT support is a great improvement.

However, whenever I receive that message ( e.g. motion_stop), I would like to also retreive the recording and potentially present it to the user ( e.g. downloading the file via FTP, store it in my own cloud/server, send a push notification to user with link to the video)

However with the current messages/payload, I don't get this information and I would have to guess the filename (based on timestamp)