Ask a Question
GoPro Support Hub Ask a question. Share an answer. Find a solution. Stay stoked.
Announcements
Is your GoPro gear up to date? Check to see If it is on our Update page.
GoPro Labs
Reply
Adventurer
Posts: 13,697

Re: Different cmaera modes

[ New ]

you want photo mode then night photo only and what interval?

Hiker
Posts: 24

Re: Different cmaera modes

[ New ]

2 minutes between photos

Hiker
Posts: 24

Re: Different cmaera modes

[ New ]

Just running throught the issue in my head & using the code you came up with this could work !22:30NmNL!S!18000E~!06:30NmPfW!S!7200E!120R

 

I will run it through the camera & see what happens. 

GoPro
Posts: 916

Re: Different cmaera modes

[ New ]

Restating the need

 

1. Camera takes multiple photos in night photo mode at 11:30, shots a photo every 120 seconds

2. Camera turns off after 02:30.

3. Camera turns back on at 06:30, shots a photo every 120 seconds

4. Camera turns back off at 08:30,

5. Repeat

 

!120NQmPN!S>23:30!R<02:30!R<06:30!06:30R>06:30<08:30!R~!23:30R

 

Sleep 120 seconds

set Photo Night

take Photo

if(time > 11:30pm) repeat

if(time < 2:30am) repeat

if(time < 6:30am) sleep until 6:30am and then repeat

if(time > 6:30am && time < 8:30am) repeat

else sleep until 11:30pm and then repeat.

Adventurer
Posts: 13,697

Re: Different cmaera modes

[ New ]

@0dan0 wrote:

Restating the need

 

1. Camera takes multiple photos in night photo mode at 11:30, shots a photo every 120 seconds

2. Camera turns off after 02:30.

3. Camera turns back on at 06:30, shots a photo every 120 seconds

4. Camera turns back off at 08:30,

5. Repeat

 

!120NQmPN!S>22:30!R<02:30!R<06:30!06:30R>06:30<08:30!R~!23:30R

 

Sleep 120 seconds

set Photo Night

take Photo

if(time > 11:30pm) repeat

if(time < 2:30am) repeat

if(time < 6:30am) sleep until 6:30am and then repeat

if(time > 6:30am && time < 8:30am) repeat

else sleep until 11:30pm and then repeat.


Thank you i saved this as this is a excellent example of what  was asked.    thanks

 

 

Hiker
Posts: 24

Re: Different cmaera modes

[ New ]

Thank you so much, this code looks good. I understand where I was going wrong now, the time codes have to be linked in order with no seperation and the else command is only used once at the end. Thank you to you @fishycomics  and @0dan0 for help with this.

Hiker
Posts: 24

Re: Different cmaera modes

[ New ]

I've carried out some tests and found that the camera does not got to sleep. I think there maybe an issue with this part of the command !06:30R which causes the camera to constantly repeat the prior command.

Adventurer
Posts: 13,697

Re: Different cmaera modes

[ New ]

@relaxacamc48 wrote:



I've carried out some tests and found that the camera does not got to sleep. I think there maybe an issue with this part of the command !06:30R which causes the camera to constantly repeat the prior command.

 

 


 

!120NQmPN!S>23:30!R<02:30!R<06:30!06:30R>06:30<08:30!R~!23:30R

 

any idea why there are multple times?