|Thread title||Replies||Last modified|
|Example of automated video email?||0||09:36, 23 March 2017|
|Any way to change size of preview on webpage? Any way to make the min/simple the default page?||1||17:22, 5 March 2017|
|Changing contents of Preview stream||3||06:58, 21 November 2016|
|Amount changed pixels in the camera annotation ?||0||02:39, 27 April 2016|
|Problem with RPi B, Debian Jessie (new) und Apache2||0||09:01, 1 October 2015|
|script examples please||0||15:05, 7 May 2015|
|Pi-Pan tilt implementation||0||11:13, 18 April 2014|
|Links to the information web pages...||0||01:39, 21 March 2014|
All, I have the RPi Cam Web up and working and now moving onto tidying up the install. I installed, configured and verified that ssmtp and mpack are able to send emails/attachments from pi@raspberrypi prompt.
I need a second set of eyes or someone to verify this is the proper approach:
1. nano /var/www/macros/end_vid.sh
list=( $1*.th.jpg )
mpack -s subject /var/www/media/thumb email@example.com
[save and exit nano]
3. sudo chmod a+x /var/www/macros/end_vid.sh
4. sudo chown www-data:www-data /var/www/macros/end_vid.sh
Does this look correct? is there a more elegant way or method that I overlooked?
Guidance and help are appreciated! Brian
Any way to change size of preview on webpage? Any way to make the min/simple the default page?
First, I want to thank you for creating this. For noobs like me tinkering around with a raspberry pi, this is exactly what I was looking for for a project I had in mind.
Is there a way to make the view on a webpage bigger than the default size, other than clicking on it while viewing? I looked through and couldn't find any settings to change, and inspecting the source of the webpage while viewing it is where I saw the "onclick" to toggle full screen. So is there a way to have the page load with a bigger version of the preview by default.
Also, is there any way to make the min.php the default page that loads? I'm looking to make it so viewers can't control the camera or make changes to settings. I understand that I can direct them to the min.php, but was hoping there was a way to make that the default landing. I tried changing the min.php to index.php (and changing index to something else), but the full page kept loading with all the controls.
Thank you for any help in advance.
So, I am having fun with my RPi and cameras, getting the preview from many into a single web page, into a Python script and into OBS. What I cannot seem to do is change the content of the preview to be the same as the captured image. Is there a way to do this. The preview seems to contain only the centre of the image captured by the camera module. Any ideas please.
All the feeds come from http://<RaspberryPi IP>/cam_pic_new.php?
I'm sorry, I don't know. I haven't played with that stuff at all. You should try the RPi forums.
So here it is all along, right in front of me!
Use the Camera Settings option, Resolutions. Setting to any of the Load Presets other than the first or last (HD ...) gives a mode that includes a full size preview - perfect for my needs.
As someone once said - WONDERFUL!
Is there a way to see the amount of changed motion pixels and show the in the camera name(Annotation)?
I use external motion and the manual only describes the internal motion, so %c and %f do not work..... The version that I use is RPi Cam Control v6.0.37
Perhaps it would be also nice for a user setting for change the position of this text. (left right up down in the camera picture)
I cannot get the Cam-Web-interface to work with the latest Debian Jessie with Apache 2. I would appear that Apache 2 looks into /var/www/hmtl/index.hmtl and execute that hmtl file. Replacing the index.hmtl with yout index.php creates just a white screen. Here is a note from Apache 2
Debian's Apache2 default configuration is different from the upstream default configuration, and split into several files optimized for interaction with Debian tools. The configuration system is fully documented in /usr/share/doc/apache2/README.Debian.gz. Refer to this for the full documentation. Documentation for the web server itself can be found by accessing the manual if the apache2-doc package was installed on this server.
The configuration layout for an Apache2 web server installation on Debian systems is as follows: /etc/apache2/ |-- apache2.conf | `-- ports.conf |-- mods-enabled | |-- *.load | `-- *.conf |-- conf-enabled | `-- *.conf |-- sites-enabled | `-- *.conf
• apache2.conf is the main configuration file. It puts the pieces together by including all remaining configuration files when starting up the web server. • ports.conf is always included from the main configuration file. It is used to determine the listening ports for incoming connections, and this file can be customized anytime. • Configuration files in the mods-enabled/, conf-enabled/ and sites-enabled/ directories contain particular configuration snippets which manage modules, global configuration fragments, or virtual host configurations, respectively. • They are activated by symlinking available configuration files from their respective *-available/ counterparts. These should be managed by using our helpers a2enmod, a2dismod, a2ensite, a2dissite, and a2enconf, a2disconf . See their respective man pages for detailed information. • The binary is called apache2. Due to the use of environment variables, in the default configuration, apache2 needs to be started/stopped with /etc/init.d/apache2 or apache2ctl. Calling /usr/bin/apache2 directly will not work with the default configuration.
By default, Debian does not allow access through the web browser to any file apart of those located in /var/www, public_html directories (when enabled) and /usr/share (for web applications). If your site is using a web document root located elsewhere (such as in /srv) you may need to whitelist your document root directory in /etc/apache2/apache2.conf.
The default Debian document root is /var/www/html. You can make your own virtual hosts under /var/www. This is different to previous releases which provides better security out of the box.
Please use the reportbug tool to report bugs in the Apache2 package with Debian. However, check existing bug reports before reporting a new bug.
Please report bugs specific to modules (such as PHP and others) to respective packages, not to the web server itself.
I am not able to move the pi-pan severs from the Cam-web-interface. The servos work fine from the command line and the buttons appear on the web interface but they do not activate the servos from the interface. I am using a safari web browser on a mac and have tried a chrome browser with the same result. It seems related to the script for the pi-pan control. Has anyone had a similar problem and/or solution.
How about adding links to the information pages in the index.html so it's easy to get help...
for example add:
<a href="http://elinux.org/RPi-Cam-Web-Interface">Help on configuring Web Service</a>
<a href="http://www.raspberrypi.org/forum/viewtopic.php?f=43&t=63276">Forum Thread on RPi Cam Web Interface</a>
after </table> and before </center>. /Jaix