MQTT - Motion Files #403
-
I'm attempting to write a script that will use the mqtt message que's to get the motion files, but I haven't been able to capture that message yet from the cam. Anyone had any luck pulling the motion files from that topic? I can see most all the other start and stop messages, but not the video file list. I should mention I'm testing this on 2 r35gb cams. Here is a screen shot where you can see the motion stop events, but not the motion_files. Anyone else successfully get the motion files from mqtt? The top screen is subscribed to all events, the bottom one is specifically subscribed to the motion_files. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
So after some tinkering I found that to get the mqtt messages to work then AI Human detection has to be turned off. Then I started getting some messages. Yay! the motion_files topic didn't exactly give me what I was expecting, instead of the actual file names it appears to give a start and end time stamp. And even more strange is it occasionally sends a 1969 time stamps. From observation though this appears to happen on the motion start events, after the motion stop events it seems to reliably send a proper date/time stamp, but I guess that means I have to convert that to a valid filename? I've also not9ced that it also gets the end time and start time swapped. |
Beta Was this translation helpful? Give feedback.
-
You are right.
I have to check the code. |
Beta Was this translation helpful? Give feedback.
-
I fixed the problem, next release... |
Beta Was this translation helpful? Give feedback.
I fixed the problem, next release...