AllskyTeam / allsky

A Raspberry Pi operated Wireless Allsky Camera
MIT License
1.15k stars 180 forks source link

Focus #334

Closed eat-sleep-code closed 3 years ago

eat-sleep-code commented 3 years ago

What is the best way to set focus of the camera, as the live view isn't really "live" -- but delayed by 30seconds in the day and exposure time in the night.

I am running an HQ Camera with this lens.

acidreign666 commented 3 years ago

I hooked my camera up to a windows running firecapture to get a live view and histogram for focusing.

bleara commented 3 years ago

If you are able to connect an HDMI screen then you can stop the allsky service and run "raspivid -t 0" while you adjust focus. Ctrl-C to stop.

eat-sleep-code commented 3 years ago

I attempted to respond to this last week, but apparently it was when Github was having some outages.

I unfortunately will not be able to connect to an HDMI output once the camera is in place.

mcdoogs commented 3 years ago

You've probably already found a way, but in case anyone else is having the same issue - I used the script at https://picamera.readthedocs.io/en/release-1.13/recipes2.html#web-streaming This just hosts a simple page with a live view of the camera. Also a good way to make sure the camera and everything is working with as few dependencies as possible.

eat-sleep-code commented 3 years ago

I recently wrote another similar program for another project and will end up using it to assist with focusing the AllSky camera: https://github.com/eat-sleep-code/camera.remote