Run the following commands:FIrst will copy the templog.db to folder /var/www/. The second command changes the file's owner.sudo cp templog.db /var/www/ sudo chown www-data:www-data /var/www/templog.db
To add the python script to run as a job:sudo crontab -u www-data -eAdd the follwing line at the end of the www-data file:*/15 * * * * /usr/lib/cgi-bin/monitor.py
Instructions for constructing the camera slider sold by Inventables: The Hardware Store for Designershttps://www.inventables.com/projects/simple-camera-slider
For specific Open Doors, Close Doors, Starter functions. Put the Bash scripts under /www/cgi-bin/* and call them from any browser with 192.168.3.1/cgi-bin/Script.cgi
Installation in the raspberryYou need to:Create a /home/pi/pics directormkdir -p /home/pi/pics Setup a crontab at boot like@reboot /home/pi/webcam.sh Installation in VPSYou need to:Create a /var/www/html/webcam foldermkdir -p /var/www/html/webcam/{images,videos}...
Omc-Stepperonline: pretty straight forward just sign up, and order. Maedler: is a site where we order many mechanical parts. These parts are universal and available on many sites. https://www.mcmaster.com/ Bearings: maybe it's locally available...
Omc-Stepperonline: pretty straight forward just sign up, and order. Maedler: is a site where we order many mechanical parts. These parts are universal and available on many sites. https://www.mcmaster.com/ Bearings: maybe it's locally available otherwise...
As homework, move all but log.txt out of /var/www/, so it isn't visible. You could also password protect log.txtMy ATMEGA328P-PU consumption keeps at 90uA most of the time, so a battery should last a long time. The PIR sensor I picked drains by itself...
Set up the URL to your IP address and PortChose POST as the methodSet application/x-www-form-urlencoded as the content typeSet up the POST body with the ingredient from the previous step (e.g. status={{TextField}})