Closed bbillp closed 3 years ago
Update to my posting 2021-07-10 10PM settings_ZWO.json definetaly loads and runs . Verified by changing the Gain Entry to Different values then displaying log.txt.
Looking at the captured image the configured TEXT entry 'ZWO-1' does not display. The exposure interval never changes from .006 Seconds
It looks like the program is not reading the settings file correctly or settings_ZWO.json is corrupted in the down load.
The Hardware is fine, I Removed the SD card with the new version and re-installed the SD with the 2year old version and everything works fine.
Updated my old Allsky which operated perfect, perfect exposures with ZWO ASI178MC. After the ALLSKY update last night and entering old json settings in the new Settings_ZWO . json Reboot Night time Images are VERY dark
sudo service allsky status show ZWO is detected
What changed to make my images very dark ?
ZWO ASI -178mc settings_ZWO.json contents
{ "width":"0", "height":"0", "exposure":"10000", "maxexposure":"20000", "autoexposure":"1", "gain":"195", "maxgain":"200", "autogain":"0", "coolerEnabled":"0", "targetTemp":"0", "gamma":"50", "brightness":"60", "wbr":"53", "wbb":"90", "bin":"1", "delay":"5000", "daytimeDelay": "5000", "type":"1", "quality":"95", "usb":"40", "filename":"image.jpg", "flip":"0", "text":"ALLSKY-ZWO", "textx":"15", "texty":"50", "fontname":"0", "fontcolor":"255 255 255", "smallfontcolor":"0 0 255", "fonttype":"0", "fontsize":"1.5", "fontline":"2", "outlinefont":"0", "latitude":"33.5N", "longitude":"118.1W", "angle":"-6", "time":"1", "darkframe":"0", "showDetails":"1" }
CONFIG.SH
!/bin/bash
Choose between ZWO or RPiHQ or auto (prefers ZWO if present)
CAMERA="ZWO"
Set to true to upload current image to your website
UPLOAD_IMG=false
Set to true to upload timelapse video to your website at the end of each night
UPLOAD_VIDEO=false
Set to true to send data to your server at the end of each night
POST_END_OF_NIGHT_DATA=false
Set to true to generate a timelapse at the end of the night
TIMELAPSE=true
Set the width and height parameter for timelapse generation (sizes must be divisible by 2)
TIMELAPSEWIDTH=1024 TIMELAPSEHEIGHT=800
Timelapse frame rate (number of frames per second)
FPS=2
Set to true to generate a keogram at the end of the night (image summary of the night)
KEOGRAM=true
Set to true to upload the keogram after it has been generated
UPLOAD_KEOGRAM=false
Set to true to generate a startrails image of the night. Will skip brighter images to avoid over-exposure
STARTRAILS=true
Images with a brightness higher than the threshold will be skipped for startrails image generation
BRIGHTNESS_THRESHOLD=0.1
Set to true to upload the startrails after it has been generated
UPLOAD_STARTRAILS=false
Set to true to enable automatic deletion of archived data (images + videos)
AUTO_DELETE=true
Set this value to the number of archived nights you want to keep. Needs AUTO_DELETE=true to work
NIGHTS_TO_KEEP=14
Set to true if you want to enable dark frame subtraction on your night time images
DARK_FRAME_SUBTRACTION=true
Set to 0 to disable Daytime Capture
DAYTIME="1"
Set 24Hr capture to true to save both night and day images to disk. By default, only night images are saved.
CAPTURE_24HR=false
Resize images before cropping and saving. Adjust width and height according to your own sensor ratio
IMG_RESIZE=false IMG_HEIGHT=1520 IMG_WIDTH=2028
Crop the captured image, used to improve the images when using a fisheye lens
CROP_IMAGE=false CROP_WIDTH=640 CROP_HEIGHT=480 CROP_OFFSET_X=0 CROP_OFFSET_Y=0
Auto stretch images saved at night
AUTO_STRETCH=false AUTO_STRETCH_AMOUNT=10 AUTO_STRETCH_MID_POINT=10%
Path to the camera settings (exposure, gain, delay, overlay, etc)
CAMERA_SETTINGS_DIR="$ALLSKY_HOME"
if [[ $CAMERA -eq "auto" ]]; then
restore currently saved autodiscovered camera mode if any
source "$ALLSKY_HOME/autocam.sh" fi CAMERA_SETTINGS="$CAMERA_SETTINGSDIR/settings$CAMERA.json"