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

time sync #24

Open
femust-fieldai opened this issue Aug 15, 2023 · 4 comments
Open

time sync #24

femust-fieldai opened this issue Aug 15, 2023 · 4 comments

Comments

@femust-fieldai
Copy link

Hey, thanks for nice api, one question. why if i setup

theta "--set-property=0x5011 --val=20210814T000000"

my camera ricoh theta z1 doesn't react and show a random hour, the day is kinda fine, but +9h

@codetricity
Copy link

I don't work for RICOH. I'm just a guy with a camera. The format of the date may be different. try run a getOption to see what the format is on the Z1.

try run ptpcam --show-property=0x5011

If you have reset the camera, the datetime, will go back to the original date from the factory.

Try running dateTimeZone as a single option. There was a problem reported with the webAPI in the community a few years ago when multiple options were combined with dateTimeZone.

https://community.theta360.guide/t/how-setup-datetime-on-theta-camera-using-web-api/6572/3?u=craig

@femust-fieldai
Copy link
Author

what's getOption?

@DaisukeHohjoh
Copy link
Contributor

DaisukeHohjoh commented Aug 15, 2023

Hi,

I tested with gphoto2 library, and works fine for THETA Z1.

% gphoto2 --set-config 5011=20210814T000000
% gphoto2 --get-config 5011
Current: 20210814T000002-0000

If you want to set timezone setting (e.g. +01:00) as well, you can set the value like 20210814T000000+0100.
https://github.com/ricohapi/theta-api-specs/blob/main/theta-usb-api/property/date_time.md

Best regards,
Daisuke Hohjoh

@DaisukeHohjoh
Copy link
Contributor

@femust-fieldai - Did you solve the issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants