-
Notifications
You must be signed in to change notification settings - Fork 180
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
Camera settings not updating #43
Comments
Hey David, |
Hey Thomas, The CAMERA_SETTINGS is pointing at that file I went through and verified that when I make changes in the GUI the /var/www/html/settings.json is updating correctly. For some reason these changes just don't seem to be actually affecting the camera in any way. /var/www/html/settings.json contents: {"width":"0","height":"0","exposure":"10000","maxexposure":"20000","autoexposure":"1","gain":"50","maxgain":"200","autogain":"1","gamma":"50","brightness":"50","wbr":"53","wbb":"90","bin":"1","delay":"3000","daytimeDelay":"1000","type":"1","quality":"95","usb":"40","filename":"rankin.jpg","flip":"0","text":"","textx":"15","texty":"35","fontname":"0","fontcolor":"255 255 255","fonttype":"0","fontsize":"1","fontline":"1","latitude":"37.0N","longitude":"111.66W","angle":"-6","time":"1","darkframe":"0","showDetails":"1"} |
Can you try to reboot the Pi? |
I see you have autoexposure and autogain set both to 1. For some reason, the ZWO library doesn't seem to handle it very well and throws random results (black image sometimes but not always). |
The issues seem to only happen in daytime mode. I'll have to wait until tomorrow to troubleshoot more. Thanks Thomas! |
Ha! Let me save you some debugging trouble here: Daytime is set to always use autoexposure (deals with clouds, sun, shade, sunrise, sunset better than fixed exposure) and gain=0. |
Hey Thomas, |
Also looks like this ASi120MM is still producing scrambled images on short exposures. No work around found for this yet either? Been an issue for years. |
For the gain, you could edit line 651 in capture.cpp and replace 0 by something else... 50 for example. The problem with scrambled images is on ZWO's side. They seem to have issues with USB 2 cameras. I think that's why they don't support them with ASI Air. |
Okay, thanks on the gain tip. I'll give that a shot. I did update to the latest compatible firmware, no changes. I guess I'll just get a 224 Color. Cheers! |
Fireballs I've caught since launching this thing: http://www.rankinstudio.com/Fireball_Detections |
Wow, that one from November 11th of last year was a pretty big one. |
Yeah, that's the largest one I've caught to date. |
what exposure times are you using?
On Sun, Oct 7, 2018 at 12:24 PM -0600, "rankinstudio" <notifications@github.com<mailto:notifications@github.com>> wrote:
Yeah, that's the largest one I've caught to date.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#43 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AJs8j9UbI0-ranr5m2_twWCUEh8RImWmks5uikbrgaJpZM4XLmku>.
|
8 sec with the stock lens. Just hosed my ASI120MM usb2 after attempting another FW update. Ordered the ASI120MC-S. |
Yeah, I don't get it. Just got a brand new ASI120MC-S. Fresh install of allsky. Daytime images are still coming in way under exposed. |
It starts out over exposed, then I can see it bracket down until it thinks it's okay? The exposure is way too dark though. |
Its definitely the auto exposure failing, when I set a manual exposure and gain and set the altitude to override daytime. It works fine. |
This is also strange. I had auto exposure enabled when it switched to nighttime mode, and it started to auto expose correctly before the sun was all the way down. Must be a bug with the daytime mode auto exposure code? |
Most of the time I have to reboot after nightfall to get auto exposure to correct for night time otherwise all the images are black. Once I reboot, it takes a few subs to get a correct exposure and then its good until the next night.
[cid:image001.png@01D4619A.2C0A08E0]
Somewhat annoying if I forget.
From: rankinstudio <notifications@github.com>
Reply-To: thomasjacquin/allsky <reply@reply.github.com>
Date: Thursday, October 11, 2018 at 7:30 PM
To: thomasjacquin/allsky <allsky@noreply.github.com>
Cc: BRIAN SHEETS <scubabri@gmail.com>, Comment <comment@noreply.github.com>
Subject: Re: [thomasjacquin/allsky] Camera settings not updating (#43)
This is also strange. I had auto exposure enabled when it switched to nighttime mode, and it start to auto expose correctly. Must be a bug with the daytime mode auto exposure code?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#43 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AJs8j_e1_Ws-LtzPg0nAN143xy89vyTYks5uj_CagaJpZM4XLmku>.
|
Hey David, can you post a picture of daytime for reference? |
Brian, |
I ended up figuring that out. Now I just need to combat dew. ☺
From: Thomas Jacquin <notifications@github.com>
Reply-To: thomasjacquin/allsky <reply@reply.github.com>
Date: Friday, October 12, 2018 at 12:15 AM
To: thomasjacquin/allsky <allsky@noreply.github.com>
Cc: BRIAN SHEETS <scubabri@gmail.com>, Comment <comment@noreply.github.com>
Subject: Re: [thomasjacquin/allsky] Camera settings not updating (#43)
Brian,
I experienced the same thing when I used auto-exposure and auto-gain at the same time. Do you have both enabled by any chance? On mine, I don't use auto gain, I just set the gain somewhere around 250 and enable auto-exposure. It gives good results from dawn to dusk.
Thomas
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#43 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AJs8j1oRKStBo7WpV1NZaFURQheo_QeQks5ukDNrgaJpZM4XLmku>.
|
Thomas, when I say under exposed, I mean almost black. It is completely under exposed. It was that way just a few minutes ago. I changed the settings to 50 deg above horizon for recording to force capture during daytime (put it into nighttime mode) and it works perfectly with auto exposure on, and auto gain off. http://rankinstudio.com/dnloads/morning.JPG. There has to be a bug. When night mode is off, the camera only takes .0064ms exposures at gain 0. It doesn't change the exposure time at all. |
Hmm, well that's really strange. Can you post your |
Okay, I think this is resolved. I had auto exposure off, assuming it would kick on during the day? It seems if I just leave auto exposure on, things are okay. Cheers! |
Glad to hear that. |
Hey man, love the new features.
I installed the GUI option. Everything seems to be working, but the camera won't actually change exposure settings.
No matter what settings I choose, the gain is always 0 and the exposure is always .064ms.
Any ideas on this?
RP3 with ASI120MM
Thanks!
The text was updated successfully, but these errors were encountered: