Comments (27)
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.
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.
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.
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.
The issues seem to only happen in daytime mode. I'll have to wait until tomorrow to troubleshoot more. Thanks Thomas!
from allsky.
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.
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.
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.
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.
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.
Fireballs I've caught since launching this thing: http://www.rankinstudio.com/Fireball_Detections
from allsky.
Wow, that one from November 11th of last year was a pretty big one.
from allsky.
Yeah, that's the largest one I've caught to date.
from allsky.
from allsky.
8 sec with the stock lens.
Just hosed my ASI120MM usb2 after attempting another FW update. Ordered the ASI120MC-S.
from allsky.
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.
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.
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.
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.
from allsky.
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.
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.
from allsky.
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.
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.
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.
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)
- Fix locales
- Upload issues HOT 7
- Feature Request: SQM Analysis HOT 2
- [BUG] MQTT as part of module "Clear Sky Alarm" protocol error with Mosquitto MQTT in home assistant HOT 3
- sunset data is 3 days old: PWD: Operation not supported HOT 2
- CSRF updates
- [ENHANCEMENT] Check for more days of images than "Days to Keep"
- Help with wew heater status under System information
- [enhancement] install.sh should only look back two major releases
- Image meta data
- [BUG] "allsky.sh --help" doesn't work
- [BUG] Some floating point settings can be converted to integers before being passed to the capture program HOT 1
- [ENHANCEMENT] Use RPi_cameraInfo.txt file at runtime
- Is there a setting for Live Image sizing??
- [BUG] Check for 0-length module files
- [ENHANCEMENT] Additions to checkAllsky.sh
- Error ZWO ASI385MC HOT 13
- System Messages 'capture program stopped' (every morning) HOT 10
- [BUG] ZWO 676MC Not supported during install HOT 1
- [ENHANCEMENT] Allow startrails and keogram images to be stretched
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from allsky.