theta-api-specs icon indicating copy to clipboard operation
theta-api-specs copied to clipboard

time sync

Open femust-fieldai opened this issue 2 years ago • 4 comments

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

femust-fieldai avatar Aug 15 '23 00:08 femust-fieldai

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

codetricity avatar Aug 15 '23 00:08 codetricity

what's getOption?

femust-fieldai avatar Aug 15 '23 01:08 femust-fieldai

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 avatar Aug 15 '23 08:08 DaisukeHohjoh

@femust-fieldai - Did you solve the issue ?

DaisukeHohjoh avatar Aug 22 '23 01:08 DaisukeHohjoh

Dear @femust-fieldai ,

As there hasn't been any activity on this issue for a prolonged period, we will be closing it for now. Should you have further questions or if the issue persists, please don't hesitate to reopen or comment.

Best Regards, Daisuke Hohjoh

DaisukeHohjoh avatar Apr 12 '25 08:04 DaisukeHohjoh