Commit 6fe7d465 authored by Neil Gershenfeld's avatar Neil Gershenfeld

wip

parent 833dd8d5
...@@ -12,7 +12,7 @@ can use uvcdynctrl -f to list resolutions ...@@ -12,7 +12,7 @@ can use uvcdynctrl -f to list resolutions
can use fswebcam --list-controls to list controls can use fswebcam --list-controls to list controls
can use http-server-with-auth to serve can use http-server-with-auth to serve:
http-server-with-auth -p port --username username --password password http-server-with-auth -p port --username username --password password
http-server-with-auth -p port --username username --password password --ssl --cert cert.pem --key key.pem http-server-with-auth -p port --username username --password password --ssl --cert cert.pem --key key.pem
...@@ -20,8 +20,13 @@ last image is at http://this_address:this_port/oldimage.jpg ...@@ -20,8 +20,13 @@ last image is at http://this_address:this_port/oldimage.jpg
can use Logitech C920 HD Webcam can use Logitech C920 HD Webcam
can use Ubuntu MATE on Raspberry Pi 3 can use Ubuntu MATE on Raspberry Pi 3:
sudo apt-get install nodejs-legacy npm fswebcam imagemagick sudo apt-get install nodejs-legacy npm fswebcam imagemagick
sudo npm install -g http-server-with-auth sudo npm install -g http-server-with-auth
System -> Administration -> Time and Date -> Keep synchronized with internet servers System -> Administration -> Time and Date -> Keep synchronized with internet servers
can start on boot with cams.service:
sudo cp cams.service /lib/systemd/system
sudo systemctl daemon-reload
sudo systemctl enable cams.service
sudo systemctl start cams.service
[Unit]
Description=cams
After=network.target
[Service]
Type=forking
ExecStart=/bin/bash /home/fab/cams/cams
[Install]
WantedBy=multi-user.target
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment