alienatedsec / yi-hack-v5

Even newer Custom Firmware for Xiaomi Cameras based on Hi3518ev200 Chipset. It includes free RTSP, ONVIF and other improvements based on the work by roleoroleo
GNU General Public License v3.0
739 stars 87 forks source link

Empty yicam/motion_files MQTT message #388

Open g1za opened 2 weeks ago

g1za commented 2 weeks ago

Describe the bug Since last major release the MQTT message with recorded files is empty. This is current MQTT "yicam/motion_files" message: { "start":"2024-06-20T16:44:46+02:00", "end":"2024-06-20T16:45:55+02:00", "files":[ ] } As you can see "files" is empty, while files are actually being saved under the /record/ folder

Expected behaviour Previously the message was populated under Files with a list of saved files and paths. For example is this is the full path: http://192.168.188.7/record/2024Y06M20D16H/45M00S.mp4 the MQTT message used to contain: 2024Y06M20D16H/45M00S.mp4 under "files". "files" can be a list (anyway it can bring several elements of more videos are associated to the same motion event9.

Set Up Details (please complete the following information):

g1za commented 2 weeks ago

Maybe the MQTT message is still pointing to files in the location http://192.168.188.7:8080/record/ while it is now http://192.168.188.7/record/ hence the nothing can be found and the list is empty?