Page 1 of 1

Camera monitor

Posted: 30 Oct 2019 18:18
by Lucy
Hey guys... ive been trying desperately to make a flow that logs every action of my camera including remote access, clicks, paths files were saved, etc but all i can log with my level of dumbness is app task events on start and end😢

Re: Camera monitor

Posted: 03 Nov 2019 17:10
by Desmanto
You can use trigger UI Event and try to check the Recent events to see the click. The click should can be logged using this trigger. Path of files can be check using Trigger file observer. For Remote access, I don't understand what it is for, since most camera app is user interactive. Unless it has some special API to let it be remote controlled or using bluetooth remote shutter.

Re: Camera monitor

Posted: 04 Nov 2019 02:17
by Lucy
Ah.. ok, yeah see my issue is that some of our devices have remote admin softwares and connect to each other for several purposes. These remote connections generally are through telnet, ftp and normal network based but we also use remote bluetooth access too. Neither of our software's are good enough for us to log connections, actions and paths accessed, etc in a format that we can decipher so i was hoping to achieve it from a flow.

Re: Camera monitor

Posted: 05 Nov 2019 18:01
by Desmanto
It is very difficult, as you have so many ways to remote the phone. But if you can just remove all other option and shrink it to single http request, then you can make sure everything is logged. This require you to create a semi protocol (your own rule) for each http request. Use Automagic HTTP request trigger and put an asterisk path for the custom path you want.

Let say the IP is 192.168.1.100. You can use path /automagic/*, port 8080. Then from different devices, use http post to this IP at http://192.168.1.100:8080/accessfile or http:/192.168.1.100:8080/camerashutter or anything. Each post can be accompanied by data in encoded URL form for the command parameter. For /accessfile, you use param_filepath for the filepath you wanna access. For /camerashutter, you can add additional timer, location of the image or anything. You can also filter the remote host ip to make it as a kind of firewall to block unauthorized access.

Each semi protocol have its own parameter to be defined. This defintely takes some time to build it. But after you have the format structure, you can simply log each http request to get the log of all access. Since everything must go thru the same Automagic webserver