Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

corrected typo in variable name #465

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
Installation:
Tested on Raspbian GNU/Linux 9.6 (stretch) on Raspberry Pi 3 and Zero

1. Clone or download and unzip the repo.

2. cd into the directory
<pre>
cd RPi_Cam_Web_Interface
</pre>

3. Run the install script
<pre>
sudo ./install.sh
</pre>

Notes: The nginx server seems to work better than apache2. If you get an mmal error,
the first thing to check is the cable connecting the camera to your Pi.



Web based interface for controlling the Raspberry Pi Camera, includes motion detection, time lapse, and image and video recording.
Current version 6.4.35
All information on this project can be found here: http://www.raspberrypi.org/forums/viewtopic.php?f=43&t=63276
Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ phpversion=7
if [ ! -e ./config.txt ]; then
sudo echo "#This is config file for main installer. Put any extra options in here." > ./config.txt
sudo echo "rpicamdir=\"html\"" >> ./config.txt
sudo echo "webserver=\"apache\"" >> ./config.txt
sudo echo "webserver=\"nginx\"" >> ./config.txt
sudo echo "webport=\"80\"" >> ./config.txt
sudo echo "user=\"\"" >> ./config.txt
sudo echo "webpasswd=\"\"" >> ./config.txt
Expand Down
2 changes: 1 addition & 1 deletion www/schedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ function sendReset() {

function sendCmds($cmdString, $period = false) {
global $schedulePars;
if(ScmdString && ($period === false || isDayActive($period))) {
if($cmdString && ($period === false || isDayActive($period))) {
$cmds = explode(';', $cmdString);
foreach ($cmds as $cmd) {
if ($cmd != "") {
Expand Down