Giter VIP home page Giter VIP logo

Comments (27)

thomasjacquin avatar thomasjacquin commented on September 6, 2024

Hey David,
What do you have in config.json for the variable CAMERA_SETTINGS?
I should be pointing at /var/www/html/settings.json
Can you also show me the content of /var/www/html/settings.json or just a screenshot of the settings page on the GUI.
Thanks

from allsky.

rankinstudio avatar rankinstudio commented on September 6, 2024

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"}

from allsky.

thomasjacquin avatar thomasjacquin commented on September 6, 2024

Can you try to reboot the Pi?
Alternatively, can you try sudo service allsky restart ?
Also, just to be sure, make sure that the allsky entry got deleted in /home/pi/.config/lxsession/LXDE-pi/autostart

from allsky.

thomasjacquin avatar thomasjacquin commented on September 6, 2024

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).

from allsky.

rankinstudio avatar rankinstudio commented on September 6, 2024

The issues seem to only happen in daytime mode. I'll have to wait until tomorrow to troubleshoot more. Thanks Thomas!

from allsky.

thomasjacquin avatar thomasjacquin commented on September 6, 2024

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.
When night time begins, it uses the settings you specified in the Camera settings tab of the GUI.
Night times is controlled by the angle of the sun below the horizon (default -6 degrees). You can change it to start capturing earlier or later.

from allsky.

rankinstudio avatar rankinstudio commented on September 6, 2024

Hey Thomas,
The issue is that my daytime images are under-exposing, especially with cloud cover. Is there a way to get the daytime gain higher?

from allsky.

rankinstudio avatar rankinstudio commented on September 6, 2024

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.

http://www.rankinstudio.com/dnloads/Scramble.JPG

from allsky.

thomasjacquin avatar thomasjacquin commented on September 6, 2024

For the gain, you could edit line 651 in capture.cpp and replace 0 by something else... 50 for example.
Save the file and run make capture to recompile the binary and sudo service allsky restart to restart the service.

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.
Did you upgrade the camera firmware?

from allsky.

rankinstudio avatar rankinstudio commented on September 6, 2024

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!

from allsky.

rankinstudio avatar rankinstudio commented on September 6, 2024

Fireballs I've caught since launching this thing: http://www.rankinstudio.com/Fireball_Detections

from allsky.

thomasjacquin avatar thomasjacquin commented on September 6, 2024

Wow, that one from November 11th of last year was a pretty big one.

from allsky.

rankinstudio avatar rankinstudio commented on September 6, 2024

Yeah, that's the largest one I've caught to date.

from allsky.

scubabri avatar scubabri commented on September 6, 2024

from allsky.

rankinstudio avatar rankinstudio commented on September 6, 2024

8 sec with the stock lens.

Just hosed my ASI120MM usb2 after attempting another FW update. Ordered the ASI120MC-S.

from allsky.

rankinstudio avatar rankinstudio commented on September 6, 2024

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.

from allsky.

rankinstudio avatar rankinstudio commented on September 6, 2024

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.

from allsky.

rankinstudio avatar rankinstudio commented on September 6, 2024

Its definitely the auto exposure failing, when I set a manual exposure and gain and set the altitude to override daytime. It works fine.

from allsky.

rankinstudio avatar rankinstudio commented on September 6, 2024

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?

from allsky.

scubabri avatar scubabri commented on September 6, 2024

from allsky.

thomasjacquin avatar thomasjacquin commented on September 6, 2024

Hey David, can you post a picture of daytime for reference?
Also, are you using autoexposure as well as autogain? Theses 2 options don't seem to play together very well. I assume this is an issue on the ZWO libraries regarding which option gets precedence.
I will review the daytime loop code to see if there could be a bug in it. FYI, on my allsky, daytime exposure seems correct; a bit dark when it's cloudy but properly exposed on blue sky.
Thomas

from allsky.

thomasjacquin avatar thomasjacquin commented on September 6, 2024

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

from allsky.

scubabri avatar scubabri commented on September 6, 2024

from allsky.

rankinstudio avatar rankinstudio commented on September 6, 2024

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.

from allsky.

thomasjacquin avatar thomasjacquin commented on September 6, 2024

Hmm, well that's really strange. Can you post your /var/www/html/settings.json? I'll use your settings and see what happens on my side.

from allsky.

rankinstudio avatar rankinstudio commented on September 6, 2024

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!

from allsky.

thomasjacquin avatar thomasjacquin commented on September 6, 2024

Glad to hear that.
It SHOULD kick off during the day regardless of the auto-exposure setting. If it doesn't then it's a bug. I'll take a look at it. Thanks for reporting it.

from allsky.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.