User avatar
Amarand
Posts: 19
Joined: Tue Apr 28, 2015 7:32 pm
Location: Galloway, OH, USA
Contact: Website Yahoo Messenger Facebook YouTube

RPi Cam Web Interface - EXIF Time/Date Stamps

Wed Nov 25, 2020 1:51 pm

I've been using RPi Cam Web Interface for awhile now, and one of the things I started to notice recently is, the EXIF fields for "Date/Time Original" "Create Date" and "Modify Date" all show up as "1970:01:01 00:00:00" regardless of whether I am using timelapse mode or just a single shot.

If I go to the command line and run "raspistill -o cam.jpg" the resulting cam.jpg has the correct date/time stamp embedded in the image in those three locations.

Obviously, this is not a problem with the RPi's clock (it's always set accurately).

What method of image capturing is used in this system, and can it be adjusted to properly record date/time stamps in EXIF? Is this a bug or a feature?

Thanks!

bardal
Posts: 5
Joined: Sun Jan 10, 2016 7:46 pm

Re: RPi Cam Web Interface

Tue Dec 01, 2020 10:18 am

I'm trying to have time lapse started from the schedule but it doesn't seem to be working. I have the following commands in for 'Period Start'

Code: Select all

em auto; tl 1
In the log I get

Code: Select all

[2020/12/01 09:56:56] New period detected 3
[2020/12/01 09:56:56] Send em auto
{2020/12/01 09:56:56} Change: exposure_mode = auto
[2020/12/01 09:56:58] Send tl 1
[2020/12/01 09:57:00] Scheduled management tasks. Next at 1606820216
But timelapse doesn't actually start. I can kick it off manually from the camera page and it works fine, log below

Code: Select all

[2020/12/01 09:57:38] Logged in user::
[2020/12/01 09:57:38] UserLevel 6
[2020/12/01 10:07:38] Logged in user::
[2020/12/01 10:07:38] UserLevel 6
{2020/12/01 10:07:40} Timelapse started
{2020/12/01 10:08:10} Capturing image
How can I troubleshoot?

Thanks

ras07
Posts: 123
Joined: Tue May 22, 2018 4:04 am

Re: RPi Cam Web Interface

Tue Dec 01, 2020 6:17 pm

bardal wrote:
Tue Dec 01, 2020 10:18 am
I'm trying to have time lapse started from the schedule but it doesn't seem to be working. I have the following commands in for 'Period Start'

Code: Select all

em auto; tl 1
Try it without the space after the semicolon.

bardal
Posts: 5
Joined: Sun Jan 10, 2016 7:46 pm

Re: RPi Cam Web Interface

Tue Dec 01, 2020 6:22 pm

Awesome, thank you. Fixed.

ras07
Posts: 123
Joined: Tue May 22, 2018 4:04 am

Re: RPi Cam Web Interface

Tue Dec 01, 2020 7:18 pm

bardal wrote:
Tue Dec 01, 2020 6:22 pm
Awesome, thank you. Fixed.
Great. That's bitten me before. I'll open an issue - hopefully it will be an easy thing for the developer to change.

ras07
Posts: 123
Joined: Tue May 22, 2018 4:04 am

Re: RPi Cam Web Interface

Tue Dec 01, 2020 10:26 pm

ras07 wrote:
Tue Dec 01, 2020 7:18 pm
bardal wrote:
Tue Dec 01, 2020 6:22 pm
Awesome, thank you. Fixed.
Great. That's bitten me before. I'll open an issue - hopefully it will be an easy thing for the developer to change.
Good news - Robert already updated the code to handle this! A space after the semicolon shouldn't be a problem anymore (as of ver. 6.6.13, I believe).

hogwell
Posts: 11
Joined: Sat Oct 19, 2019 4:14 pm

Re: RPi Cam Web Interface --- Long exposure with HQ cam

Fri Dec 04, 2020 7:57 pm

hang12 wrote:
Sat Nov 14, 2020 7:42 pm
According to https://www.raspberrypi.org/documentati ... longexp.md, the Raspicam HQ is capable of doing 230sec long exposures. How can I use this long exposure times in the RPi Cam Web Interface?

I would be happy even with 5..10sec, but I seem to be getting only 1sec max.
I am also interested in this topic - long exposures with RPi Web Cam Interface.

I've tried setting the Exposure Mode em to Verylong but this throws an "invalid exposure mode" error in scheduleLog.txt.

It would be great to have an exposure time option in the camera settings (not just the Exposure Compensation ec setting).

flotey
Posts: 1
Joined: Mon Dec 07, 2020 3:25 pm

Re: RPi Cam Web Interface

Mon Dec 07, 2020 3:42 pm

Hi Folks,

thanks to everyone make such projects possible. You have indeed some documentation, but I am not finding the questions to my answers.
https://elinux.org/RPi-Cam-Web-Interface#Scheduler

I moved to a new place, with a nice view. So I try to make the following happen:
- Dawn: Timelaps dawn to Day
- Day: make a picture every 2 to 3 hours Day
- Dusk: Timelaps Dusk to Night

So I went to "sun based" mode, with the following settings:
- 'DawnStart_Minutes =-45' (start 45 Minutes before dawn at my place)
- 'DuskEnd_Minutes = 120' (to fade from Dusk to the Night)

1. Question: How do I have to set my settings for 'DayStart_Minutes' and 'DayEnd_Minutes'? They should just affect "Dawn", isn't it? Right now they are both '=0'. Am I right on this.

In the "period timer" I have checked every weekday, for Dawn, Day and Dusk. The period start fields look like this:
- Dawn: 'tl Dawn;tl Day'
- Day: .... see 3rd question below
- Dusk: 'tl Dusk;tl Night'

2. Question: Are my Dawn and Dusk period fields right? See above for my goal to these times of the day.
3. Question: To make my "picture every 2-3 hours" I need to write some script, don't I? Or is here an pre-made option for my goal? When I need a script, can I paste the path to script inside the field to get it executed?


Bonus-Question:
disable_camera_led=1 in /boot/config.txt doesn't turn of the red light. Do I miss something here?

Thanks in advance. Again, great project!

Cheers Sebastian

PS: Try and error would have indeed some learning curve, but I guess it will take longer than my familiy life supports ;)

CharLee
Posts: 6
Joined: Wed Oct 14, 2020 9:34 pm

Re: RPi Cam Web Interface

Tue Dec 08, 2020 11:56 pm

Hello!

Thank you so much for setting this project up!

I am currently trying to embed this web interface inside a code environment (namely, a Jupyter notebook), and I was wondering how I can go through that process?

My initial thoughts are that I can try wrapping the localhost server inside an iframe, but that seems to not embed the features well in Jupyter. Any suggestions would be welcome!

bing14
Posts: 1
Joined: Mon Dec 14, 2020 1:31 pm

Re: RPi Cam Web Interface

Mon Dec 14, 2020 1:33 pm

CharLee wrote:
Tue Dec 08, 2020 11:56 pm
Hello!

I am currently trying to embed this web interface inside a code environment (namely, a Jupyter notebook), and I was wondering how I can go through that process?

My initial thoughts are that I can try wrapping the localhost server inside an iframe, but that seems to not embed the features well in Jupyter. Any suggestions would be welcome!
What browser are you using? I had the same kind of problem in jupyter with another library and it turned out firefox worked & chrome didn't. Perhaps worth a try.

Hatt
Posts: 1
Joined: Fri Dec 25, 2020 6:45 pm

Re: RPi Cam Web Interface

Fri Dec 25, 2020 6:50 pm

Hello, I went through all of the steps, but when I try to see the camera feed or do anything on the web server, nothing works. Where the camera feed should be, there is a flickering image icon. Any ideas?

BETLOG
Posts: 7
Joined: Wed Apr 13, 2016 1:03 pm

Re: RPi Cam Web Interface

Sat Dec 26, 2020 8:51 am

211 pages of misc talk... so I'll just ask then:

I'd like to change the filenames.

Will I break anything internally if I edit:
/var/www/html/uconfig

with something like:
image_path /var/www/html/media/%Y-%M-%D--%h-%m-%s.jpg
lapse_path /var/www/html/media/%Y-%M-%D--%h-%m-%s.%u.jpg #note the additional %u
video_path /var/www/html/media/%Y-%M-%D--%h-%m-%s.mp4

Also:
annotation Cam1 %Y-%M-%D--%h-%m-%s
contains a camera name
is there a %variable substitution for this? I'd like to prepend it to my filenames.
ie:
%CAMERANAME_%Y-%M-%D--%h-%m-%s.*

ras07
Posts: 123
Joined: Tue May 22, 2018 4:04 am

Re: RPi Cam Web Interface

Mon Dec 28, 2020 6:22 am

Hatt wrote:
Fri Dec 25, 2020 6:50 pm
Hello, I went through all of the steps, but when I try to see the camera feed or do anything on the web server, nothing works. Where the camera feed should be, there is a flickering image icon. Any ideas?
Sounds like the camera might not be running - try executing ~/RPi_Cam_Web_Interface/start.sh

CharLee
Posts: 6
Joined: Wed Oct 14, 2020 9:34 pm

Re: RPi Cam Web Interface

Mon Jan 04, 2021 9:18 pm

bing14 wrote:
Mon Dec 14, 2020 1:33 pm
CharLee wrote:
Tue Dec 08, 2020 11:56 pm
Hello!

I am currently trying to embed this web interface inside a code environment (namely, a Jupyter notebook), and I was wondering how I can go through that process?

My initial thoughts are that I can try wrapping the localhost server inside an iframe, but that seems to not embed the features well in Jupyter. Any suggestions would be welcome!
What browser are you using? I had the same kind of problem in jupyter with another library and it turned out firefox worked & chrome didn't. Perhaps worth a try.
Late to see this but I was indeed using Firefox so perhaps that was the issue. Any ideas about why that might be the case?

user12345
Posts: 128
Joined: Mon Dec 22, 2014 7:06 pm

Re: RPi Cam Web Interface

Wed Jan 20, 2021 9:03 am

Has someone managed a workaround for snow or rain?
If i increase Threshold to about 900, then %c goes up to about 1900. No way to stop detection.
Changing Noise level to 1020,1030,1050,1100... dont help.
Its impossible to stop capturing Video cause on motion detection the Button is always ghosted.

Return to “Camera board”