I have just installed Raspbian Stretch on Pi 2B, with raspicam and Motion, and it works like a charm! The plan is to use this on a boathouse with a 4G Mobile Router as internet, to keep an eye on our boat during the winterstorms in Norway. However, after running the stream for 5 hours, I noticed it might use too much of my data qouta (6GB). I am totally n00b about scripts, debian and commands, but I can do some copy/pasting and get results. So I would need a step-by-step guide.
- How can I make my Pi take a picture, say every 30 min, save it in memory, upload it to an FTP, and flush the image from memory? I guess the picture will have the same name, so it gets overwritten on the FTP. I guess it can be done using a script, but I need someone to teach me how to compile it, install it, and make it run at boot or intervals of 30 min.
- And is it possible to have a start/stop button on my website to start livestreaming? Or could I limit the videostream to say, 2 minutes and then make the Pi stop streaming to save bandwidth? Refreshing the page would start the stream again.